Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WVBXControl:GetPropByName() Method
Get a property value using its name
------------------------------------------------------------------------------

Syntax
<oWnd>:GetPropByName( <cName> )   -->   xValue

Arguments
<cName> is the name of the property.

Returns
The current value of the property is returned.

Description
This method can be used to get the current value of the
specified property.

Example
// From SOURCE\OO\VBXDEMO.PRG:
CLASS MyVBXDialog INHERIT WVBXDialog
     // . . .
     METHOD ChangeOrientation()                                 ;
            INLINE local n,                                      ;
                   n := ::oSpin:GetPropByName("SpinOrientation"),;
                   ::oSpin:SetPropByName("SpinOrientation",      ;
                                         iif(n == 0, 1, 0))


See Also: WVBXControl:GetProp() WVBXControl:SetPropByName()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson