Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check-boxes not working correctly...
Message
From
23/06/1997 13:52:23
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00037451
Message ID:
00037465
Views:
36
>>Has anyone besides myself every had checkboxes behave strangely.... they sometimes need to be clicked twice to toggle their state. Why does this happen?
>
>could it be once for checkbox to 'get focus', then once to check?

I just realized that this is happening because of my double click delay..DblClick is being triggered instead of Click...
To remedy this, I put:
this.Value = NOT this.Value

in my base checkbox class... I tried using NODEFAULT and/or RETURN .F., but it still toggled the value! The above line will make the checkbox behave as if it was clicked twice.
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Previous
Reply
Map
View

Click here to load this message in the networking platform