I assign comp ids to my check boxes and add the following code to the checkbox
clicked eep...
SET VAR vButtonChecked TEXT = 'false'
GETPROPERTY TheCBCompID CHECKED 'vButtonChecked'
IF vButtonChecked ='false' THEN
--do this
ELSE
--it's checked and do this
ENDIF
CLEAR VAR vButtonChecked
RETURN
Have a Fabulous Day!
Rachael M.
Freelance Developer
www.DragonflyDevelopmentMN.com
----- Original Message -----
From: David R Haslam
To: RBASE-L Mailing List
Sent: Sunday, December 07, 2008 9:26 AM
Subject: [RBASE-L] - Another dumb question from the new guy!
Dear rBase fans,
I have two variable check boxes: chkCON and chkWEL. The integer variables
associated with them are called vchkCON and vchkWEL. They are 1 when checked,
0 when un-checked. What I need to do is when chkCON is clicked and checked as
a result, chkWEL has to be made to un-check. So, in BASIC with the variables
only it would be:
IF vchkCON = 1 THEN
chkWEL = False
vchkWEL = 0
'Other code
ELSE
'Other code
END IF
Any help would be appreciated!
All the best,
David.
David R Haslam
Vice President, Business Development
HMSI, inc.
734.259.0387 (W)
734.775.4555 (C)
www.HMSI-inc.com
"OPTIMISM TODAY LEADS TO A BETTER TOMORROW." - Candace B. Pinaud