>>>Hi everyone,
>>>
>>>I have a custom Control that I need to prevent access to under certain circumstances, however the control only appears to have a GotFocus and LostFocus not a When or Valid.
>>>
>>>Is there some way to reproduce the behaviour of the When method?
>>>
>>>Thanks in advance
>>
>>what about setting the controls 'enabled' property to 'FALSE'?
>>The user will not have 'access' to the control.
>>When the 'certain circumstance' occurs...
>>
>>THISFORM.Control.Enabled = .f.
>>
>>or
>>
>>THISFORM.Control.ReadONly = .t. is another way to limit user access to a control.....
>>
>>
>>i hope this helps...
>>if it does not...
>>... get more specific with your question..
>
>
>I guess that the real problem is that I can only test if they can access the control within the control ie what should be the When method.
>
>Any thoughts?
so when the user alters the contents of the control ... you would want to disable it ?
try the
'interactivechange' event of the control....
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only