Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert RGB INTO Hexa Value
Message
De
15/07/2007 10:31:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01240526
Message ID:
01240538
Vues:
23
>>AND i think that this code run faster..????
>>
>> WITH THIS
>>      TEXT To  .cBackColorGrid NOSHOW TEXTMERGE PRETEXT 15
>>    ICASE(v_AgendaPhar.lgest=.F.,RGB( 251,155,184 ),v_AgendaPhar.sinecessaire,RGB(191,191,255),
>>    ICASE(nRec = 0,16777215,ICASE( v_AgendaPhar.nRec=1,0xC0C0C0,0xFFFFFF)))
>>      ENDTEXT
>>
>>
>>
>>I want dus a foncton That convert RGB(255,255,191 INTO Something such 0xC0C0C0
>>
>>bernhart
>>
>>
>I think you can use integer presentation instead.

The 0xhhhhhh notation IS an integer. It's just written differently in the source, in a more readable form.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform