Difference: 520CodeViewerWidget (2 vs. 3)

Revision 32012-11-09 - SteveFrizzell

Line: 1 to 1
 
META TOPICPARENT name="520NewTextWidgets"

Code Viewer Widget

Line: 10 to 10
  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.
Deleted:
<
<
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

Added:
>
>

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.

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback