Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add only one control in a class to a form at runtime
Message
De
19/01/2007 10:21:50
 
 
À
19/01/2007 10:09:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01186956
Message ID:
01186974
Vues:
23
Not sure if it can be done, but how about making the other controls in the container invisible.

>I have a form which is basically a picklist. The form is launched in a prg using CREATEOBJECT() referencing the class. On the bottom portion of the form I add a container with numerous controls on it during runtime. The picklist form size is adjusted to account for the added container and its objects. However, in ONE case (and only case), I want to take one of the controls from inside the container and move it outside the container and to the top of the form itself (outside of its container) because the container and its object may or may not be accessible due to security permissions but ONE of the controls I want everyone to have access to. However, it is not a control that should be available on the picklist under all conditions but only specific conditions. Is there a way programmatically to move an object outside of a container and onto a form itself programmatically or to add only one control from a container in a class to a form?
>
>Can this easily be done?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform