PROPLIST.GetValue

Previous  Next

 

value = PROPLIST.GetValue( propname        AS STRING,

                          [bGetStringValue AS INTEGER=FALSE] ) AS VARIANT

 


 

Returns the value of a property.  For Comboboxes, the current string is returned unless getindex is set to TRUE.  In this case, the index is returned with first item being index 0.

 

The function uses the default panel selected by using PROPLIST.SelectPane.

 

Example:

 

PRINT "Floating Point = ";PROPLIST.GETVALUE( "Floating Point" ),

PRINT "Integer Value = ";PROPLIST.GETVALUE( "Integer Value" ),

PRINT "Select Color = ";PROPLIST.GETVALUE( "Select Color" ),

PRINT "Checked Item ? = ";PROPLIST.GETVALUE( "Checked Item ?" ),

PRINT "What's Your Name ? = ";PROPLIST.GETVALUE( "What's Your Name ?" ),

PRINT "And Your Address ? = ";PROPLIST.GETVALUE( "And Your Address ?" ),

PRINT "Sexy = ";PROPLIST.GETVALUE( "Sexy" ),

PRINT "Sexy Index = ";PROPLIST.GETVALUE( "Sexy", TRUE ),

PRINT "Pick a Font = ";PROPLIST.GETVALUE( "Pick a Font" ),

PRINT "Any Links ? = ";PROPLIST.GETVALUE( "Any Links ?" ),

PRINT "Email Address ? = ";PROPLIST.GETVALUE( "Email Address ?" ),

PRINT "File Under = ";PROPLIST.GETVALUE( "File Under" ),

PRINT "Pick Something = ";PROPLIST.GETVALUE( "Pick Something" ),

PRINT "Just Browsing = ";PROPLIST.GETVALUE( "Just Browsing" ),