Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar and modal form problem
Message
 
 
À
14/11/2004 19:42:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00961287
Message ID:
00961476
Vues:
6
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform