Core Function isVarGUIObject

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> isVarGUIObject( $variable, <type> ) </pre> === Description === Check if a variable's object type is a GUI Object (Buttons etc). === Parameters === ==== variable ==== T...")
 
(type)
Line 27: Line 27:
 
"groupbox"
 
"groupbox"
 
"radiobutton"
 
"radiobutton"
 +
"progressbar"
 
</pre>
 
</pre>
  

Revision as of 07:55, 28 March 2012

isVarGUIObject( $variable, <type> )

Contents

Description

Check if a variable's object type is a GUI Object (Buttons etc).

Parameters

variable

The variable to check.

type

Optoinal; The type to check against valid types are:

[TYPE]			[DETAILS]
"button"
"textbox"
"datagrid"
"label"
"checkbox"
"tabsheet"
"tabpage"
"groupbox"
"radiobutton"
"progressbar"

Default just checks if it IS an object type or not.

Return Value

Success: Returns 1.

Failure: Returns 0.

Remarks

None.

Example

$var1 = "check me";
println( "Is it?: " . isVarGUIObject($var1) );
println( "Is it?: " . isVarGUIObject($var1, "groupbox") );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox