|
META TOPICPARENT |
name="520NewTextWidgets" |
Code Viewer Widget |
|
Use the Image Editor to add a text field to your image and resize it to be the size that you would like for your Code Viewer Widget. Then edit the GUI Attributes of the field and select "CODE VIEWER" as the control. |
|
< < | At runtime you can also set --- WIDGET CONTENT TYPE to indicate the type of code (javascript, PHP, etc). |
| At runtime, you can dynamically set the type of source code which is being displayed by setting the WIDGET CONTENT TYPE field in the WIDGET record to the appropriate value. Supported values are:
CPP CSHARP CSS DELPHI HTML JAVA JSCRIPT PHP PYTHON RUBY SQL VB XML |
|
> > |
Runtime Usage:
At runtime, the contents of the field will be displayed as formatted source code with appropriate highlighting. The field is non-modifiable.
|
| Comments:
Read what other users have said about this page or add your own comments. |