>Does anyone know how to change the current caption on a graphical checkbox depending on whether it's checked or not? It seems that when I change it, the rest of the column then changes also when that row recieves focus. Thanks.
I have a checkbox (non-graphical, for that matter), which changes caption when changing value. I've had to do this in the refresh method:
dodefault()
if !empt(this.value) and !empt(this.caption_yes)
this.caption=this.caption_yes
retu
endif
if Empty(this.value) and !empt(this.caption_no)
this.caption=this.caption_no
retu
endif
nodefault
The DoDefault() was the trick - the checkbox's .Refresh fires _before_ it changes the value, so I've had to force it to take new value first, and then do the rest of my code.