Core Function GUIWindow
From Sputnik Wiki
(Difference between revisions)
(→Functions) |
(→SetIcon) |
||
Line 35: | Line 35: | ||
<syntaxhighlight lang="sputnik"> | <syntaxhighlight lang="sputnik"> | ||
GUIWindow($GUI, "SetIcon", "FoX.ico"); | GUIWindow($GUI, "SetIcon", "FoX.ico"); | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | ==== BorderStyle ==== | ||
+ | |||
+ | Set the window border icon | ||
+ | |||
+ | <syntaxhighlight lang="sputnik"> | ||
+ | GUIWindow($GUI, "BorderStyle"); // Get | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | <syntaxhighlight lang="sputnik"> | ||
+ | GUIWindow($GUI, "BorderStyle", 0); // Set | ||
+ | # Possible BorderStyle options | ||
+ | # 0 = None | ||
+ | # 1 = Fixed Single | ||
+ | # 2 = Fixed 3D | ||
+ | # 3 = Fixed Dialog | ||
+ | # 4 = Fixed Sizeable | ||
+ | # 5 = Fixed FixedToolWindow | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 20:01, 13 October 2013
GUIWindow( <window> )
Contents |
Description
Properties & Functions specifically for Window
Parameters
window
The GUI Window object to use.
Functions
Activate
GUIWindow($GUI, "Activate");
Focus
GUIWindow($GUI, "Focus");
SetIcon
Set the window icon
Set from File:
GUIWindow($GUI, "SetIcon", "FoX.ico");
BorderStyle
Set the window border icon
GUIWindow($GUI, "BorderStyle"); // Get
GUIWindow($GUI, "BorderStyle", 0); // Set # Possible BorderStyle options # 0 = None # 1 = Fixed Single # 2 = Fixed 3D # 3 = Fixed Dialog # 4 = Fixed Sizeable # 5 = Fixed FixedToolWindow
Example
See above