Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox color
Message
De
02/02/2004 16:00:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00873033
Message ID:
00873136
Vues:
13
Timothy,

It maybe because RECNO() is numeric... Maybe try wrapping it: ALLTRIM(STR(RECNO())

Not sure, but that was my first thought.

Greg
>it's doesn't like the syntax of:
>define bar RECNO() ON PTEMP prompt TRANS(bar_code)+TRANS(report__)
>
>I'm not too familiar with the define bar as I've not actually used it.
>
>
>>>well the listbox already exists as such:
>>>WITH THISFORM.mylISTbox1
>>>.ROWSOURCE = ''
>>>.ROWSOURCETYPE = 0
>>>.ROWSOURCETYPE = 3
>>>.ROWSOURCE = "Select bar_code,report__,office,acct,cond,serial__,noun from d:\adpe INTO CURS PTEMP"
>>
>>>Would your idea still work?
>>
>>No, you must go into ROWSOURCETYPE = 9 schema.
>>
>>Select bar_code,report__,office,acct,cond,serial__,noun from d:\adpe INTO CURS PTEMP
>>define popup PTEMP RELATIVE
>>define bar RECNO() ON PTEMP prompt TRANS(bar_code)+TRANS(report__)+... COLOR FIRSTROW
>>SKIP
>>scan REST
>>   define bar RECNO() ON PTEMP prompt TRANS(bar_code)+TRANS(report__)+... COLOR otherrows
>>endscan
>>....
>>
>>
>>Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform