CLR RichText sample updated

Started by stanl, April 16, 2014, 05:36:39 AM

Previous topic - Next topic

stanl

Script now includes code based on previous thread which addressed running C# code In-Memory. Credit, of course, to Deana and Tony.  Basically, a backcolor value can be assigned to controls on the form and the form background itself. Colors are set by the FromArgb() method, but the C# snippet can probably be modified to accept predefined names, i.e. "Sienna".

stanl

Sample RTF now calls C# code compiled as .dll and in addition to the a,r,g,b parameters, backcolor now accepts a name. Script, dll, and code (as text file) attached.