Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too much textbox1 focus
Message
De
02/03/1998 15:00:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Too much textbox1 focus
Divers
Thread ID:
00082136
Message ID:
00082136
Vues:
66
I thought I had this program finished last night. I has a textbox which
has a format property of "K!" which of course accepts data. There
are two other sources of the stock number input listbox1 and listbox2.
The balance of the textboxes are read only calculted or looked up.

The program works with only one list box already. The second
divides the stock numbers into same and different price catagories.
Basically the same series of events is triggered by either the textbox's
lost focus event or either of the listboxes double click event. Everything seemed to work except that the focus was no returned
to textbox 1 at the end of its own event ( but was at the end of the
listbox events). I found a typo which said nodefault the thisform.listbox.setfocus when it should have said textbox 1 at the end
of the textbox1 routine. Changing it fixed that but suddendly listbox1
and 2 couldn't start their routines instead starting the textbox1 routine.
I have removed the two focus setting statements from everywhere
except the end of the textbox1, listbox1 and 2 routines and the
reight click event of the form.

Help- Derek
Répondre
Fil
Voir

Click here to load this message in the networking platform