Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Len(Combo.text)=padr(displayvalue, len(.controlsource)) !?
Message
From
13/01/2003 23:07:32
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Len(Combo.text)=padr(displayvalue, len(.controlsource)) !?
Miscellaneous
Thread ID:
00741277
Message ID:
00741277
Views:
65
I've searched the vast shores of threads about the combos, but something's imperfect there - the search or I.

Or maybe I do have a new and original bug with combos? Here's the layout:
VFP7 SP1
.rowsourcetype=6
.rowsource="alias.cdesc,ckey"
(cKey c(16), cDesc c(80))
.style=dropdown combo (don't tell me to go to dropdown list, it's a must, this is a quickfill combo)
.controlsource="otheralias.fkey" (c(16))
.columncount=2
.boundcolumn=2
.boundto=.f.

The problem is that the value I see is not the displayvalue (which I see in the debugger as being all 80 characters long), but rather the .text, which is 16 characters long. The visible value gets truncated to the length of the controlsource. The combo is sitting on a page of a pageframe (bI'm having this with a few other combos which are in a container, without pageframes, but also are not .style=dropdown combo).

Anyone? I mean, did anyone have this problem? If so, is there a solution? I want the visible value to be as long as it should be.

back to same old

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

Click here to load this message in the networking platform