Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie Textbox question
Message
From
08/03/2014 14:28:57
 
 
To
08/03/2014 13:47:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01595968
Message ID:
01595970
Views:
71
>>(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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform