Hi Chuck,
You dont say where you are putting the code.
To test in the init() of the button put This.ENABLED = .F.
or in the init() of the form. Providing the button is on the form and not in another container object put.
THISFORM.ButtonName.ENABLED = .F.
You can also substitute THIS for THISFORM...
HTH
Ron
>VFP 6.0
>
>I have a navigation buttons (|< < > >|) and I want to disable/enable those button when going moving around... someone told me to do this and it does not work for me:
>
>This.Button.ENABLED = .F.
>
>So how to do this?
>
>Chuck