Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Boxes & ReQuery()
Message
De
17/04/1998 18:03:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/04/1998 17:58:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00093057
Message ID:
00093070
Vues:
23
>>>I'm having a problem with a list box whose rowsourcetype = fields. When I load the form, I do a nodataonload = .T. with my view, so initially the list box contains nothing. When I requery the view nothing happens in the listbox until I tab over there or set focus with the mouse. I tried doing a THISFORM.Refresh() but nothing happens. Am I missing something simple here, maybe because it's Friday and I want to go home. Any help would be appreciated.
>>>
>>>Mark A. Struck
>>Mark,
>>Not smart but try :
>>
>>requery("myView")
>>ThisForm.list1.setfocus
>>this.setfocus
>>
>>Cetin
>
>Cetin,
>
>I was doing it that way but it seemed a little kludgy. I figured there had to be a better way and Sylvain showed me a better way. Thanks anyway.
>
>Mark A. Struck
Yes, "kludgy" was the word that I couldn't remember instead of "not smart" and thanks for pointing to Sylvain's reply, it's better.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform