>I have a Visual 3.0 app using a toolbar with a form that is not part of a form set. What's the proper usage to refer to methods in this form from the toolbar. If I use the form object.method it works if the form is modal but gives me an error if nonmodal. Of course, I want to use the non-modal mode. Any help would be appreciated. Thanks.
>
>Stan Symons
Try the following:
IF TYPE('_SCREEN.ActiveForm.Name') = 'C'
IF PEMSTATUS(_SCREEN.ActiveForm, mymethod, 5)
RETURN EVALUATE(_SCREEN.ActiveForm.mymethod())
ENDIF
ENDIF
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.