On my form I have A GRID (10 fields) in which are two fields I manipulate programmatically.
A checkbox ( to signify whether that record should be deleted)
A logical field [do_dele] to record the deletion for later processing
If the checkbox is clicked for a 'Delete' selection I use
<code>
Thisform.grid1.SetAll("DynamicFontStrikeThru","DODELE = .t.")
</code>
To strikethrough that record for a visual indication.
This is all working for a single records.
I wish to allow a deletion of ALL records if the messagebox entry is [Yes] when prompted after clicking the checkbox.
I can change all the checkboxes and the do_dele fields but how do I strikethrough ALL records programmatically?
regards
Coldan
A checkbox ( to signify whether that record should be deleted)
A logical field [do_dele] to record the deletion for later processing
If the checkbox is clicked for a 'Delete' selection I use
<code>
Thisform.grid1.SetAll("DynamicFontStrikeThru","DODELE = .t.")
</code>
To strikethrough that record for a visual indication.
This is all working for a single records.
I wish to allow a deletion of ALL records if the messagebox entry is [Yes] when prompted after clicking the checkbox.
I can change all the checkboxes and the do_dele fields but how do I strikethrough ALL records programmatically?
regards
Coldan