Presentation is loading. Please wait.

Presentation is loading. Please wait.

Welcome! Welcome! Agenda – Thursday AM  Using Table Widgets  Drag & Drop  HTML Editor/Viewer  Web Services  New GUI Events  Other useful API’s.

Similar presentations


Presentation on theme: "Welcome! Welcome! Agenda – Thursday AM  Using Table Widgets  Drag & Drop  HTML Editor/Viewer  Web Services  New GUI Events  Other useful API’s."— Presentation transcript:

1

2 Welcome! Welcome! Agenda – Thursday AM  Using Table Widgets  Drag & Drop  HTML Editor/Viewer  Web Services  New GUI Events  Other useful API’s

3 Using Table Widgets  True scrolling table  User can sort/rearrange/resize (process)  Based on new process type “Table Resource” Has a PCF Has a PCF Has SOP, EOP, Post PCF Read EP Has SOP, EOP, Post PCF Read EP Seq No controls initial order of columns Seq No controls initial order of columns Width controls initial width, can also mask data Width controls initial width, can also mask data

4 Using Table Widgets Uses Col Headings in DD for table headings Uses Col Headings in DD for table headings  Paint on image using new tool. Displays pseudo text Displays pseudo text Can set font size, type, colour, background colour Can set font size, type, colour, background colour Widget scrolls horizontally/vertically Widget scrolls horizontally/vertically

5 Using Table Widgets  At Runtime: Can have multiple table widgets at once Can have multiple table widgets at once Can set options for single click/double click Can set options for single click/double click Can determine which row(s) the user selected Can determine which row(s) the user selected Can retrieve the PCF key of the selected row(s) Can retrieve the PCF key of the selected row(s) Use --- INCLUDE/SELECT RECORD to include or pre-select a record/row. Use --- INCLUDE/SELECT RECORD to include or pre-select a record/row.

6 Using Table Widgets  At Runtime: Tables are reloaded after Pre-Display Event Point executes. Tables are reloaded after Pre-Display Event Point executes. Can control via --- WIDGET RELOAD DATASRC field and ---.WIDGET RELOAD DATASRC API. Can control via --- WIDGET RELOAD DATASRC field and ---.WIDGET RELOAD DATASRC API.

7 Using Table Widgets  Limitations: Read only, change/add/delete not allowed Read only, change/add/delete not allowed Performance, ie, may be too slow to load with 10,000 records. Use memory file instead. Performance, ie, may be too slow to load with 10,000 records. Use memory file instead. Data sharing is one way (implied Separate Task flag) Data sharing is one way (implied Separate Task flag) Currently can’t mask numeric fields Currently can’t mask numeric fields

8 Drag & Drop  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

9 Drag & Drop  At Runtime: User can drag object over drop area, target is highlighted to indicate drop allowed. User can drag object over drop area, target is highlighted to indicate drop allowed. If not valid, message ‘No Valid Items Dropped’ If not valid, message ‘No Valid Items Dropped’ --- OPTION is set to DROP, and files DROPINFO and DROPPROP populated. --- 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. If Email dropped, email is copied to ‘dropCachePath’ location. Designer responsibility to manage them.

10 New Widget Types  There are 5 new widget types for TEXT fields: WEB BROWSER – full featured web browser WEB BROWSER – full featured web browser CODE VIEWER – display code with highlights CODE VIEWER – display code with highlights HTML EDITOR – display/edit HTML HTML EDITOR – display/edit HTML FLASH PLAYER – play Flash Files FLASH PLAYER – play Flash Files MEDIA PLAYER – play supported media files MEDIA PLAYER – play supported media files

11 New Widget Types  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 Editor can be customized  To play Flash files, Flash must be installed on desktop

12 New Widget Types  To play media files on non Windows desktops requires VLC from http://www.videolan.org/vlc http://www.videolan.org/vlc

13 Using Web Services  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.as px http://www.webservicex.net/ws/wscatlist.as px http://www.webservicex.net/ws/wscatlist.as px

14 New GUI Events  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

15 New GUI Events  --- 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.

16 Mystery/Bonus Topics  Using Table Widgets and API to generate code, we can finally write a good general purpose import!  New values for --- OPTION RESCROLL RESCROLL KEY ENTRY KEY ENTRY LOGOUT LOGOUT

17 Mystery/Bonus Topics  New Appx Environment Variables. APPX_SMART_ILF APPX_SMART_ILF APPX_WARN_REG_DAYS APPX_WARN_REG_DAYS  New Resource Type ‘FONT’ Replaces ‘ROLLOVER SELECTED’ for custom fonts. Replaces ‘ROLLOVER SELECTED’ for custom fonts.


Download ppt "Welcome! Welcome! Agenda – Thursday AM  Using Table Widgets  Drag & Drop  HTML Editor/Viewer  Web Services  New GUI Events  Other useful API’s."

Similar presentations


Ads by Google