>>In my form class, I set the default properites that the form assumes when it is called. Is there a way of determining what the original default values were when the form was instantiated? Specifically, I want to know the default form Height and Width properties. Even if the user resizes the form.
>
>ResetToDefault() method should restore to original setting from an object upon loading.
>
>Thisform.ResetToDefault( "Height" )
Rex- I looked around and couldn't find a way to determine the original form height without resetting it. If you need to know it form calculations, and don't want to set it, you could do something like:
lnCurrentHeight = THISFORM.Height
THISFORM.LockScreen = .T.
Thisform.ResetToDefault( "Height" )
lnOriginalHeight = THISFORM.Height
THISFORM.Height = lnCurrentHeight
THISFORM.LockScreen = .F.
The lockscreen commands should keep the visual 'effects' at bay.
Erik Moore
Clientelligence