Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox click - how to prevent changing the value?
Message
From
09/07/2010 10:29:50
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01471953
Message ID:
01471991
Views:
51
>>>Hi everybody,
>>>
>>>I added NODEFAULT and return in Checkbox Click event, but it still changes the value.
>>>
>>>How can I prevent it?
>>>
>>>Thanks in advance.
>>
>>Set it to ReadOnly or Enabled = false
>
>No one with good suggestions of resolving the problem? It's probably a bug - but I'm not sure what workaround options are?

How about
IF (ChangeNotAllowed)
  this.Value = IIF(this.Value=0,1,0)
ENDIF
in the Click event (g)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform