Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview control
Message
 
À
20/05/2005 05:21:57
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01016128
Message ID:
01016163
Vues:
12
Yau,

If you want to allow a user to edit or insert data right into the Treeview control *AND* enter it as two separate fields, then the Treeview by itself won't be able to help you much. You could set editing to manual, and when the user enters edit mode, show two textboxes in front of the Treeview covering the appropriate node of the Treeview. When focus leaves the textboxes, you could hide them and update the Node. The only way I can think of to do it directly with the Treeview would be a training issue where you tell the user what format to enter the data and you parse it for storage, but that would be open to many problems.

HTH,
Chad


>Craig,
>Thanks for the solution. However, if we use the tree view to enter data values including the description, can that be done ?
>Thanks
>Yau
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform