Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Length
Message
De
16/10/1998 16:00:27
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:
00147671
Vues:
25
Sorry (the 1st reply seems to have the wrong format)
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 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