Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I do this?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00213135
Message ID:
00213221
Vues:
27
>Hello,
>Can anyone suggest how to make the following lines of code work?
>WITH THIS
> FOR lnK=1 TO 4
> .Option[lnK].Fontbold = .F. <---- This line
> ENDFOR
>ENDWITH
>
>Its the .Option????.FontBold, how do you do this? Argh!
>
>I know I can do this with a case statement, but I've seen this done before and would like to figure out how if possible.
>
>Thanks,
>-Isaac


You could use the following single line of code to do the same thing:
THIS.SetAll("FontBold",.F.)
Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform