Leemi
Fri Jan 30 13:24:04 CST 2004
Hi dthmtlgod:
I placed a checkbox object on a form and used this code in the Click event
of a command button to determine if the check box was checked or not:
IF thisform.Check1.Value=1
WAIT WINDOW "Checked"
ELSE
WAIT WINDOW "not checked"
ENDIF
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003
>I have a form that has three buttons
>1. File Check
>2. Run Program
>3. Exit
>File check does what it says, looks to see if files are present. If they
>are present, it updates the chkbox/label with a CHECK.
>I then want to run the program in accordance with which boxes are checked.
>I tried you thisform.check.value but it doesn't work.
>Is there an easy to do this. I am getting I need to pass a value at some
>point?
>Thanks in advance.