Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Length
Message
De
16/10/1998 15:52:56
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonésie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00147594
Message ID:
00147668
Vues:
28
Sandy,
for this case usually I change the cbo.rowsourcetype to 0-none and on Init Event put :

WITH THIS

Select (fieldname) to array transfer

mwid=0
FOR i=1 TO _TALLY
FOR j=1 TO ALEN('transfer',2)-1
.ADDLISTITEM(transfer(i,j),i,j)
.COLUMNCOUNT=ALEN('transfer',2)
ENDFOR
IF mwid on which column of the array you use to
display values
mwid=LEN(ALLT(transfer(i,2))
ENDIF
ENDFOR
RELEASE transfer
.WIDTH=mwid*8 &&&(If You use all Upper Case Character You should put mwid*9)
ENDWITH


Hope this can help
Senna Dwipayana
Being good is better
Being better is a bless
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform