Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar and modal form problem
Message
 
 
To
14/11/2004 19:42:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00961287
Message ID:
00961476
Views:
7
>>I thought maybe there was a property of a toolbar that I missed that would make disabling toolbar for a modal form automatic. Just like it works for top menu.
>
>Not that I know of. The least coding, I think, would be hiding the entire toolbar. You might control that on form Activate/Deactivate, in your base classes. For example, in Activate, if ThisForm.WindowState = (modal), hide some toolbars.

I ended up putting code to check if _screen.activeform property is Modal which so works very well.

Thank you so much for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform