Product |
EditEx |
Manufacturer |
Standard Satellite Forms component |
Website |
|
Source code provided |
Yes |
Platform |
PalmOS, PocketPC |
Sample project(s) |
FindReplace |
Keywords |
string, text, selection, instr |
EditEx is an extension which may be used to manipulate values in Satellite Forms Edit and Paragraph controls.
Scripts API
The following methods are accessible from the scripting language. Please note that these are all public methods.
Usage: [Name of method]
Example of usage: EditExSetInsertion(MainParagraphIndex, 0)
EditExAbout()
Show extension's about box.
Sample usage: EditExAbout()
EditExAppendText(integer, string)
Appends text to the control's text.
Sample usage: EditExAppendText(AppDesIndex, Text)
EditExBackspace(integer)
Backspaces one character.
Sample usage: EditExBackspace(AppDesIndex)
EditExDeleteText(integer, integer, integer)
Deletes text from the control.
Sample usage: EditExDeleteText(AppDesIndex, Start, End)
EditExGetInsertion(integer)
Gets the current insertion position.
Sample usage: Insertion EditExGetInsertion(AppDesIndex)
EditExGetSelectionEnd(integer)
Gets selection end position.
Sample usage: End EditExGetSelectionEnd(AppDesIndex)
EditExGetSelectionStart(integer)
Gets selection start position.
Sample usage: Start EditExGetSelectionStart(AppDesIndex)
EditExInsertText(integer, string)
Insert text at the current insertion position.
Sample usage: EditExInsertText(AppDesIndex, Text)
EditExSetInsertion(integer, integer)
Sets the insertion position.
Sample usage: EditExSetInsertion(AppDesIndex, Insertion)
EditExSetSelection(integer, integer, integer)
Sets the selected characters into the designated field.
Sample usage: EditExSetSelection(AppDesIndex, Start, End)
EditExInstr(integer, string, string, integer)
Returns the position of the first occurrence of one string within another.
Sample usage: EditExInStr(Start, String1, String2, Compare). Start specifies the start offset in String1. Compare: specify 0 (default) to perform a binary comparison. Specify 1 to perform a textual, non-case-sensitive comparison
DocID: 10135 DocDate: 2005-07-18