Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo refuses to have a displayvalue - bug?
Message
From
19/03/2004 00:52:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
06/05/2003 15:25:18
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00783781
Message ID:
00887780
Views:
25
Had this today... and felt a strong deja vu - so I found this thread and, well, back then I was in VFP7, now I'm in VFP8, and the bug is still there.

And the same workaround still works.

>>>I've had this yesterday, and now a colleague called me with the same problem.
>>>
>>>A combo is set like this:
>>>
>>>
This.ControlSource="this.parent.nGroup_no"
>>>This.RowSourceType= 6
>>>This.BoundColumn=2
>>>This.Style=2
>>>This.RowSource="groups.descript,group_no"
>>>This.BoundTo= .T.
>>>This.ColumnWidths=Transform(This.Width)+",0"
>>>
>>>Symptoms: there is never a displayvalue. In the debugger and in code it is always an empty string. Visually, it looks as if disabled. The dropdown does show the list, and if selected, the value gets into combo.value and into this.parent.nGroup_no. The displayvalue remains "".

back to same old

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

Click here to load this message in the networking platform