Welcome!. APPX Conference 2013. Agenda – Thursday AM Using Table Widgets Drag & Drop HTML Editor/Viewer Web Services New GUI Events Other useful API’s. Welcome!. True scrolling table User can sort/rearrange/resize (process) Based on new process type “Table Resource” Has a PCF
APPX Conference 2013
Agenda – Thursday AM
Using Table Widgets
Drag & Drop
New GUI Events
Other useful API’s
True scrolling table
User can sort/rearrange/resize (process)
Based on new process type “Table Resource”
Has a PCF
Has SOP, EOP, Post PCF Read EP
Seq No controls initial order of columns
Width controls initial width, can also mask data
Uses Col Headings in DD for table headings
Paint on image using new tool.
Displays pseudo text
Can set font size, type, colour, background colour
Widget scrolls horizontally/vertically
Can have multiple table widgets at once
Can set options for single click/double click
Can determine which row(s) the user selected
Can retrieve the PCF key of the selected row(s)
Use --- INCLUDE/SELECT RECORD to include or pre-select a record/row.
Tables are reloaded after Pre-Display Event Point executes.
Can control via --- WIDGET RELOAD DATASRC field and --- .WIDGET RELOAD DATASRC API.
Read only, change/add/delete not allowed
Performance, ie, may be too slow to load with 10,000 records. Use memory file instead.
We can designate certain widget types as ‘drop’ targets.
Allows user to drag and drop a file, folder or Email (Outlook, Thunderbird supported)
Drop spec allows File, Folder, Tree, Any
User can drag object over drop area, target is highlighted to indicate drop allowed.
If not valid, message ‘No Valid Items Dropped’
--- OPTION is set to DROP, and files DROPINFO and DROPPROP populated.
If Email dropped, email is copied to ‘dropCachePath’ location. Designer responsibility to manage them.
There are 5 new widget types for TEXT fields:
WEB BROWSER – full featured web browser
CODE VIEWER – display code with highlights
HTML EDITOR – display/edit HTML
FLASH PLAYER – play Flash Files
MEDIA PLAYER – play supported media files
Web Browser has option to show ‘decorations’ or not.
HTML editor can enter/save text in HTML format. Can be displayed via HTML Viewer control.
Editor can be customized
To play Flash files, Flash must be installed on desktop
To play media files on non Windows desktops requires VLC from http://www.videolan.org/vlc
A new feature of the .STREAM routines is the ability to open a URL as a file.
Pass the URL as file name, then you can read the results using .STREAM READ
There are free web services at http://www.webservicex.net/ws/wscatlist.aspx
Your process can be notified when the user Tabs into, Tabs out of, or changes a value.
Allows screens to be much more interactive.
Set on a field by field basis
--- OPTION is set to TAB IN, TAB OUT, or VALUE CHANGED
--- CURSOR AT FIELD contains the field name.
Only Option Intercept is executed (unless you change the value of --- OPTION).
VALUE CHANGED triggered when user Tabs out or timer expires (valueChangedTimer)
One keystroke could trigger all three events.
Late breaking features in 5.2.2
New values for --- OPTION
New Resource type - FONT