
Contents Hide
int |
Adds the object to the array specified. The object
is added at the end of the array. Returns 0 if successful,
otherwise the error code. string -
Name of the array |
int |
Parses and adds comma separated values (i.e. a CSV
string) to the named array . Returns 0 if successful,
otherwise the error code. string - Name of the array |
int |
Removes all the elements from the array string - Name of the array to
be cleared |
int |
Creates a new array to be identified by the name
specified. Returns 0 if successful, otherwise the error
code. string -
Name of the newly created array |
any |
Returns the object at the specified location. A
null value will be returned if the index is out of range. string -
Name of the array |
int |
Inserts the object at the specified location. Returns
0 if successful, otherwise the error code. string -
Name of the array |
void |
Clears the content of the array and removes it from
the memory. After removal the array with the same name
needs to be recreated if needed again. string -
Name of the array to be removed |
int
|
Removes
the object at the specified location. Returns 0 if successful,
otherwise the error code.
|
int |
Replaces the object at the specified location with
a new one. Returns 0 if successful, otherwise the error
code. string -
Name of the array |
int |
Returns the size of the array, i.e. number of elements
in the array. Returns -1 if the array does not exist or
if an error occurred. string -
Name of the array |
string |
Converts the content of the named array to a comma
separated values (CSV) string. Returns NULL on failure. string - Name of the array |
int |
Appends a blob to the named blob. Returns 0 if successful,
otherwise the error code. string -
Name of the binary blob object |
int |
Appends a byte to the named blob. Returns 0 if successful,
otherwise the error code. string -
Name of the blob |
int |
Creates a new binary blob object to be identified
by the name specified. Returns 0 if successful, otherwise
the error code. string -
Name of the newly created binary blob object |
base64Binary |
Returns the named blob object as a base64Binary
value. Returns a null object if any error occurs. string -
Name of the binary blob object |
int |
Returns the byte value at the specified index of
the named blob. Returns a null object if the index is
invalid. string -
Name of the binary blob object |
int |
Deletes the named blob from the memory. Returns
0 if successful, otherwise the error code. string -
Name of the blob to be deleted |
void |
Deletes all the blob objects
|
int |
Replaces the blob value with the binary blob value
passed. Returns 0 if successful, otherwise the error code. string -
Name of the binary blob object |
int |
Sets the byte value at the specified index of the
named blob. Returns 0 if successful, otherwise the error
code. string -
Name of the binary blob object |
int |
Returns the size of the named blob object, i.e.
the number of bytes in the byte stream owned by the blob.
Returns -1 if the blob does not exist or if an error occurred. string -
Name of the binary blob object |
int |
Returns the event availability status. Use the System
Calendar Availability constants to assess this value.
|
string |
Returns the description of the event.
|
datetime |
Returns the end time of the event.
|
string |
Returns the event ID.
|
string |
Returns the location of the event.
|
string |
Returns the organiser of the event.
|
datetime |
Returns the start time of the event.
|
string |
Returns the title of the event.
|
string |
Returns true if the event is an all day event, otherwise
false.
|
boolean |
Positions the cursor at the next event. Returns
true if an event object is available, otherwise false.
|
void |
Queries the calendar events within the specified
period from all calendars configured on the device. Events
are returned in chronological order. dateTime - Start of the query time window |
void |
Queries the calendar events within the specified
period from the calendar specified. Events are returned
in chronological order. string - Calendar ID |
void |
Removes the event fields set so far. dateTime -
Quality of the images to be captured by the camera. |
void |
Sets the event value. int - Event field ID. Use the System
Event Field constants. |
string |
Creates a new event in the specified calendar using
the event values populated. On success, returns the ID
of the event created, null on error. string -
Calendar ID |
int |
Deletes an event from the specified calendar. Returns
0 on success, otherwise the error code. string -
Calendar ID |
int |
Updates an event in the specified calendar. Returns
0 on success, otherwise the error code. string
- Calendar ID |
string |
Returns the display name of the calendar at the
current cursor..
|
string |
Returns the ID of the calendar at the current cursor..
|
string |
Returns the name of the calendar at the current
cursor..
|
boolean |
Positions the cursor at the next calendar. Returns
true if a calendar object is available to query, otherwise
false.
|
void |
Queries the available calendars on the device.
|
int |
Captures an image using the built-in camera of the
device. Returns 0 if the image is taken successfully,
otherwise the error code.
|
int |
Captures a video using the built-in camera of the
device. Returns 0 if the video is taken successfully,
otherwise the error code.
|
string |
Returns the name of the image that has been captured,
together with fully qualified file path.
If SetFileName is used, then this method will return the same name. Otherwise it will return the file name generated by the camera application. |
string |
Imports an image from the camera roll of the device.
Returns 0 if the image is imported successfully, otherwise
the error code.
Similar to CaptureImage(), the SetPath(), SetFile() and GetFileName() methods can be used in conjunction with this method. |
string |
Imports a video from the camera roll of the device.
Returns 0 if the video is imported successfully, otherwise
the error code.
Similar to CaptureImage(), the SetPath(), SetFile() and GetFileName() methods can be used in conjunction with this method. |
void |
Sets the name of the image to be captured. string -
Name of the file where the image is to be stored. If this method is not used, then GetFileName will return the file name generated by the camera application itself. |
void |
Sets the image quality. int - Quality
of the images to be captured by the camera. |
void |
Sets the directory in which the captured images
are to be stored. string -
Directory where the image files are saved |
void |
Sets the image height and width in pixels. int - Image
width in pixels |
void |
View the video contained in the specified file. string -
Name of the file containing the video to be viewed. Note: The Camera.SetPath() method can be used in conjunction with this method. |
int |
Connects to the server network. Returns 0 if successful,
otherwise the error code.
|
int |
Connects to the server network using the URL (or
RAS entry name) specified. Returns 0 if successful, otherwise
the error code. string -
Server URL or RAS entry name to be used |
int |
Disconnects BrightForms from the server network.
Returns 0 if successful, otherwise the error code.
|
int |
Returns the BrightForms connection type (i.e. network
access, or access via Connections, or access via a RAS
dialup). Use System 'Connection Manager' constants to
check the returned value.
|
boolean |
Checks if BrightForms is connected to the server
network or not. Returns true if connected, otherwise false.
|
boolean |
Checks if BrightForms needs to connect to the server
network or just needs to using the existing network connection
(e.g. if the user ticked 'Need To Connect Server Network'
checkbox or not in Settings --> Dialup tab). Returns
true if BrightForms needs to establish a connection to
server network, otherwise false.
|
void |
Sets the BrightForms connection type (i.e. network
access, or access via Connections, or access via a RAS
dialup). Use System 'Connection Manager' constants to
set this value. int - Connection
type. Use System 'Connection Manager' constants to
set this value. |
void |
Adds a new column value to the temporary record string -
Column name |
int |
Adds a new record to the table specified using the
temporary record created string -
Name of the table Use the AddColumn method to create the temporary record. |
int |
Compacts the database. This method will compact
the database only if there is no connection to the database.
Returns 0 if successful, otherwise the error code. .
|
int |
Deletes the records identified by the query of which
name is specified string -
Name of the query to be used to find the records to
be deleted Use the SetQueryParam method if the delete query requires a parameter. |
int |
Deletes the records locally identified by the query
of which name is specified. This method is provided for
house keeping purposes. Database engine will NOT create
sync change info for the records deleted by this method. string -
Name of the query to be used to find the records to
be deleted locally Use the SetQueryParam method if the delete query requires a parameter. |
int |
Executes the SQL statement. IMPORTANT NOTE : The
changes made by this method does not go though the database
engine. The synchronisation engine will not see the changes
made. Hence the changes will not be detected and sent
to the server. Use DeleteRecords or UpdateRecords instead.
This method is intended for advanced users. Also note
that this method does not return a resultset. It returns
0 on success, otherwise the error code. string -
SQL statement to be executed. |
int |
Exports the data specified by the query to a table
in the destination Access/PocketAccess database. The destination
table must have the matching column names that are the
output of the query. It will return 0 if the export is
successful, otherwise an error code will be returned. string -
Name and location of the destination Access/PocketAccess
database |
int |
Returns the database engine type
Use the values prefixed with DB_ from the system Constants of the Data Source Tree to compare the result and identify what the database engine type is. |
any |
Returns the latest value of the column of the record
locked by LockServerRecord method. string -
The name of the column |
string |
Returns the lock id assigned by BrightServer after
calling LockServerRecord method.
|
string |
Returns the name of the user who locked the record
by using LockServerRecord method.
|
int |
Marks a record as locked in the table specified.
A particular record is identified by the column name and
value pairs set by calling AddColumn method before calling
this method. string -
Name of the parameter to be set This method is used with BrightServer Direct Access on a thin-client mode. This method allows you to create a multiple user backend application with record locking. Use with the other server locking methods especially ReleaseServerLock |
int |
Releases the lock on a record created before by
LockServerRecord method string -
Id of the lock to be released. Use the LockServerRecord method first. |
void |
Resets the internal structures of the database object,
and prepares it for the next operation
Always use this method before adding, updating or deleting records. |
int |
Resets the timestamp for the table specified so
that the client sync engine can synchronise everything
again as if nothing has been synchronised before from
server. Returns 0 if successful, otherwise the error code. string -
Table name |
int |
Updates the system database compaction settings.
Returns 0 if successful, otherwise the error code.. boolean - true if the database is to be compacted on startup. Set this parameter to "false" to turn the database compaction off. boolean - true if the database is to be compacted every time BrightForms starts, false to compact the database "once" on the next startup. This parameter is ignored if the compaction is turned off by setting the first parameter to false (i.e. when the compaction is turned off). boolean -
true if the user is to be prompted before the database
compaction. For silent compaction, set this parameter
to false. |
int |
Stores the query parameter value in the temporary
area string -
Name of the parameter to be set Use this method before applying the UpdateRecords or DeleteRecords method if the query requires a parameter. |
int |
Updates the records identified by the query of which
name is specified string -
Name of the query to be used to find the records to
be updated Use the SetQueryParam method if the update query requires a parameter. |
int
|
This method
returns the number of records that have been added or
modified and are required to be sent to server using the
query specified. The query MUST be a single query table,
and it does not include the number of deleted records.
Returns -1 on error.
|
int
|
This method
returns the number of records that have been added or
modified and are required to be synchronised to server.
It does not include the number of deleted records. Returns
-1 on error.
|
int
|
This method
returns the number of records that have been deleted and
are required to be synchronised to server for the specified
table. Returns -1 on error.
|
boolean
|
This method
checks if the table specified has any added, modified
or deleted records that must be sent to server. Returns
true if there are any added, modified or deleted records
(i.e. sync data) to be synchronised to server, otherwise
false.
|
int |
Starts a new database transaction. Multiple database
changes can be made within a transaction. You must call
"commit" method if all changes are successful,
otherwise call "rollback" method to undo all
the changes. Returns 0 if a transaction is started successfully.
|
int |
Makes all changes made since the previous BeginTransaction
method call permanent and releases any database resources
currently held by this object. This method should be used
only after calling BeginTransaction and all the changes
made are successful. Returns 0 if the transaction has
been committed successfully.
|
int |
Undoes all changes made in the current transaction
and releases any database resources currently held by
this object. This method should be used only after calling
BeginTransaction and if any of the changes made are unsuccessful.
Returns 0 if the transaction has been rolled back successfully.
|
int |
Imports the data stored in a CVS file into a table
using the column order specified. Return 0 on success,
otherwise the error code.
|
int |
Exports the table data specified by a query to a
CVS file using the column order passed. Return 0 on success,
otherwise the error code.
|
int |
Synchronises the table data from Dropbox. Before
importing the data, the content of the local table will
be deleted. Return 0 on success, otherwise the error code.
|
int |
Synchronises the changed table records to Dropbox.
Upon successful upload, local changes will be deleted.
Return 0 on success, otherwise the error code.
|
dateTime |
Creates a new datetime object of which time portion
is set to midnight (00:00:00). int - Year |
dateTime |
Creates a new datetime object int - Year |
string |
Creates a string object based on the format passed
from the datetime specified dateTime -
Datetime object to be formatted Refer to the Appendix > Date-Time Formatting and Operations chapter for Date-Time formatting. |
string |
Returns the current datetime value as a string using
the format passed. string -
Datetime format string |
int |
Returns the day of the month in the range 1 through
31 dateTime -
Datetime value |
int |
Returns the day of the week of the datetime value
passed in the range of 1 through 7 (1=Sunday, 2=Monday,...) dateTime -
Datetime value |
int |
Returns the day of the year of the datetime value
passed dateTime -
Datetime value |
int |
Returns the hour of the datetime value passed in
the range of 0 through 23 dateTime -
Datetime value |
string |
Returns the number of milliseconds since January
1, 1970, 00:00:00.0 GMT as a string. dateTime -
Datetime value |
int |
Returns the minute of the datetime value passed
in the range of 0 through 59 dateTime -
Datetime value |
int |
Returns the month number in the range 1 through
12 (1=January) dateTime -
Datetime value |
int |
Returns the second of the datetime value passed
in the range of 0 through 59 dateTime -
Datetime value |
int |
Returns the year of the datetime value passed dateTime -
Datetime value |
dateTime |
Returns the current system date and time
|
dateTime |
Sets the time portion of the datetime object to
midnight (00:00:00). dateTime -
Datetime object of which time portion is to be set
to midnight (00:00:00). |
dateTime |
Sets the date portion of the datetime object dateTime -
Datetime object |
dateTime |
Sets the time portion of the datetime object dateTime -
Datetime object |
int |
Returns the UTC time offset in seconds (i.e. the
time difference in seconds between the local time and
the UTC time). When converted to hours, this will indicate
the current local time zone in relation to the UTC time
zone.
|
dateTime |
Converts the local time passed to UTC (GMT) time. dateTime -
Local datetime object to be converted to UTC (GMT)
time |
int |
Copies a file/folder in Dropbox to another file/folder
in Dropbox. Returns 0 on success, otherwise the error
code. string -
Source name |
int |
Deletes a file/folder from Dropbox. Returns 0 on
success, otherwise the error code. string - Entity to be deleted |
int |
Downloads the specified file from Dropbox. Returns
0 on success, otherwise the error code. string - Dropbox file path and name |
boolean |
Checks if the specified file or folder exists on
Dropbox. Returns true if exists, otherwise false. string - File or folder name to be
checked |
string |
Returns the display name of the Dropbox account
connected to.
|
string |
Returns the email address of the Dropbox account
connected to.
|
string |
Returns the id of the Dropbox account connected
to.
|
string |
Returns the user name of the Dropbox account connected
to.
|
string |
Returns the surname of the account connected to.
|
int |
Initialises the object by setting the Dropbox account
access token. This method must be called first before
using other methods. Returns 0 on success, otherwise the
error code. string - Dropbox access token |
boolean |
Checks if the Dropbox account being used is disabled.
Returns true if disabled, otherwise false.
|
int |
Moves a file/folder in Dropbox to another file/folder
in Dropbox. Returns 0 on success, otherwise the error
code. string - Source name |
int |
Uploads the specified local file to Dropbox. Returns
0 on success, otherwise the error code. string - Name of the local file that
is to be uploaded to Dropbox |
int |
Calls a function with no argument and no result
code (e.g. "void function(void)"). It returns
0 if the function call was successful, otherwise the error
code. string -
Name of the function to be invoked. |
int |
Calls a function with a single integer argument
and no result code (e.g. "void function(int)").
It returns 0 if the function call was successful, otherwise
the error code. string -
Name of the function to be invoked. |
int |
Calls a function with a single integer argument
and an integer result code (e.g. "int function(int)").
Please use "GetFnResultCode" method to get the
function result code. It returns 0 if the function call
was successful, otherwise the error code. string -
Name of the function to be invoked. |
int |
Calls a function with a single void* argument and
no result code (e.g. "void function(void*)").
It returns 0 if the function call was successful, otherwise
the error code. string -
Name of the function to be invoked. |
int |
Calls a function with a single void* argument and
an integer result code (e.g. "int function(void*)").
Please use "GetFnResultCode" method to get the
function result code. It returns 0 if the function call
was successful, otherwise the error code. string -
Name of the function to be invoked. |
int |
Calls a function with no argument and an integer
result code (e.g. "int function(void)"). Please
use "GetFnResultCode" method to get the function
result code. It returns 0 if the function call was successful,
otherwise the error code. string -
Name of the function to be invoked. |
int |
Returns the result code of the latest function call
that returns an result code.
|
int |
Loads the specified DLL module. It returns 0 if
successful, otherwise the error code. string -
Name of the DLL to be loaded together with its path
and the DLL file name. |
int |
Unloads the DLL loaded. It returns 0 if successful,
otherwise the error code.
|
void |
Adds a new file to the email to be sent. string -
Name of the file to be attached to the email Call this method multiple times if the email has more than one file attachment |
void |
Adds a new recipient to bcc list string -
Recipient's email address Call this method multiple times if the email has more than one Bcc email recipient |
void |
Adds a new mail recipient to cc list string -
Recipient's email address Call this method multiple times if the email has more than one Cc email recipient |
void |
Adds a new recipient to direct (to) recipient list string -
Recipient's email address Call this method multiple times if the email has more than one direct email recipient. |
void |
Clears (empties) the list of file attachments.
|
void |
Clears (empties) the list of BCC recipients.
|
void |
Clears (empties) the list of CC recipients.
|
void |
Clears (empties) the list of direct TO recipients.
|
void |
Resets all the settings (clears the recipient lists,
store name, sender address, etc.)
|
int |
Sends the email to the recipient(s) set. Returns
0 if the email is sent successfully, otherwise the error
code. string -
Subject of the email Use AddTo, AddBcc, AddCc and AddAttachment first before using this method to specify the To, Cc, Bcc and attachment fields before sending the email. |
void |
Sets the email account name to be used. Note that
this is not the email address, but it is the name of the
account. If this method is not used, then the default
email account is assumed. string -
Name of the email store to be used when sending emails. |
void |
Enables or disables the SSL option when sending mails. By default the SSL option is turned off. Parameters:boolean - true to enable the SSL option,
false to disable it. By default the SSL option is set to false. Use this method to turn it on or off. |
void |
Sets the mail address from which the email is sent. string -
Mail address of the sender. |
void |
Sets the personal name alias for the from mail address.
This will appear as the sender of the email when received. string - Name alias |
void |
Sets the SMTP email server address. string -
SMTP server address |
void |
Sets the SMTP port number. This call is optional.
If not called, then the default SMTP port number (25)
will be used. int -
SMTP server port number. |
void |
Sets the named mail object property value. string - Mail property name string -
Mail property value as string This is a reserved method to set mail object properties as recommended by the support team. |
void |
Sets the mail protocol type to be used. string -
Mail protocol name other than the default "smtp"
protocol being used. By default the "smtp" protocol is used. The valid options are "smtp", "pop3" or "imap". An incorrect option will be ignored by this method. |
void |
Sets the username and password credentials for outgoing mail server authentication. Parameters: string - Outgoing mail server user name string -
Outgoing mail server user password. |
boolean |
Copies the source file to the destination file specified.
Returns true if the function is executed successfully.
If the destination file already exists, then it will be
overwritten. string -
Name of the source file |
int |
Creates a new directory. Returns 0 if successful,
otherwise the error code. string -
String that specifies the path of the directory to
be created |
boolean |
Deletes the file specified. Returns true if the
file has been successfully deleted, otherwise false. string -
Name of the file to be deleted |
boolean |
Checks if the specified file exists. Returns true
if the file exists, otherwise false. string -
Name of the file |
int |
Returns the size of the specified file in bytes,
or -1 on error. string -
Name of the file to be checked |
base64Binary |
Loads the binary file specified into a binary (blob)
object and returns the contents of the file string -
Name of the binary file to be loaded. |
string |
Loads the text file specified into a string object
and returns the contents of the file string -
Name of the text file to be loaded. |
int |
Deletes an existing empty directory. Returns 0 if
successful, otherwise the error code. string -
String that specifies the path of the directory to
be removed |
boolean |
Renames (moves) the file specified. Using this function
files can be moved from one location to other. Returns
true if the file has been successfully renamed, otherwise
false. string -
Name of the file to be renamed |
int |
Saves the binary (blob) object to the file specified.
Returns 0 if the function is successful. string -
Name of the file into which the binary data is to
be saved |
int |
Saves the string object to the file specified. Returns
0 if the function is successful. string -
Name of the file into which the string is to be saved |
int |
Searches a directory for a file or subdirectory
whose name matches the specified file name. Returns 0
if successful, otherwise an error code. string -
A valid directory or path and file name, which can
contain wildcard characters, such as * and ?. |
boolean |
Continues a file search from a previous call to
the FindFirst. Returns true if successful, otherwise false
to indicate no more files or subdirectories to process.
|
dateTime |
Returns the time that the file was last written
to. A null value is returned to indicate an error condition
or no file is found yet.
|
string |
Returns the name of the file or subdirectory found.
A null value is returned to indicate an error condition
or no file is found yet.
|
boolean |
Checks if what was last found is a directory. Returns
true if it is a directory, otherwise false.
|
boolean |
Checks if what was last found is a file. Returns
true if it is a file, otherwise false.
|
void |
Closes the file identified by its file id. string - Id of the file to be closed |
int |
Returns the result of the last read operation. Return
value of 0 indicates success, otherwise the error code
of the last read is returned. string -
File id |
string |
Opens the specified file in the 'read' mode. Returns
a 'file id' on success, otherwise a NULL value on failure. string - Name of the file to be opened |
string |
Opens the specified file in the 'write' mode specified.
Returns a 'file id' on success, otherwise a NULL value
on failure. string - Name of the file to be opened |
string |
Reads and returns the specified number of characters
from the file. A NULL will be returned if there is nothing
further to read, or an error occurred during read. Use
'GetReadResult' method to check if an error occurred during
the read. string - File id |
string |
Reads and returns a line from the file. It reads
the file until a file line terminator character is read.
A NULL will be returned if there is nothing further to
read, or an error occurred during read. Use 'GetReadResult'
method to check if an error occurred during the read. string - File id |
int |
Writes the string to file. Return 0 on success,
otherwise the error code. string -
File id |
int |
Writes the string to file and writes the file line
separator afterwards. Return 0 on success, otherwise the
error code.. string -
Name of the file to be renamed |
void |
Closes the form.
|
void |
Stops the form timer and disables it. The timer
will NOT execute the action specified anymore.
Use together with EnableTimer and the Timer Interval form property to create a timer function on the form. |
void |
Enables the form timer and re-starts it. The timer
will execute the action after the timer interval specified
elapses.
Use together with DisableTimer and the Timer Interval form property to create a timer function on the form. |
string |
Returns the current file path
If it returns an empty file path, that means that it is in the default root directory i.e. Desktop (Win32) or My Documents (WinCE) used by the open and save file dialogs. |
int |
Returns the code of the last gesture performed by the user. Use the "Gesture" constants to check the result. Note that gestures may not be supported by all platforms.
|
int |
Returns the current tab number. Note that tab numbers
start from 0 (i.e. the first tab is 0, the second tab
is 1 etc.)
|
void |
Hides the busy mouse cursor, and displays the normal
mouse pointer
|
boolean |
Checks if the value of any control on the form has
been modified by the user since the form has been loaded,
or since the Form's ResetDirty or the controls' ResetDirty
methods have been called.
Note: |
int |
Displays a message box. See documentation for more
details. string -
Message box caption (title) The Message box types are derived from the system Constants Data Source Tree, use values prefixed with MB_. Use values prefixed with ID_ from the system Constants Data Source Tree to compare the corresponding result from the message box. |
void |
Changes the form's screen brightness. int -
Specifies the brightness as a percentage from 1 to
100. 100 = full brightness. A value of
less than 0, reverts to use the user-preferred screen
brightness Note: |
void |
Sets the file path to be used by FileOpen and FileSave
dialogs string -
File path to be used by FileOpen and FileSave dialogs |
void |
Sets the form's help text displayed in the Help
dialog. string -
New user help text that will be displayed in the form's
Help dialog. |
void |
Sets the form's timer interval int - New
timer interval in milliseconds. |
void |
Displays the busy mouse pointer
|
string |
Displays a file dialog where the user can select the file to be opened. It returns the file name as a string. If the selection is cancelled or no file has been selected, it returns an empty string.
Use this method to obtain a file name before using the File object methods. |
string |
Displays a file dialog where the user can select the file to be saved. It returns the file name as a string. If the selection is cancelled or no file has been selected, it returns an empty string.
Use this method to obtain a file name to save to before using the File object methods. |
void
|
Displays
the form's help dialog. |
void
|
Displays the system's settings dialog. |
int |
Displays the system's sync progress dialog and starts
the synchronisation automatically. The return value is
the result of the synchronisation. boolean -
If true, a small dialog is displayed and as soon as
the synchronisation is finished the dialog is closed
automatically. If false a full dialog is displayed.
The dialog contains a list control that displays all
the sync related messages as they occur. The user
needs to close the dialog. Use this method to start synchronisation after enabling all required sync rules. Refer to the Synchroniser methods to enable sync rules. |
void |
Displays the tab of which number is specified. Tab
numbers start from 0 (i.e. the first tab is 0, the second
tab is 1 etc.) int - Tab
number. Specifies the zero-based index of the tab
to be selected |
void |
View the document contained in the specified file. string - File path for the document
to be viewed Note: |
string |
Returns the name of the current form aspect. |
any |
Returns the value of the child form variable specified.
This method can only be used in post-close expressions. string -
Name of the child form variable of which value is
to be returned |
int |
Opens the child form specified string -
Name of the form to be opened Use the ResetChildData method first before opening the child form. |
void |
Clears the buffers that contain the values to be
passed to the child form.
This method should be used before opening the child form. |
void |
Sets the specified child form query parameter value.
The value is stored into an internal buffer. string -
Name of the form query parameter Ensure that all required child form query parameters are set before opening the child form. |
void |
Sets the specified child form variable. The value
is stored into an internal buffer. string -
Name of the variable Ensure that all required child form variables are set before opening the child form. |
void |
Changes the background color of the form int - Specifies
the intensity of the red color |
void |
Changes the form's tab text color. int - Specifies
the intensity of the red color |
int |
Deletes the record attached to the form. Returns
0 if successful otherwise the error code.
This method will only work if there is a query binded to the form. |
void |
Enables or disables the message to be displayed
when the form is about to be closed or another record
is to be displayed, and the current record has not been
saved yet. boolean -
True if the save confirmation dialog is to be displayed
(which is the case by default), otherwise false to
ignore the user changes with no user prompt. |
int |
Returns the current record index (i.e. the record
position in the cursor form data cache). This method functions
only if the form is a cursor form.
|
int |
Returns the number of records the cursor form has.
This method functions only if the form is a cursor form.
|
boolean |
Checks if the cursor form is displaying the first
record. This method functions only if the form is a cursor
form.
|
boolean |
Checks if the form data has been changed by the
user (i.e. if the form data is dirty). Returns true if
the form data (the current record) has been modified by
the user, otherwise false.
|
boolean |
Checks if the form data has been loaded successfully
or not. Returns true if the form data has been loaded
successfully, otherwise false.
|
boolean |
Checks if the cursor form is displaying the last
record. This method functions only if the form is a cursor
form.
This method is useful as a condition if it is the last record before executing another expression i.e. validation or saving |
int |
Jumps to another record in the cursor form. The
record primary key values are specified by SetJumpColumn
method. Returns 0 if the specified record is found, otherwise
the error code.
Use SetJumpColumn first to specify the primary key values before using the Jump method. |
void |
Navigates to the first record and displays it. This
method functions only if the form is a cursor form.
|
void |
Navigates to the last record and displays it. This
method functions only if the form is a cursor form.
|
void |
Navigates to the next record and displays it. This
method functions only if the form is a cursor form.
|
void |
Navigates to the previous record and displays it.
This method functions only if the form is a cursor form.
|
void |
Prepares the form for creating a new record. It
also calls the expression specified for the form's Action-New.
It is as if the user clicked on the cursor bar's 'New'
button.
|
void |
Re-executes the form query and re-loads the form
data.
Use the Jump and SetJumpColumn methods after a form refresh to make sure that the cursor position is still on the current record displayed before the refresh. |
int |
Saves the current form data. Returns 0 if successful
otherwise the error code.
This method will only work if there is a query binded to the form. This is a useful method to call before opening a child form. |
void |
Sets the message to be displayed when the form is
about to be closed or another record is to be displayed,
and the current record has not been saved yet. string -
The user message for the save confirmation dialog This should be used on a form Open event to ensure that the Confirm Save message has been set before loading any of the records. The Confirm Save message will only be displayed if the form has a query attached to it and allows record saving. |
void |
Sets the primary key column values of the record
to be jumped by using Jump method. Call this method multiple
times if the form data has more than one primary key column
defined. string -
Name of the primary key column |
void |
Cursor forms by default display the current record
index and the total number of records loaded on the form's
title bar. Set this flag to false if you do not want to
display record position on the title bar. boolean -
If false the current record index and the total record
count will not be shown on the form's title bar, otherwise
it is displayed by default. |
int |
Enables or disables a menu item by its index. All
of the menu items that can execute an expression or open
another form has a unique index assigned to it. The menu
item index starts from 0, and advances from top to bottom,
left to right. To disable submenu items, this method should
be used. int - User
menu id. User menus are ones that are defined for
the form by the user, and are displayed next to the
system "Help" menu. Ids of the user menus
start with 0. The first menu id is 0, the second id
is 1, etc. |
int |
Enables or disables a menu item by its position.
The position of the top most item is 0. int - User
menu id. User menus are ones that are defined for
the form by the user, and are displayed next to the
system "Help" menu. Ids of the user menus
start with 0. The first menu is 0, the second menu
id is 1, etc. |
double
|
Calculates
the distance between two GPS coordinates and returns it
in "meters".
|
int
|
Closes the COM port that the GPS device is attached. It returns 0 if successful, otherwise the error code. |
double |
Returns the current altitude in metres above mean
sea level
|
int |
Returns current fix quality where 0 = Invalid, 1
= GPS fix (SPS), and 2 = DGPS fix.
|
datetime |
Returns the GPS clock as "local" datetime.
It will return a "null" value if no valid reading
is available.
|
string |
Returns current latitude as a string, for example
as "4916.46,N" where the latitude is 49 degrees
16.46 minutes NORTH
|
double |
Returns current latitude in degrees. Postive values
indicate NORTH.
|
string |
Returns current longitude as a string, for example
as "12311.12, W" where the longitude is 123
degrees 11.12 minutes WEST
|
string |
Returns current longitude in degrees. Positive values
indicate EAST.
|
int |
Returns the number of satellites in view
|
double |
Returns the current ground speed in Kilometres Per
Hour
|
double |
Returns the current track angle in degrees True
|
boolean |
Returns true if there was a valid read from the
GPS device, otherwise false
|
int |
Opens the COM port that the GPS device is attached.
It returns 0 if successful, otherwise the error code. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
int |
Opens the default native GPS port using Microsoft
intermediate GPS driver, and accesses the GPS data via
the native Windows GPS API. It returns 0 if successful,
otherwise the error code.
|
void |
Invalidates the previous read and clears the previously
cached GPS data.
|
int |
Sends a message to the GPS device via the COM port.
It returns 0 if successful, otherwise the error code. string -
Message string to be sent |
DEPRECATED - Please use Scanner Object
int |
Closes the scanner. Returns 0 on success, otherwise
the error code.
|
string |
Reads the barcode from the scanner when the scan
is complete. It returns an empty string if a successful
scan has not occurred yet.
|
int |
Returns the type of barcode label read.
|
int |
This method returns the result of the most recent
scan.
If the last scan was successful, this method will return 0, otherwise the error code. |
int |
Opens the scanner device for reading barcode labels.
Returns 0 on success, otherwise the error code.
|
int |
This method initiates a soft scan. Returns 0 on
success, otherwise the error code.
This method can be called when a user clicks on a button, or an entry field is focused etc. |
int |
This method sets the name of the scanner to be used.
This method is not needed if the default scanner is used. |
int |
Closes the COM port that the magnetic stripe card
is attached. It returns 0 if successful, otherwise the
error code.
|
string |
Returns the credit card number
|
string |
Returns the expiry date given the format string -
Format string where by month and year expiry date
is to be converted to string and returned |
int |
Returns the month number on which the card expires
|
int |
Returns the year on which the card expires
|
string |
Returns the name of the card holder
|
string |
Returns the data from the issuer section from Track
1
|
string |
Returns the whole Track 1 data read from the magnetic
stripe card
|
string |
Returns the whole Track 2 data read from the magnetic
stripe card
|
boolean |
Returns true if there was a valid read from the
magnetic stripe card, otherwise false
|
int |
Opens the COM port that the magnetic stripe card
is attached. It returns 0 if successful, otherwise the
error code. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
void |
Invalidates the previous read and clears the cached
card data read previously.
|
void |
Removes all of the key-value pairs from the map. string - Name of the map to be cleared |
boolean |
Checks if the specified key exists in the map. Returns
true if the key is in the map, otherwise false. string - Name of the map |
int |
Creates a new map to be identified by the name specified.
Returns 0 if successful, otherwise the error code. string - Name of the map to be created |
any |
Returns the value for the key. A null value will
be returned if the key does not exist in the map. string - Name of the map |
int |
Inserts an object at the specified key. If the key
is already in the map, then its value will be replaced.
Returns 0 if successful, otherwise the error code. string - Name of the map |
int |
Removes the object identified by the key. Returns
0 if successful, otherwise the error code. string - Name of the map |
void |
Clears the content of the map and removes it from
the memory. After removal, the map with the same name
needs to be recreated if needed again. string - Name of the map to be removed |
int |
Returns the size of the map, i.e. the number of
key-value pairs in the map. Returns -1 if the map does
not exist or if an error occurred. string - Name of the map |
double |
Returns the absolute value of the value passed
|
double |
Calculates the arccosine
|
double |
Calculates the arcsine
|
double |
Calculates the arctangent of the values passed in
the range of -PI/2 to PI/2 radians. If the value passed
is 0, then it returns 0.
|
double |
Calculates the arctangent of value1/value2 in the
range -PI to PI radians. If both parameters are 0, the
function returns 0.
|
int |
Returns the next highest integer that is greater
than or equal to the specified numeric value
|
double |
Calculate the cosine of the angle passed. The angle
parameter is in radians.
|
double |
Calculate the hyperbolic cosine of the angle passed.
The angle parameter is in radians.
|
int |
Returns the nearest integer that is less than or
equal to the specified numeric value
|
double |
Calculates logarithms of the value passed
|
double |
Calculates the base-10 logarithms of the value passed
|
double |
Returns the larger of the values passed
|
double |
Returns the smaller of the values passed
|
any |
Divides one numeric value by another numeric value
and returns the remainder
|
double |
Calculates value1 raised to the power of value2
|
int |
Generates a pseudorandom integer number |
int |
Returns a supplied numeric value rounded to the
nearest integer
|
int |
Returns the sign function of a value. Returns zero
if it is zero, 1 if it is greater than zero, or -1 if
it is less than zero. double -
Value |
double |
Calculate the sines of the angle passed. The angle
parameter is in radians.
|
double |
Calculate the hyperbolic sines of the angle passed.
The angle parameter is in radians.
|
double |
Calculates the square root of the value passed.
|
double |
Calculate the tangent of the angle passed. The angle
parameter is in radians.
|
double |
Calculate the hyperbolic tangent of the angle passed.
The angle parameter is in radians.
|
double |
Converts an angle measured in radians to an angle
measured in degrees.
|
double |
Converts an angle measured in degrees to an angle
measured in radians
|
int |
Disables the NFC object. Returns 0 on success otherwise
the error code.
|
int |
Enables the NFC object to access tags. Returns 0
on success otherwise the error code. This method must be called first to access a tag for reading or writing. |
int |
Returns the type of the NFC event which has just
been triggered. Use System NFC Event Type constants to check the event type returned. This method should normally be used in the expression that is run by the form's NFC action event. |
int |
Returns the result of the last operation carried
out, such as a write operation. This method should normally be used in the expression that is run by the form's NFC action event. |
string |
Reads the NDEF formatted tag, and returns the tag
data as a string value. Returns NULL on error. The tag data will be read from the first record of the first message stored in the tag. |
int |
Writes a string to the NDEF formatted NFC tag as a Text type. Returns 0 on success, otherwise the error code. Parameters: string - New string data to be stored in the tag as a URI type. The new tag data will be stored in the first record of the first message. |
int |
Writes a string to the NDEF formatted NFC tag as a URI type. Returns 0 on success, otherwise the error code. Parameters: string - New string data to be stored in the tag as a URI type. The new tag data will be stored in the first record of the first message. |
int |
Returns the result of a bitwise AND operation performed
on two numeric values any - Numeric
value |
int |
Returns the result of a bitwise inclusive OR operation
performed on two numeric values any - Numeric
value |
int |
Returns the result of a bitwise exclusive OR operation
performed on two numeric values any - Numeric
value |
int |
Returns the next highest integer that is greater
than or equal to the specified numeric value any - Numeric
value |
int |
Returns the nearest integer that is less than or
equal to the specified numeric value any - Numeric
value |
int |
Returns the high byte of the integer passed int - Integer
value |
int |
Returns the low byte of the integer passed int - Integer
value |
boolean |
Checks if the object is a double. If a string is
passed, it will be checked to see if it is a valid double
string. any - Object
to checked This method is useful when validating double input values. |
boolean |
Checks if the object is an integer. If a string
is passed, it will be checked to see if it is a valid
integer string. any - Object
to checked This method is useful when validating integer input values. |
int |
Creates an integer by combining the high and low
byte values passed int - Hight
byte |
any |
Divides one numeric value by another numeric value
and returns the remainder any - Numeric
value |
int |
Generates a pseudorandom integer number
|
int |
Returns a supplied numeric value rounded to the
nearest integer any - Numeric
value |
int |
Shifts the bits in the integer value to left int - Value
to be shifted bitwise to left |
int |
Shifts the bits in the integer value to right int - Value
to be shifted bitwise to right |
boolean |
Converts the value passed to boolean (true/false).
If the value is 0, then it is converted to false, otherwise
to true any - Input
value to be converted to boolean (true/false) |
double |
Converts the value passed to double any - Input
value to be converted to double |
int |
Converts the value passed to integer any - Input
value to be converted to integer Use this method to convert values to integer after a mathematical operation such as addition. |
string |
Creates a 16 byte Globally Unique Identifier (GUID)
number and returns it as a string containing 36 characters
in total in the following format including dashes : "00112233-4455-6677-8899-AABBCCDDEEFF".
Returns null if the method fails.
Use this method to create unique GUIDs. This method is available only Windows platform. |
int |
Returns the number of milliseconds since the midnight
|
int |
Returns an unique integer based on the system time
Use this method to create unique ids for the database records. |
any |
Returns the value of the column specified. string -
Column name Use the SetQuery or SetSql methods to establish a query or sql statement before using this method. |
void |
Navigates to the next record.
|
boolean |
Call this method as you scroll from record to record
to learn whether you have more records in the recordset
to process. Returns true if there are more records to
process; otherwise if you are after the last record, it
returns false.
Use this method as a WHILE loop condition to iterate through the resultset. |
int |
Sets the name of the query to be executed. On success
it returns 0, otherwise the error code. string -
Name of the query to be executed |
int |
Sets the query parameter value in the query selected.
Make sure the query name is set before using this method.
On success it returns 0, otherwise the error code. string -
Name of the parameter to be set |
void |
Sets the SQL statement to be executed. string -
SQL SELECT statement to be executed |
any |
Compares the first value to the second value using
the comparison operator. If the result evaluates to true,
then it returns the first result value, otherwise the
second result value is returned. any - First
value to be compared (Left hand side of the comparison) |
int |
Returns the current page number of the report being
printed
|
int |
Prints the specified report. On success it returns
0, otherwise the error code. string -
Name of the report report to be printed. |
void |
Sets the number of copies of the document to be
printed. Important to note that it is always set back
to 1 (one) after each report print request is executed. int - Number
of the copies to be printed |
int |
Sets the report query parameter value. On success
it returns 0, otherwise the error code. string -
Name of the report query parameter to be set |
void |
Sets the report variable. string -
Name of the report variable to be set |
void |
Sets the flag that determines if the printer dialog
is skipped or not. When set to true, the report engine
will not display the printer selection dialog and the
report will be printed to the default printer. By default
the printer dialog is displayed. boolean -
false to display the printer dialog (which is the
default value), true to skip it |
int |
Closes the scanner. Returns 0 on success, otherwise
the error code.
|
void |
This method sets the flag to turn on or off the
beep generated after a successful scan. boolean -
false to turn off the beep after a successful scan,
true to turn it back on. |
string |
Reads the barcode from the scanner when the scan
is complete. It returns an empty string if a successful
scan has not occurred yet.
|
int |
Returns the type of barcode label read.
|
int |
This method returns the result of the most recent
scan.
If the last scan was successful, this method will return 0, otherwise the error code. |
int |
Opens the scanner device for reading barcode labels.
Returns 0 on success, otherwise the error code.
By default it uses the default scanner. Use SetScannerName method to set the desired scanner name, if necessary. |
int |
This method initiates a soft scan. Returns 0 on
success, otherwise the error code.
This method can be called when a user clicks on a button, or an entry field is focused etc. |
int |
This method sets the name of the scanner to be used.
This method is not needed if the default scanner is used. |
string |
Decrypts the binary blob using the password passed
and returns the decrypted string. If the function fails,
it returns a null object. string -
Password to be used to decrypt the data |
base64Binary |
Encrypts the string using the password passed and
returns the encrypted data in a binary blob. If the function
fails, it returns a null object. string -
Password to be used to encrypt the data |
string |
Calculates the MD5 digest for the value (string
or binary) passed and returns the digest as a string any - Value
for which the MD5 digest is to be calculated |
void |
Sets the encryption / decryption algorithm to be
used. The default algorithm used is 3DES. int - Algorithm
to be used. Use system constants to set this parameter
value. |
int |
Closes the specified COM port. It returns 0 if successful,
otherwise the error code. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
int |
Flushes input and output buffers of the specified
COM port. It returns 0 if successful, otherwise the error
code. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
int |
Returns the last error code for the specified COM
port. It will return 0 if there was no error for the last
action carried out on the COM port in question. It will
return the error code 11262, if a timeout has occurred. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
int |
Opens the specified COM port. It returns 0 if successful,
otherwise the error code. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
string |
Reads binary data from the specified COM port and
returns the data read as a base64binary (blob) object.
If there was nothing to read, then an empty blob object
is returned. If there was an error or the function timed
out, then a null object is returned. Use GetLastError
to get the error code for the port in question. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
string |
Reads a binary message from the specified COM port.
The message starts with the start byte value specified
and ends with the byte value specified. If there was nothing
to read, then an empty blob is returned. If there was
an error or the function has timed out, then a null object
is returned. Use GetLastError to get the error code for
the port in question. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
string |
Reads data from the specified COM port and returns
the data read as a string. If there was nothing to read,
then an empty string is returned. If there was an error
or the function timed out, then a null object is returned.
Use GetLastError to get the error code for the port in
question. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
string |
Reads a string message from the specified COM port.
The message starts with the start character specified
and ends with the end character specified. If there was
nothing to read, then an empty string is returned. If
there was an error or the function has timed out, then
a null object is returned. Use GetLastError to get the
error code for the port in question. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
int |
Sends the binary byte stream (blob) to the specified
COM port. It returns 0 if the binary data has been sent
successfully, otherwise the error code. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
int |
Sends a string to the specified COM port. It returns
0 if the string has been sent successfully, otherwise
the error code. string -
Name of the COM port. For instance "COM1:".
Please make sure a colon(:) is appended to the port
name. |
void |
Adds a new entry the recipient list string -
Recipient's phone number Call this method multiple times if the SMS message has more than one recipient. |
void |
Resets all the settings (clears the recipient list
etc.)
|
int |
Sends a text message to the recipient(s) set. Returns
0 if the text message is sent successfully, otherwise
the error code. string -
Text message to be sent |
int |
Returns the first character to the string passed
as an integer value. string -
Source string |
int |
Compares the two strings specified. Zero if the
strings are identical, a negative number if first string
is less than the second string, a postive number if the
first string is greater than the second string. string -
First string |
int |
Compares the two strings specified ignoring case.
Zero if the strings are identical, a negative number if
first string is less than the second string, a postive
number if the first string is greater than the second
string. string -
First string |
string |
Converts number to string using the format details. any - Number
to be converted to string |
string |
Extracts the character at the specified index and
returns as a string string -
Input string |
int |
Returns the index within the string of the first
occurrence of the specified string. If no such string
occurs in this string, then -1 is returned. string -
String to be searched |
string |
Inserts a string into the source string at the specified
location and returns a new string. On any error, the original
string will be returned. string - Source string |
string |
Creates a single character string by converting
the integer value to a character. int -
An integer representing a character |
boolean |
Checks if the character is an alphabetic character string -
String to be checked |
boolean |
Checks if the character is a decimal-digit character string -
String to be checked |
boolean |
Returns true if the string is empty, otherwise false string -
String to be checked |
boolean |
Checks if the character is a lower character string -
String to be checked |
boolean |
Checks if the character represents a printable character string -
String to be checked |
boolean |
Checks if the character is an uppercase character string -
String to be checked |
boolean |
Checks if the character represents a whitespace
character string -
String to be checked |
string |
Extracts the first (leftmost) number of characters
specified from input string and returns a copy of the
extracted substring string -
Input string |
int |
Returns the length of the input string (i.e. the
number of characters in the string). string -
String of which length is to be returned |
string |
Extracts the number of characters specified starting
from the location passed from the input string, and returns
a string containing those extracted characters string -
Input string |
string |
Creates a new string by repeating the specified
string for the number of times specified. string -
String to be repeated |
string |
Replaces all occurrences of one string with another
in the input string, and returns a new string. string -
Input string |
int |
Returns the index of the character from the end
of the string specified. If no such character occurs in
this string, then -1 is returned. string -
String to be used for the search |
string |
Extracts the last (rightmost) number of characters
specified from input string and returns a copy of the
extracted substring string -
Input string |
string |
Sets (changes) the character at the specified index string -
Input string |
string |
Converts the string to lowercase, and returns a
new string string -
String to be converted to lowercase |
string |
Converts the input string to uppercase, and returns
a new string string -
String to be converted to uppercase |
string |
Removes the leading and trailing whitespace characters
from the input string, and returns a new string string -
String to be trimmed |
string |
Removes the leading whitespace characters from the
input string, and returns a new string string -
String to be trimmed |
string |
Removes the trailing whitespace characters from
the input string, and returns a new string string -
String to be trimmed |
DEPRECATED - Please use Scanner Object
int |
Closes the scanner. Returns 0 on success, otherwise
the error code.
|
string |
Reads the barcode from the scanner when the scan
is complete. It returns an empty string if a successful
scan has not occurred yet.
|
int |
Returns the type of barcode label read.
|
int |
This method returns the result of the most recent
scan.
If the last scan was successful, this method will return 0, otherwise the error code. |
int |
Opens the scanner device for reading barcode labels.
Returns 0 on success, otherwise the error code.
By default a scanner named 'SCN1:' is opened. This is the name of the default scanner. Use SetScannerName method to set the desired scanner name, if necessary. |
int |
This method initiates a soft scan. Returns 0 on
success, otherwise the error code.
This method can be called when a user clicks on a button, or an entry field is focused etc. |
int |
This method sets the name of the scanner to be used.
This method is not needed if the default scanner is used. |
int |
Establishes a server connection. It return a negative
-10519 if new application updates have been received from
server. Returns 0 if successful otherwise a positive error
code.
This method goes hand in hand with Disconnect and ExecuteSyncRule methods to create your own synchronisation dialog instead of using the built-in Form.ShowSyncDialog. |
int |
Disables all the sync rules. Returns 0 if successful
otherwise the error code.
A good design practice is to disable all sync rules before synchronisation to ensure that unnecessary synchronisation are not executed. Use this method before enabling the required sync rules. |
int |
Closes the server connection. Returns 0 if successful
otherwise the error code.
This method goes hand in hand with Connect and ExecuteSyncRule methods to create your own synchronisation dialog instead of using the built-in Form.ShowSyncDialog. |
int |
Enable the sync rule specified. Returns 0 if successful
otherwise the error code. string -
Name of the sync rule to be disabled or enabled Use the Form.ShowSyncDialog to start synchronisation after enabling the sync rules. |
int |
Executes the sync rule specified. Returns 0 if successful
otherwise the error code. string -
Name of the sync rule to be executed This method goes hand in hand with Connect and Disconnect methods to create your own synchronisation dialog instead of using the built-in Form.ShowSyncDialog. This method allows you to prioritise or sequence the sync rules that you want to run. |
void |
Sets the execution order of a sync rule. Note that
sync rules are executed in the ascending execution order. string -
Name of the sync rule for which the execution order
is to be set |
void |
Disables all of the background sync rules
|
int |
Returns the last background synchronisation error
|
dateTime |
Returns the time of the last successful background
synchronisation
|
int |
Returns the name or the comma separated names of
the tables that were synchronised successfully by the
last background synchronisation.
|
int |
Returns the name or the comma separated names of the sync rules that were executed by the last background synchronisation.
|
int |
Returns the number of pending background sync requests
initiated by SynchroniseInBackground method
|
boolean |
Returns true if a background synchronisation is
already in progress, otherwise false
|
int |
This method marks a sync rule as a background executable
sync rule. Returns 0 if successful otherwise the error
code. string -
Name of the sync rule to be made background or not |
void |
Clears the number of pending background sync requests
counter
|
void |
Sets the idle time of the background synchroniser.
The background synchroniser sleeps for the duration specified
to give change other components of BrightForms to execute.
During this period, the background synchroniser does not
process any sync requests. The minimum idle time that
can be set is 5 seconds. It is by default 5 seconds. int - Idle
time in seconds |
void |
Sets the retry time of the background synchroniser
to retry a failed sync rule. The minimum retry time that
can be set is 300 seconds (5 minutes). It is by default
10 minutes. int - Retry
time in seconds |
void |
Starts background synchronisation by singnalling
the background synchroniser to execute enabled background
sync rules
|
int
|
Returns the version of the BrightForms engine in which the application is running. If the BrightForms version is 1.2.3, then it will return 10203. That is, the major version is multiplied by 10000, and the minor version is multiplied by 100 and then they are simply added to the third bug fix version number. Similarly for Version 5.2.0, it will return 50200; and for Version 6.0.5, it will return 60005; and so on. |
string
|
Returns
the unique device id as a string |
string
|
Returns the name of the device |
string |
Returns the amount of space available on a disk
volume in Kilo Bytes (KB). It returns -1 if the method
is unsuccessful. string -
Specifies a directory on the specified disk of interest.
If empty, then the current disk information will be
returned. Use an empty string or "\" for the main storage on the device. Use "\Memory Card" or "\Storage Card" to find out the available free space on a SD card. Use "c:\" for the free disk space on the C: drive on a desktop application. |
string |
Returns the comma separated list of IP addresses.
An empty string will be returned on error
|
string |
Returns the OS specific line separator.
|
string |
Returns the today's BrightForms settings password
based on the current system date
|
boolean |
Starts an external program. It does not wait for
the external program to complete. The string passed must
contain the path, the name of the program and the arguments
to be passed to the program. Returns true if the program
is started successfully, otherwise returns false. string -
Specifies the module to execute The command line to be passed to the executable module MUST be enclosed in double qoutes (""). |
int |
Starts an external program and waits for the external
program to finish. The string passed must contain the
path, the name of the program and the arguments to be
passed to the program. Returns zero if the external program
has completed successfully, otherwise returns the error
code returned from the external program. string -
Specifies the module to execute The command line to be passed to the executable module MUST be enclosed in double qoutes (""). |
int |
Sets the name of the RAS dialup entry to be used
by BrightForms to initiate a call to BrightServer. Returns
0 if successful, otherwise the error code. string -
Name of the RAS dialup entry to be used |
void |
Suspends the execution of the application for a
specified interval. int - Specifies
the time in milliseconds |
int |
Returns the current battery level in percentage.
Returns -1 if the battery level cannot be queried.
|
int |
Returns the battery status. Use System constants
to check the returned value. Returns -1 if the battery
status cannot be queried.
|
int |
Returns true if the battery is on AC power and charging,
otherwise false.
|
string |
Returns
the comma separated list of the names of the languages
defined in the application. This is the list of short
ISO language names (e.g. "def,en_US,fr"). Note
that the application's default language is returned as
"def" in the list. |
string |
Returns
the application's current language name. This is the short
ISO name (e.g. "en" for English or "en_AU"
for Australian English or "def" for the default
language). Note that the application's default language
is returned as "def". |
int |
Sets the
application language. BrightForms will use the resource
strings for this language to present the application interface.
To use the default application language, then specify
"def" as the language name. Returns 0 if successful,
otherwise the error code.
|
void |
Display a notification message to the user outside
of the application's normal UI. When the user taps
on the notification, the app will be brought to the foreground,
in the same way as tapping the launch icon does.. string - The title of the user notification string -
The text body of the user notification Supported on Android only. When you tell the system to issue a notification, it first appears as an icon in the notification area. To see the details of the notification, the user opens the notification drawer. Both the notification area and the notification drawer are system-controlled areas that the user can view at any time. |
void |
Terminates the application and returns the status code passed to the operating system. IMPORTANT NOTE:
This method will terminate the application immediately
without any cleanups or proper shutdown steps. Therefore
it must be used with extreme caution as it may lead to
data losses if not used correctly. int - Exit
status code to be returned to the OS. Return 0 to
indicate a successful (normal) exit. |
int |
Returns the operating system type that BrightForms
is currently running on. Use system constants to evaluate
the returned OS id.
|
int |
Returns the major version of the operating system
that BrightForms is currently running on
|
int |
Returns the minor version of the operating system
that BrightForms is currently running on
|
string |
Returns the name of the project author
|
string |
Returns the project description
|
int |
Returns the id of the project
|
int |
Returns the project release number assigned by BrightServer
|
string |
Returns the user assigned project version set in
BrightBuilder project settings
|
int |
Executes the specified object action. string - Object name |
void |
Clears the object state that has been configured
so far.
|
void |
Sets the value of the named object property/attribute. string - The name of the property/attribute |
void |
Sets the value of the named object property/attribute
as a 64 bit long value. Simply the value passed will be
converted to a long number and set as the property/attribute
value. string - The name of the property/attribute |
void |
Enables/disables the specified form aspect.. string - Name of the aspect to be used as the default aspect. Given the form and screen dimensions, if there is more than one aspect that could be used to display a form, then BrightForms will use this default aspect to choose the aspect of the form to be displayed. boolean
- True enables the form aspect, False disables it. Note: |
string |
Returns the name of the default aspect.
|
int |
Returns the height of the screen in pixels.
|
int |
Returns the width of the screen in pixels.
|
void |
Sets the name of the default aspect. string -
Name of the aspect to be used as the default aspect.
Given the form and screen dimensions, if there is
more than one aspect that could be used to display
a form, then BrightForms will use this default aspect
to choose the aspect of the form to be displayed. |
string |
Returns the database name including full file path
|
string |
Returns the user password from the settings file
|
string |
Returns the full directory path where the project
files are stored
|
int |
Returns the port number configured for the push
listener
|
string |
Returns the value of the specified setting as a
boolean value or a null on error. string -
Name of the setting to be retrieved |
string |
Returns the value of the specified setting as an
integer value or a null on error. string - Name of the setting to be
retrieved |
string |
Returns the value of the specified setting as a
string value or a null on error. string - Name of the setting to be
retrieved |
string |
Returns the user name from the settings file
|
boolean |
Checks the string passed against the user password
stored in the settings. If they match, it returns true,
otherwise false. string -
String to be checked |
boolean |
Checks the string passed against the user name stored
in the settings. If they match, it returns true, otherwise
false. string -
String to be checked |
int |
Sets the database name including full file path.
Returns 0 if successful, otherwise an error. string -
New database name |
int |
Sets the user password in the settings file. Returns
0 if successful, otherwise an error. string -
New user password |
string |
Sets the full directory path where the project files
are stored. Returns 0 if successful, otherwise an error. string -
New project path |
int |
Sets the value of the specified setting as a boolean
value. Returns 0 if successful, otherwise an error. string - Name of the setting to be
set |
int |
Sets the value of the specified setting as an integer
value. Returns 0 if successful, otherwise an error. string - Name of the setting to be
set |
int |
Sets the value of the specified setting as a string
value. Returns 0 if successful, otherwise an error. string - Name of the setting to be
set |
int |
Sets the user name in the settings file. Returns
0 if successful, otherwise an error. string -
New user name |
int |
Plays a sound specified by a file name. Returns
0 if successful, otherwise an error code. string -
Name of the sound file to be played |
void |
Stops the sound that is being played in a loop.
|
string |
Returns the user agent details of the current user.
This is the User-Agent value of the HTTP header received
from the remote user device.
|
void |
Marks the specified file for download. The file
will be requested for download by the current web form. string - The full path and name of
the file to be downloaded by the browser. |
void |
Logs a "debug" level message to the BrightForms
trace file. This method creates a log entry only if the
trace level is set to "debug" on the "System"
tab in the BrightForms Settings page. string -
Message to be logged |
void |
Logs an "error" level message to the BrightForms
trace file together with the error number passed. This
method creates a log entry only if the trace level is
set to "debug", "info", "warning"
or "error" on the "System" tab in
the BrightForms Settings page. string -
Message to be logged |
void |
Logs an "info" level message to the BrightForms
trace file. This method creates a log entry only if the
trace level is set to "debug" or "info"
on the "System" tab in the BrightForms Settings
page. string -
Message to be logged |
void |
Logs a "warning" level message to the
BrightForms trace file. This method creates a log entry
only if the trace level is set to "debug", "info",
or "warning" on the "System" tab in
the BrightForms Settings page. string -
Message to be logged |
base64Binary |
Decompresses (unzips) the binary data passed and
returns a decompressed binary stream. It will return NULL
if the method fails. This object uses the zlib library. base64Binary -
Binary data to be decompressed (unzipped) |
base64Binary |
Compresses (zips) the binary data passed and returns
a compressed binary stream. It will return NULL if the
method fails. This object uses the zlib library. base64Binary -
Binary data to be compressed (zipped) |
void |
Disables the button.
|
void |
Enables the button.
|
void |
Hides the button.
|
void |
Simulates button click event as if the user clicked
on the button.
|
boolean |
Returns true if the button is enabled, otherwise
false.
|
boolean |
Return true if the button is visible, otherwise
false.
|
void |
Changes the background color of the control int - Specifies
the intensity of the red color |
void |
Updates the button caption. string - New button caption |
void |
Sets the focus to the button control
|
void |
Changes the current font to the specified font string -
Font name Ensure that the Font you specify is available on your device. |
void |
Changes the text color of the control int - Specifies
the intensity of the red color |
void |
Shows the button.
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Disables the check box.
|
void |
Enables the check box.
|
void |
Hides the check box.
|
void |
Simulates button click event as if the user clicked
on the check box.
|
boolean |
Checks if the check box state has been altered by
the user. Returns true if the check box state has changed,
otherwise false.
|
boolean |
Returns true if the check box is enabled, otherwise
false.
|
boolean |
Return true if the check box is visible, otherwise
false.
|
void |
Resets the dirty state and sets the current value
as the reference value to be compared later to check if
the check-box state has been modified or not.
|
void |
Changes the background color of the control int - Specifies
the intensity of the red color |
void |
Updates the checkbox caption. string - New checkbox caption |
void |
Sets the focus to the check box
|
void |
Changes the current font to the specified font string -
Font name Ensure that the Font you specify is available on your device. |
void |
Changes the text color of the control int - Specifies
the intensity of the red color |
void |
Shows the check box.
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Adds a new item to the combo box string -
New string item to be added to the combo box |
void |
Disables the combo box.
|
void |
Enables the combo box.
|
any |
Returns the value of the specified column of the
current selection string -
Database name of the column. This method is useful to derive column values for data passing or execution of an event. |
int |
Returns the number of entries (items) in the combo
box
|
int |
Returns the current selection index. -1 if no selection
is made.
This method is useful to check if users selected from the list or not. This minimizes the execution of an event if no selection was made. |
void |
Hides the combo box.
|
void |
Hides the software input panel(software keyboard)
on Windows CE devices
|
boolean |
Checks if the combo box selection has been altered
by the user. Returns true if the combo box selection has
changed, otherwise false.
|
boolean |
Returns true if the combo box is enabled, otherwise
false.
|
boolean |
Return true if the combo box is visible, otherwise
false.
|
void |
Refreshes the content of the combo box by re-running
the query.
Make sure that all query parameters have been initialised before the refresh method is executed. Initialise parameters by assigning values to it. Parameters are listed under the Form\Parameters of the Data Source Tree. |
void |
Clears the content of the combo box as well as its
edit control
|
void |
Resets the dirty state and sets the current value
as the reference value to be compared later to check if
the combobox has been modified or not.
|
void
|
Sets the
name of the database column whose values are to be displayed
in the combo box.
|
void |
Sets the focus to the combo box
|
void |
Changes the current font to the specified font string -
Font name Ensure that the Font you specify is available on your device. |
void |
Selects the software input panel type (keyboard,
transcriber etc.) on Windows CE devices string -
Name of the input panel. Use System constants to specify
the type of the software input panel to be used. |
void |
Sets the current selection. int - New
selection index. -1 deselects the current selection. |
int
|
Updates
the combobox's advanced SQL SELECT statement. This method
will be ignored if the combobox query is not of an Advanced
SQL type. Returns 0 if successful, otherwise the error
code.
|
int
|
Sets the
advanced SQL query parameter value. Query parameters are
defined by the question marks (?) in the SQL statements.
The query parameter set by this method is used only for
the Advanced SQL queries, otherwise this method call will
be ignored. Returns 0 if successful, otherwise the error
code.
|
void |
Shows the combo box.
|
void |
Launches the sofware input panel(software keyboard)
on Windows CE devices
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Disables the date time picker.
|
void |
Enables the date time picker.
|
void |
Hides the date time picker.
|
boolean |
Checks if the date time selection has been altered
by the user. Returns true if the date time selection has
changed, otherwise false.
|
boolean |
Returns true if the date time picker is enabled,
otherwise false.
|
boolean |
Return true if the date time picker is visible,
otherwise false.
|
void |
Resets the dirty state and sets the current value
as the reference value to be compared later to check if
the date-time selection has been modified or not.
|
void |
Sets the focus to the date-time control
|
void |
Changes the current font to the specified font string -
Font name Ensure that the Font you specify is available on your device. |
void |
Shows the date time picker.
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Disables the edit control.
|
void |
Enables the edit control.
|
void |
Turns on or off the text change events. If turned
off, then text change events will not be run. boolean -
false to turn off the text change events fired by
the edit control, otherwise true to enable text change
events. Note that, by default, edit control text change
events are enabled. |
void |
Hides the edit control.
|
void |
Hides the sofware input panel (software keyboard)
on Windows CE devices
|
boolean |
Checks if the edit field has been altered by the
user. Returns true if the edit field has changed, otherwise
false.
|
boolean |
Returns true if the edit control is enabled, otherwise
false.
|
boolean |
Return true if the edit control is visible, otherwise
false.
|
void |
Turns ON or OFF the edit control's read-only attribute boolean -
true if the edit control is to be read only, otherwise
false |
void |
Resets the dirty state and sets the current value
as the reference value to be compared later to check if
the edit field has been modified or not.
|
void |
Selects a range of characters in the edit control int - Specifies
the starting position. If the starting position is
zero and the ending position is -1, all the text in
the edit control is selected. If the starting position
is -1, any current selection is removed. |
void |
Changes the background color of the control int - Specifies
the intensity of the red color |
void |
Sets the focus to the edit control
|
void |
Changes the current font to the specified font string -
Font name Ensure that the Font you specify is available on your device. |
void |
Sets the hint text to be displayed when the Edit
control is empty string- Hint text. Empty string will remove the hint. |
void |
Selects the software input panel type (keyboard,
transcriber etc.) on Windows CE devices string -
Name of the input panel. Use System constants to specify
the type of the software input panel to be used. |
void |
Changes the number precision of the edit control. int - Number
of digits after the decimal point |
void |
Changes the text color of the control int - Specifies
the intensity of the red color |
void |
Shows the edit control.
|
void |
Launches the sofware input panel(software keyboard)
on Windows CE devices
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Disables the group box.
|
void |
Enables the group box.
|
void |
Hides the group box.
|
boolean |
Returns true if the group box is enabled, otherwise
false.
|
boolean |
Return true if the group box is visible, otherwise
false.
|
void |
Changes the background color of the control int - Specifies
the intensity of the red color |
void |
Updates the groupbox caption. string - New groupbox caption |
void |
Changes the current font to the specified font string -
Font name Ensure that the Font you specify is available on your device. |
void |
Changes the text color of the control int - Specifies
the intensity of the red color |
void |
Shows the group box.
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Disables the image.
|
void |
Enables the image.
|
void |
Hides the image.
|
boolean |
Returns true if the image is enabled, otherwise
false.
|
boolean |
Return true if the image is visible, otherwise false.
|
void |
Shows the image.
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Disables the static label.
|
void |
Simulates button click event as if the user clicked
on the label.
|
void |
Enables the static label.
|
void |
Hides the static label.
|
boolean |
Returns true if the label is enabled, otherwise
false.
|
boolean |
Return true if the label is visible, otherwise false.
|
void |
Changes the background color of the control int - Specifies
the intensity of the red color |
void |
Changes the current font to the specified font string -
Font name Ensure that the Font you specify is available on your device. |
void |
Changes the text color of the control int - Specifies
the intensity of the red color |
void |
Sets the web URL that the label control will open
in another window or tab, when it is clicked. string -
Web URL to be opened when the label control is clicked. |
void |
Shows the static label.
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
int
|
Deletes
all the columns of the list view control. Returns 0 if
successful, otherwise the error code. |
int
|
Deletes
the list view column at the specified index. Returns 0
if successful, otherwise the error code.
|
void |
If the listview has a checkbox column, it marks
all the items in the list as deselected (i.e. all the
checkboxes are unchecked).
This method is ignored if the listview does not have a checkbox column selected. |
void |
Disables the list view.
|
void |
Enables the list view.
|
int |
Returns the current number of columns (headers)
defined for the listview.
|
any |
Returns the value of the specified column at the
specified row. int - Row
index |
any |
Returns the value of the specified column of the
current highlighted row. string -
Database name of the column. This method is useful to derive column values for data passing or execution of an event. |
int |
Returns the number of rows (items) in the list view
|
int |
Returns the number of selected rows (items) in the
list view
|
int |
Returns the current selected row index. Returns
-1 if no row has been selected yet.
This method is useful to check if users selected from the list or not. This minimizes the execution of an event if no selection was made. |
any |
Returns the value of the specified column at the
specified row. This method works ONLY if the row is visible
i.e. in the internal cache of the listview. Otherwise
a null value is returned. int - Row
index |
int |
Returns the vertical scroll position
|
void |
Hides the list view.
|
int
|
Inserts
a new column in the listview control. Returns 0 if successful,
otherwise the error code.
|
boolean |
Checks if the grid data has been changed by the
user (i.e. if the grid data is dirty). Returns true if
the grid data has been modified by the user, otherwise
false.
|
boolean |
Checks if the grid data row has been changed by
the user (i.e. if the grid data at the specified row is
dirty). Returns true if the row data has been modified
by the user, otherwise false.
|
boolean |
Checks if the specified list view row is selected.
Returns true if selected, otherwise false. int - Zero
based index of the list row whose selection state
is to be retrieved. This means that the index of the
first row is zero. |
boolean |
Returns true if the listview is enabled, otherwise
false.
|
boolean |
Return true if the listview is visible, otherwise
false.
|
void |
Turns ON or OFF the listview control's read-only
attribute boolean -
true if the listview control is to be read only, otherwise
false This method will make the listview checkboxes read only, disallowing user input but still allowing the action events to be executed. |
void |
Refreshes the content of the list view by re-running
the query
Make sure that all query parameters have been initialised before the refresh method is executed. Initialise parameters by assigning values to it. Parameters are listed under the Form\Parameters of the Data Source Tree. |
void |
Resets the filter criteria to show all records in
the listview. Need to call Refresh method after calling
this method.
|
void |
Resets the column widths to the design-time values.
|
int |
Saves the grid data. Returns 0 if successful, otherwise
the error code.
|
void |
If the listview has a checkbox column, it marks
all the items in the list as selected (i.e. all the checkboxes
are checked).
This method is ignored if the listview does not have a checkbox column selected. |
int |
Updates the value of the specified column at the
specified row. Returns 0 if successful, otherwise the
error code. int - Row
index |
void |
Sets the filter criteria on the specified column.
Need to call Refresh method after setting the filter. string -
Filter column name. Include table name if necessary
using TableName.ColumnName format |
void |
Sets the focus to the list view control
|
void |
Changes the current font to the specified font string -
Font name Ensure that the Font you specify is available on your device. |
void |
Sets the current selection. int - New
selection index. -1 deselects the current selection. |
void |
Sets the sort order by which the listview records
are to be sorted. Need to call Refresh method after setting
the sort order. string -
This is the sort order. It is simply consisted of
comma separated column names and/or their sort types
(ASC for ascending or DESC for descending) Default sort order is ascending. For instance "NAME" is identical to "NAME ASC". However if the name column is to be sorted by descending order, then "NAME DESC" must be specified. Multiple columns can be specified with different sort types (ASC or DESC separated with a space from the column name). An example for multiple column sort order would be "NAME ASC, AGE DESC". |
int
|
Updates
the listview's advanced SQL SELECT statement. This method
will be ignored if the listview query is not of an Advanced
SQL type. Returns 0 if successful, otherwise the error
code.
|
int
|
Sets the
advanced SQL query parameter value. Query parameters are
defined by the question marks (?) in the SQL statements.
The query parameter set by this method is used only for
the Advanced SQL queries, otherwise this method call will
be ignored. Returns 0 if successful, otherwise the error
code.
|
int |
Updates the value of the specified column at the
specified row. This method works ONLY if the row is visible
i.e. in the internal cache of the listview. Returns 0
if successful, otherwise the error code. int - Row
index |
void |
Scrolls to the new vertical scroll position int - New
vertical scroll position |
void |
Shows the list view.
|
void |
Shows or hides a listview column. The column index
specifies the one of columns selected at the design time. int - Index
of the column to be shown or hidden. The index of
the first column is zero. |
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Disables the radio button group
|
void |
Disables this radio button only
|
void |
Enables the radio button group
|
void |
Enables this radio button only
|
void |
Hides the radio button group
|
void |
Hides this radio button only
|
void |
Simulates button click event as if the user clicked
on the radio button.
|
boolean |
Checks if the radio button selection has been altered
by the user. Returns true if the radio button selection
has changed, otherwise false.
|
boolean |
Returns true if the radio button is enabled, otherwise
false.
|
boolean |
Return true if the radio button is visible, otherwise
false.
|
void |
Resets the dirty state and sets the current value
as the reference value to be compared later to check if
the radio button selection has been modified or not.
|
void |
Changes the background color of the control int - Specifies
the intensity of the red color |
void |
Updates the radio button caption string -
New radio buttton caption |
void |
Sets the focus to the radio button
|
void |
Changes the current font to the specified font string -
Font name Ensure that the Font you specify is available on your device. |
void |
Changes the text color of the control int - Specifies
the intensity of the red color |
void |
Shows the radio button group
|
void |
Shows this radio button only
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Disables the scribble control.
|
void |
Enables the scribble control.
|
void |
Hides the scribble control.
|
boolean |
Checks if the signature field has been altered by
the user. Returns true if the signature has changed, otherwise
false.
|
boolean |
Returns true if the scribble is enabled, otherwise
false.
|
boolean |
Return true if the scribble is visible, otherwise
false.
|
void |
Loads the binary image into the scribble control base64Binary -
Binary blob (image as a byte stream) |
void |
Loads the bitmap byte values into the scribble control base64Binary -
Binary blob (bitmap as a byte stream) |
void |
Loads the bitmap file specified into the scribble
control string -
Name and location of the bitmap file to be loaded |
void |
Loads the image file specified into the scribble
control string -
Name and location of the image file to be loaded |
void |
Clears the scribble preparing for a new entry.
|
void |
Resets the dirty state and sets the current value
as the reference value to be compared later to check if
the signature field has been modified or not.
|
void |
Saves the scribble to the bitmap file specified string -
Name and location of the bitmap file in which the
scribble is to be stored |
void |
Saves the scribble to a JPEG file specified string -
Name and location of the JPEG file in which the scribble
is to be stored |
void |
Shows the scribble control.
|
void |
Turns on and off change tracking for the control. By default, it is turned off. This method must be turned on for Undo() and Redo()
methods to work. boolean - True to turn on the change
tracking, false to turn off |
void |
Redraw the previously removed change.
|
void |
Removes the most recent change.
|
void |
Changes the pen color of the control int - Specifies
the intensity of the red color |
void |
Changes the pen width of the control
|
int |
Returns the control's height
|
int |
Returns the control's left position on the form
|
int |
Returns the control's top position on the form
|
int |
Returns the control's width
|
void |
Moves the control to a new position int - x : The new position of the
left side of the control |
void |
Enable or disable the snap to grid functionality
for the control. boolean - true to turn on the snap-to-grid,
false to turn off |
void |
Changes the grid size when scribble control is in
'line mode'. int - New grid size |