*click, the same code goes into .init if this.value and !empt(this.caption_yes) this.caption=this.caption_yes retu endif if !this.value and !empt(this.caption_no) this.caption=this.caption_no retu endif Property sheet BackStyle = 0 Caption = "Check1" Value = .F. caption_yes = ("") caption_no = ("") (omitted the properties which may default to anything you want). In your case, you just use this class (or change only the checkbox on your form) and put caption_yes = ("female") caption_no = ("male") Maybe the .click method should be a separate method, and called from ..click, .refresh .interactivechange, .programmaticchange and .init - just to make sure it never shows the wrong caption.
back to same old
the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.