Свойство | Type | Description | |
---|---|---|---|
showPreview | bool |
Свойство | Type | Description | |
---|---|---|---|
ExitButtonMode | void | ||
GWCapture | void | ||
GWPrint | void | ||
PauseUpdates | void | ||
RegexMatch | Primitive | ||
RegexReplace | Primitive | ||
ResumeUpdates | void | ||
TWCapture | void | ||
TWPrint | void | ||
TopMostGW | void | ||
TransparentGW | void | ||
UnZip | Primitive | ||
Zip | Primitive | ||
ZipList | Primitive |
Méthode | Description | |
---|---|---|
CleanTemp ( ) : Primitive |
Delete all Small Basic related files from the temp folder. These are files with extensions tmp, pdb and dll. Other applications may also use these, so best to use with no other apps running.
|
|
ColourList ( ) : Primitive |
Get an array of available colour names.
|
|
FixFlickr ( ) : void |
Fix the Flickr object (Version 1.0).
|
|
FontList ( ) : Primitive |
Get an array of available font names.
|
|
GetCultureInvariantNumber ( Primitive input ) : Primitive |
Get a number expressed in the culture invariant form. A number must be culture invariant in order to be treated as a number in calculations. A current culture number is how it is input or output. For example "3.14" is culture invariant, while "3,14" is French culture.
|
|
GetCurrentCultureNumber ( Primitive input ) : Primitive |
Get a number expressed in the current culture. A number must be culture invariant in order to be treated as a number in calculations. A current culture number is how it is input or output. For example "3.14" is culture invariant, while "3,14" is French culture.
|
|
GetNextMapIndex ( Primitive listName ) : Primitive |
Get the next integer for object names. For example Buttons are labeled "Button1", "Button2" etc. This method returns the integer index that would be used for the next object added.
|
|
IsNumber ( Primitive input ) : Primitive |
Test if the input will be treated by SmallBasic as a number. This is a culture invariant number, e.g. "3.14", but not "3,14" or "24x".
|
|
KeyDown ( Primitive key ) : Primitive |
Get if a key is down. Useful for simplified keyboard game control.
|
|
Version ( ) : Primitive |
Gets the current version of the extension and displays a window with this information and a changelog.
|
Méthode | Description | |
---|---|---|
ExitButtonMode ( Primitive window, Primitive mode ) : void | ||
GWCapture ( Primitive fileName, Primitive border ) : void | ||
GWPrint ( Primitive border ) : void | ||
PauseUpdates ( ) : void | ||
RegexMatch ( Primitive input, Primitive pattern, Primitive caseSensitive ) : Primitive | ||
RegexReplace ( Primitive input, Primitive pattern, Primitive replacement, Primitive caseSensitive ) : Primitive | ||
ResumeUpdates ( ) : void | ||
TWCapture ( Primitive fileName, Primitive border ) : void | ||
TWPrint ( Primitive border ) : void | ||
TopMostGW ( Primitive top ) : void | ||
TransparentGW ( ) : void | ||
UnZip ( Primitive zipFile, Primitive directory ) : Primitive | ||
Zip ( Primitive zipFile, Primitive files ) : Primitive | ||
ZipList ( Primitive zipFile ) : Primitive |
public static GetCultureInvariantNumber ( Primitive input ) : Primitive | ||
input | Primitive | A number expressed in the current culture. |
Résultat | Primitive |
public static GetCurrentCultureNumber ( Primitive input ) : Primitive | ||
input | Primitive | A culture invariant number. |
Résultat | Primitive |
public static GetNextMapIndex ( Primitive listName ) : Primitive | ||
listName | Primitive | /// The map (list) type, valid listNames (Case sensitive) are: /// "Button" /// "TextBox" /// "ImageList" /// "Ellipse" /// "Image" /// "Line" /// "Rectangle" /// "Text" /// "Triangle" /// "Polygon" /// "Control" /// |
Résultat | Primitive |
public static IsNumber ( Primitive input ) : Primitive | ||
input | Primitive | The input to test. |
Résultat | Primitive |
public static KeyDown ( Primitive key ) : Primitive | ||
key | Primitive | The key to get down state, eg "Space". |
Résultat | Primitive |