Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo refuses to have a displayvalue - bug?
Message
 
 
To
19/03/2004 00:52:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00783781
Message ID:
00926993
Views:
29
It's deja vu all over again. I am 99% sure this bug still exists in VFP9 beta. I ran into this bug yesterday while developing a VFP8 app, and it literally gave me a headache. My caveat though is the combo is in a container, bound to a numeric field in a cursor. I found this thread this morning. < sigh >

>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 "".
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform