Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Len(Combo.text)=padr(displayvalue, len(.controlsource)) !?
Message
De
13/01/2003 23:07:32
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Len(Combo.text)=padr(displayvalue, len(.controlsource)) !?
Divers
Thread ID:
00741277
Message ID:
00741277
Vues:
66
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform