Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing the application program
Message
From
07/09/1999 00:41:54
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00261712
Message ID:
00261842
Views:
22
If APP_GLOBAL is defined publicly before the toolbar is clicked on, the same code should work in the Click of the Toolbar.

>I created a application framework which uses the userlogin option.
>
>I want to access the userlogin class via a button on the toolbar.
>
>The File menu access it with the following command:
>
>IIF(APP_GLOBAL.ReleaseForms(),IIF(APP_GLOBAL.SetCurrentUser(.T.),.T., APP_GLOBAL.Release()),.T.)
>
>How can I do a similar command from a toolbar button so I can prompt for the user?
>
>Thanks,
>
>Dennis
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform