Tags:
create new tag
view all tags

Code Viewer Widget

A Code Viewer Widget has been implemented in APPX 5.2.0.

Overview:

The Code Viewer Widget can be used to display various types of source code in an APPX text field. The text field should contain the source code to display.

Design Usage:

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 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.


-- SteveFrizzell - 2012-11-08

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-11-09 - SteveFrizzell
 
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