Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing row colour of grid based on condition
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01531331
Message ID:
01531365
Views:
28
>>In the forms init I have
>>
>>thisform.Grid1.SetAll("FontBold", .t., "Column")
>>thisform.Grid1.SetAll("DynamicForeColor","thisform.SetGridColor()","Column")
>>
>>Only the first column is bold
>>
>>Colin
>
>Is there any difference if you change SETALL to:
>
>FOR EACH oCol in thisform.Grid1.Columns FOXOBJECT
>    oCol.FontBold = .t.
>NEXT
>
>thisform.Grid1.SetAll("DynamicForeColor","thisform.SetGridColor()","Column") 
>
Perhaps we need to set FontBold for each individual object in the column (e.g. for each textbox).

Try also

thisform.Grid1.SetAll('FontBold',.t., 'textbox')
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform