I'm noticing a really strange problem with a piece of code for the DynamicFontBold event. Here's the problem.
I have a table with 4 text fields and a logical field. In the fifth column of my grid I've added a CheckBox control and set it to the Current Control. All Columns have the Sparse property set to .F.
In the form INIT if have the following:
In the InteractiveChange event of the checkbox I have:
Now here's the problem. If I check the checkbox on row 6, the font for row 1 and row 7 turn bold. Nothing happens to row 6. If I uncheck the checkbox, rows 1 and 7 return to the normal (unbolded) font.
Does anyone have any idea what's going on here and how I can solve it?
Steve
I have a table with 4 text fields and a logical field. In the fifth column of my grid I've added a CheckBox control and set it to the Current Control. All Columns have the Sparse property set to .F.
In the form INIT if have the following:
Code:
thisform.grid1.SetAll("DynamicFontBold","IIF(thisform.grid1.column5.check1.value =.T.,.T.,.F.)","Column")
In the InteractiveChange event of the checkbox I have:
Code:
thisform.grid1.refresh()
Now here's the problem. If I check the checkbox on row 6, the font for row 1 and row 7 turn bold. Nothing happens to row 6. If I uncheck the checkbox, rows 1 and 7 return to the normal (unbolded) font.
Does anyone have any idea what's going on here and how I can solve it?
Steve