New VBA Extensions
New Application Extensions
- App.Display - Sets and returns the active display name
- App.Name - Returns the name of an application
- App.PageCount - Returns the total number of pages used in an application.
- App.PageNo - Returns the page number of the active page.
- App.PromptNo - returns the prompt number for the specified prompt.
- App.SetFocus - Accepts the prompt name or tab number similar to how this was done in RFgen 5.1
- App.Theme - Used to switch to another theme from current theme (i.e. Warning theme on Warning message)
- App.UserRoles - Assign role name to an application to limit user access to users who do not have role assign to their profiles.
New Class of Extension
MQTT - create and manage a connection between a device and a MQTT server using the Message Queueing Telemetry Transport protocol.
New Prompt Extension
BackColor - background color of an object
BackColorEx -secondary background color of an object
InputState - controls whether the prompt allows Normal input or prevent input and is ReadOnly, or is Disabled (not used)
MaskInput - uses asterisks in place of character entries for items like passwords
ShowHeading - displays the heading of a prompt / control.
Theme - selects from factory-provided theme
TabNo - returns the prompt's tab number
New Methods
Advance - Used in Form.Advance to advance the cursor/prompt to the next control's tab number, and is executed as if the user pressed “Enter”.
Backup - Used in Form. Backup to back the cursor/prompt up to the previous control's tab number. This is executed as if the user pressed the “up” arrow key.
MonitorKeys - If you define an OnKeyDown event for a prompt in v5.2 the default behavior is to return any key pressed for processing at the scripting level. This method allows you to narrow down the scope of keys requested to improve performance.
Button or Label Prompt Extensions
BackColor, BackColorEx, Bevel, BorderColor, DropShadow, Format, Options (sets lines of text as SingleLine, MultiLine, or VerticalText), Theme (selects from factory-provided theme), Transparency, Visible (set to True/False), and WrapText (allow the text to wrap)
Column Extensions
Name - add name to column header
Device Extensions
Device.SetUSB - sets up the USB comm port on Android and peripheral device connected to Android device.
Device.SendUSB - sends packet to device via the USB connection. Used for printing from Android.
Device.ShowConfig -displays the configuration of your device
Device.FileExits - determine if a particular file exists on the target.
Device.WriteFileTimeout. - sets the timeout period when writing to a file that is large.
Device.Vibrate - vibrate Android or iOS device
Dynamic Array / List Prompt Extensions
SortColumn - set this as varient or as Long
SortMode - sorts values as SortAscending or SortDescending
SortNum
Image Extensions
Align
Layout Extension
Column
Row
Layout Item Extension
MaxSize
MinSize
Size
SizeMode
MenuStrip Extensions (used for the SideBar)
Added and enumerated values to AppendItem.
Printer Extensions
Printer.SubmitPrintJob - Submit a print job (i.e. print barcodes/labels) to a networked printer. Enables direct printing via TCP .
Server Extensions
Added Server.IsAuthorized and Server.Authorize to selectively install certificates to devices intended to run in batch / offline mode.