>>>>thisform.Grid1.SetAll('FontBold',.t., 'textbox')
>>>
>>>Thanks for all your patience
>>>
>>>I am now told that what we want to do is to bold a whole row if we click on any element of it - otherwise the grid has no bold
>>
>>You can achieve this with DynamicFontBold, new property to hold current recordno and this condition
>>
>>recno('TableAlias') = this.nRecno (assuming a grid has new property nRecno which you set in AfterRowColChange event.
>
>Sorry - not one of my better days - I don't understand that
Grid:Init
this.AddProperty('nRecno',0)
this.SetAll('DynamicFondBold','this.nRecno = recno("MyTable")', 'Column')
Grid:AfterRowColChange event:
dodefault(nColIndex)
this.nRecNo = recno(this.RecordSource)
This should make the current row bold.
If it's not broken, fix it until it is.
My Blog