Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox ControlSource
Message
From
20/05/1999 16:03:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/05/1999 07:31:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00220336
Message ID:
00221138
Views:
18
>I have a series of Comboboxes that I want to contain 2 columns. The 1st column is a 1 or 2 character code that is used in the table and our DOS user's enter easily from habit. What our designer wants is to display the associated text (column 2) in a label beside the control. If the user makes an entry, the valid event fires and updates the label. However, when the user is pressing the "NEXT" toolbutton, the control updates, but I can't find an event that fires to update the label. I read in Hacker's Guide that the ProgramaticChange event fires when Displayvalue or Value is changed via code. That must mean my code because by simply moving the record pointer in the associated view doesn't fire any event that I can see. Do I understand this behavior correctly?

You can refresh the label from the combo.refresh. I've done it several times, and as the navigational button moves the record pointer, all the bound controls automatically refresh - and that's where I update the unbound controls (and labels) from.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform