|

Script


(string) The script to assign to the specified page's event.


image

Note: The script specified in this argument will replace any script existing in the event. If you want to append to the event (instead of replacing the script), you must first perform an Application.GetPageScript action.


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

Application.SetRedraw

OverviewExamples

Application.SetRedraw ( boolean Redraw = true )


De s cr ip t ion


Controls the redrawing of all objects in the application. This action is useful if you are performing a series of actions that cause redrawing on the page. Using this action, you can force all changes to appear at once rather than having the page redraw itself multiple times.


P arame t er s


Redraw


(boolean) Whether to make the application redraw objects in the application:



VALUE DESCRIPTION


true


Redraw objects. (Default)


false


Don't redraw objects.


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

Application.SetSysTrayIcon

OverviewExamples

boolean Application.SetSysTrayIcon ( string IconPath,


number IconIndex = 0 )


De s cr ip t ion


Sets the application's system tray icon using an icon file or executable, or reverts back to the original application icon.


image

Note: This action requires that you specify that the application contains a system tray icon. This setting can be configured on the Appearance tab of Project > Settings in the Taskbar area.


P arame t er s


IconPath


(string) The full path to a file containing the icon you want to use. The most common types are icon files (.ico) and executables (.exe). If no icon path is specified, the system tray icon will revert back to its original application icon.


|