Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating form when combo box is changed
Message
 
To
04/05/2001 12:07:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00503574
Message ID:
00503585
Views:
16
Joe,

The answer may depend on what is going on behind the form when user select item in the combobox.
For example, if you have another listbox or combobox having rowsource that is changed, then you need again:
...Listbox.RowSource="..."
Or if you have a grid sitting on the temporary cursor and this cursor is recreated, then grid should be forced to have it:
..Grid.Recordsource="...".
In this case grid will loose any predefined column/header settings.


Hope this will help




>>>>>>>>>>>>>>>> your message below

I have created a form that is populated from the INIT event. The objects on the form are populated from a temp cursor. I have a combo box on the form that is populated by a column in the table. This way the user can choose a different requirement...when they do, I want it to refresh the whole screen to reflect the data from the new record that was selected. I have tried putting Thisform.Refresh() in the Interactive Change event of the Combo Box as well as in the Valid and LostFocus events. None of these seem to be refreshing the screen.

Could someone shed some light on this subject for me...

Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform