Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox - SQL
Message
De
27/04/2001 10:42:06
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00497353
Message ID:
00500708
Vues:
35
OK. Got it (yes, the _tally is kept/used as well). Thanks.

I have anooooooother question. Should be in new thread, but but but anyway. I have the following command in the KeyPressEvent in the textboxes...
LPARAMETERS nKeyCode, nShiftAltCtrl
IF LASTKEY() = 13
	wait window 'Enter key pressed'
	DO ThisForm.Commandgroup1.Command1
ENDIF
I know the DO command isn't going to DO it, but put it there to ask the question :) Would this (ClickEvent of the 'Find' button) have to be a PROCEDURE for in order to do the DO? The reason for this is to go faster, click on Enter while in the textbox instead of mousing it over the 'Find' or TABing.

Chuck

>Highlighting the first record in a listbox is easy: use
thisform.list1.selected(1)=.t.
(check first, if you have records in a listbox, of course - I added check by _tally)
>
>Seek should work, I believe, or you can use locate.
Today is tomorrow's yesterday.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform