Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asking for help again
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00154949
Message ID:
00156002
Views:
32
>
>I've been fumbling with this problem all day and I decided to ask for help.
>I have a grid with it's columns controlsources set to a cursor.
>When I populate the cursor from a query, I want to set certain rows to italics. It is dependent upon what the value of a field in my cursor is.
>Ok so I've realized that if I were to setup a dynamicfontitalic-setall statement in the init method and I was using a table in my data environment, it would be like this:
>thisform.grdMygrid.setall('dynamicfontitalic',"iif(my_field='cancelled',.t.,.f.)","column")
>


Try putting this in the property:
thisform.grdMygrid.Column1.Text1.dynamicfontitalic = "iif(mycursor.myfield='data',.t.,.f.)"
Dominican Republic, a Paradise in America
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform