Versions des environnements
>I added a treeview and populate the nodes. When the form first loaded the treeview is not visible. I have to click where the treeview is located in order for it to appear. Does anyone have any idea why this might happened?
I have seen this as well with other active-x controls (particularly on pageframes); I don't know the cause (both in VFP 8 and VFP 9). I have tried to explicity set .visible=.T. and did not make a difference. What did was to fire the .Setfocus() method in the InteractiveChange() event on the Page; in your case I would suggest calling it in the form Init() event.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement