Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox return value
Message
From
22/07/2002 17:46:21
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
 
To
21/07/2002 13:24:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00680894
Message ID:
00681377
Views:
14
In addition to what Tracy said you can set the behavior of the checkbox via it's initial Value in the property sheet;

If Checkbox.Value=0 it will return 0/1 && Default setting
If Checkbox.Value=.F. it will return T/F

HTH,

-Irv.


>Hi all,
>
>I don’t use checkboxes often but I have a need to for an entry form. A person is going to visit a house and determine if there is a dog there. If no one is home there are a set of check-offs to go through. Depending on what gets checked other checkboxes become enabled.
>
>My problem; last night the value the boxes returned was logical. I coded for that. This morning I ran the form again and the checkboxes are returning a numeric. The initial value of the checkboxes has been 0 all along. What am I doing wrong?
>
>Thanks!!
Previous
Reply
Map
View

Click here to load this message in the networking platform