Cool. This ones been bugging me for some time.
Geoff
>>Hi
>>
>>I have a number of visual forms where I set standard 'hot keys' using ON KEY LABEL.
>>
>>In order to execute the custom methods defined in my form I have to first declare a public variable and set it to my form because if I dont I get an error message saying 'THISFORM can only be used within a method' when I active the hot key.
>>
>>I would like to get rid of the public variable but cannot figure out another way of referencing my form.
>>
>>Any ideas???
>>
>>Regards
>>Geoff Scott
>
>_SCREEN.ActiveForm
May all your weeds be wildflowers