>>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
The idea is - if the changes made on the tabless pageframe, I want to ask the user about saving the changes and prevent them leaving the page if they answer Cancel.
I have only 2 other controls on the form - TList ActiveX and a checkbox.
I tried using custom page with nodefault in its Deactivate, but it didn't work. So I'm now trying to put the code in the TList and Checkbox.
I tried using When event of checkbox, but even if I return .t. from when, click is not working...
If it's not broken, fix it until it is.
My Blog