Information générale
Catégorie:
Programmation Orientée Object
>>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
>
>The question how you start this form. If you do it linking form object to some application (or toolbar) custom property then you may use this link to call form PEMs.
>Example:
>*** start the form
>DO FORM myform NAME oMyToolbar.MyForm LINKED
>*** call some form object from toolbar
>This.MyForm.Show()
>This.MyForm.MyControl1.SetFocus
Ed,
Thanks for the help.
Stan Symons
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement