Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie Textbox question
Message
De
08/03/2014 14:28:57
 
 
À
08/03/2014 13:47:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01595968
Message ID:
01595970
Vues:
72
>>(Well, I'm not really a newbie but I'm so rusty I feel like one :-{)
>>
>>Simple form. One table in the DE, two fields 'In' and 'Out'. Combobox with RowSourceType = 6-Fields, RowSource = table1.in .
>>TextBox with ControlSource = table1.out.
>>
>>Selecting an item in the combobox moves the record pointer but the TextBox doesn't update till it gets focus (activates?).
>>How do I get the TextBox to reflect the record pointer change immediately ?
>
>
>On the InteractiveChange() and ProgrammaticChange() events, use something like thisForm.textbox.Refresh(), or thisForm.Refresh().

Thx - that did the trick. One other question, if I may : The Combobox is initially empty - how should I set it to the first record when the form opens ?

TIA,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform