Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tree View Focus issue
Message
De
08/04/1999 14:08:31
 
 
À
08/04/1999 13:36:37
Bob Lucas
The WordWare Agency
Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00205934
Message ID:
00206559
Vues:
16
Bob,

tried it to no avail - in fact - even with only one form - I can't make focus stick to anything from within the NodeClick method/event. It always comes back to the treeview and "clicked on" node.

Ken

>This could be an activex issue. try changing focus from the activex treeview control to some other control on your form, and then calling the non-modal form. If the treeview doesn't have focus, it may not ask for it back.
>
>>2nd form is (and must remain) non-modal - thanks for suggestion
>>Ken
>>
>>>Make sure the second form is modal, and executing in the calling form will pause while the modal form is displayed.
>>>
>>>
>>>>Hello all,
>>>>
>>>>I have a "lookup" form that uses a treeview to drill down to a record. The idea is that the user can click on the record when they see it in the tree and this will bring up another form where they can edit the record. All works fine except that after the second form comes up - focus always goes back to the form with the treeview.
>>>>
>>>>The code is in the "NodeClick" method of the treeview. No amount of trying to Show or set focus to the 2nd form seems to make it stick - I always end up back on the treeview form. Note that doing the same thing from a simple command button on the tree form works correctly - leaving focus on 2nd form.
>>>>
>>>>Ideas?
>>>>
>>>>Thanks! Ken
Ken B. Matson
GCom2 Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform