Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem access active form properties from toolbar
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01103430
Message ID:
01103602
Vues:
15
Check How to show a toolbar in a top level form at startup FAQ #13318

>
>Thanks. From the threads you gave me I see that having a top level form is a problem. Unfortunately I have a top level form. I see MSDN talks about designing a state manager to know which is the active form and wether the toolbar should be displayed. But I have no idea where to start with this, how to create etc. My main problem is that I have a top level form with a menu. When I open a form to capture data for example I create a toolbar (add,change,etc). If I minimize that form I want to hide the toolbar if the current active form does not require it. I have added a property to each of my forms to determine if they need this toolbar. In the refesh method of the toolbar I use "_screen.activeform.property" to check if I should hide the toolbar or not. But then I get the error "Active.Control" is not an object. How do I control when the toolbar should be visible or not
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform