Global

The Global object is a static object that can not be instantiated.

All its functions and constants are global and can be called everywhere without specifying the object name.

Functions

DebugClearClears the Debug Window.
DebugInfoAdds a text line to the Debug Window.
DecodeChars
EnableApplicationLoopAllows to create real time applications with an infinite loop.
EncodeChars
Flag
FlagAdd
FlagSub
FlagToggle
FloatToIntConverts a float to an integer.
FloatToStrConverts a float to a string.
FormatFloatFormats a float value as a string by using the current regional settings of the operating system.
FormatIntFormats an integer value as a string by using the current regional settings of the operating system.
GetApplicationDllRetrieves the DLL pathname if the application is a DLL file.
GetApplicationExeRetrieves the EXE pathname if the application is an executable file.
GetApplicationFolderRetrieves the full pathname of the application folder.
GetApplicationShowRetrieves the visibility mode of the main window that should be set at start.
GetArgumentRetrieves the specified argument of the application command line.
GetArgumentCountRetrieves the number of arguments of the application command line.
GetIDRetrieves the constant value of the specified ID.
GetObjectRefRetrieves the integer value of the instance reference.
GetObjectTypeIDRetrieves the ID of the object type (Integer.ID, Table.ID, Mouse.ID...).
GetObjectValueRetrieves the private value of the specified instance.
IntToFloatConverts an integer to a float.
IntToStrConverts an integer to a string.
IsSystemObjectAllows to know if the specified object is a system or user object.
Md5Calculates the MD5 value of the string.
MessageBoxShows a standard message box.
NewFromIDAllows to create new instances by using the ID of the object.
QuitApplicationStops the application immediately and terminates the process.
SetObjectValueChanges the private value of the specified instance.
SetRegionalFormatChanges the regional settings.
Sha1Calculates the SHA-1 value of the string.
SleepPauses the program with a C++ while loop.
StrToFloatConverts a string to a float.
StrToIntConverts a string to an integer.
ToARGBRetrieves the value of the specified ARGB color.
ToRGBRetrieves the value of the specified RGB color.
ToYUVRetrieves the value of the specified YUV color.

Events

The Global object has no events.

Constants

ALIGN_BOTTOM
ALIGN_CENTER
ALIGN_LEFT
ALIGN_MIDDLE
ALIGN_RIGHT
ALIGN_TOP
AUTOSIZE_BOTTOMMove control to bottom when the dialog is resizing.
AUTOSIZE_CENTERCenter control horizontaly when the dialog is resizing.
AUTOSIZE_HALFAUTOSIZE_HALFHORZ | AUTOSIZE_HALFVERT
AUTOSIZE_HALFHORZDivide by 2 the width or horizontal position of the control when the dialog is resizing.
This one must be combinated with AUTOSIZE_CENTER, AUTOSIZE_RIGHT or AUTOSIZE_WIDTH.
AUTOSIZE_HALFVERTDivide by 2 the height or vertical position of the control when the dialog is resizing.
This one must be combinated with AUTOSIZE_MIDDLE, AUTOSIZE_BOTTOM or AUTOSIZE_HEIGHT.
AUTOSIZE_HEIGHTResize control verticaly when the dialog is resizing.
AUTOSIZE_MIDDLECenter control verticaly when the dialog is resizing.
AUTOSIZE_NONEDo not resize and move control when the dialog is resizing.
AUTOSIZE_RIGHTMove control to right when the dialog is resizing.
AUTOSIZE_SIZEAUTOSIZE_WIDTH | AUTOSIZE_HEIGHT
AUTOSIZE_WIDTHResize control horizontaly when the dialog is resizing.
BTN_LCLICKLeft click (down+up).
BTN_LDBCLICKLeft double click.
BTN_LDOWNLeft button down.
BTN_LUPLeft button up.
BTN_MCLICKMiddle click (down+up).
BTN_MDBCLICKMiddle double click.
BTN_MDOWNMiddle button down.
BTN_MUPMiddle button up.
BTN_RCLICKRight click (down+up)
BTN_RDBCLICKRight double click.
BTN_RDOWNRight button down.
BTN_RUPRight button up.
CANCELIts value is always -1. This constant is used when an event needs to return OK or CANCEL.
CMP_DESCENDINGDescending sort of the reference values for comparison tests.
You must implement it in your code (Array.OnCompare).
CMP_INSENSITIVEDescending sort of the reference values for comparison tests.
You must implement it in your code (Array.OnCompare).
CMP_SAMETYPESame type of references for comparison tests.
You must implement it in your code (Array.OnCompare).
CS_UTF8UTF8 Charset
DRAW_BOTTOMCENTERDrawing an image at the bottom center without resizing it.
It can not be combinated with other constants.
DRAW_BOTTOMLEFTDrawing an image at the bottom left corner without resizing it.
It can not be combinated with other constants.
DRAW_BOTTOMRIGHTDrawing an image at the bottom right corner without resizing it.
It can not be combinated with other constants.
DRAW_CENTERDrawing an image at the center horizontaly and verticaly without resizing it.
It can not be combinated with other constants.
DRAW_FITDrawing an image (the image is resizing with original ratio but not enlarged).
It can not be combinated with other constants.
DRAW_FITZOOM
DRAW_MIDDLELEFTDrawing an image at the middle left without resizing it.
It can not be combinated with other constants.
DRAW_MIDDLERIGHTDrawing an image at the middle right without resizing it.
It can not be combinated with other constants.
DRAW_STRETCHDrawing an image using stretching method (the image is resizing without keeping ratio).
It can not be combinated with other constants.
DRAW_TILEDrawing an image using tiling method (the image is duplicated several times).
It can not be combinated with other constants.
DRAW_TOPCENTERDrawing an image at the top center without resizing it.
It can not be combinated with other constants.
DRAW_TOPLEFTDrawing an image at the top left corner without resizing it.
It can not be combinated with other constants.
DRAW_TOPRIGHTDrawing an image at the top right corner without resizing it.
It can not be combinated with other constants.
EThe value of E.
MBA_ABORTThe answer when the user clicks on the ABORT button (MessageBox).
MBA_CANCELThe answer when the user clicks on the CANCEL button (MessageBox).
MBA_IGNOREThe answer when the user clicks on the IGNORE button (MessageBox).
MBA_NOThe answer when the user clicks on the NO button (MessageBox).
MBA_OKThe answer when the user clicks on the OK button (MessageBox).
MBA_RETRYThe answer when the user clicks on the RETRY button (MessageBox).
MBA_YESThe answer when the user clicks on the YES button (MessageBox).
MBI_EXCLAMATIONShow the EXCLAMATION icon (MessageBox).
MBI_INFORMATIONShow the INFORMATION icon (MessageBox).
MBI_QUESTIONShow the QUESTION icon (MessageBox).
MBI_STOPShow the STOP icon (MessageBox).
MB_ABORTRETRYIGNOREShow Abort, Retry and Ignore buttons (MessageBox).
MB_OKShow OK button (MessageBox).
MB_OKCANCELShow OK and Cancel buttons (MessageBox).
MB_RETRYCANCELShow Retry and Cancel buttons (MessageBox).
MB_YESNOShow Yes and No buttons (MessageBox).
MB_YESNOCANCELShow Yes, No and Cancel buttons (MessageBox).
OKIts value is always 0. This constant is used when an event needs to return OK or CANCEL.
PIThe value of PI.
QUITQuit application (Dialog.OnDestroy).
RAD_135The radian value of 135 degrees.
RAD_180The radian value of 180 degrees.
RAD_225The radian value of 225 degrees.
RAD_270The radian value of 270 degrees.
RAD_315The radian value of 315 degrees.
RAD_360The radian value of 360 degrees.
RAD_45The radian value of 45 degrees.
RAD_90The radian value of 90 degrees.
REGION_FRFrench Region
REGION_LOCALOperating System Region
REGION_USAmerican Region

Example

value = Md5("Hello World")
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia