MyForm.MyGrid.MyColumn.Enabled = .F.
or
PROCEDURE MyForm.MyGrid.MyColumn.MyText.When
RETURN .F.
ENDPROC
or
PROCEDURE MyForm.MyGrid.MyColumn.MyText.GotFocus
KEYBOARD '{TAB'} CLEAR
ENDPROC
or
WITH MyForm.MyGrid.MyColumn.MyText
.ENABLED = .F.
.DISABLEDFORECOLOR=RGB(0,0,0)
ENDWITH
The user can still place focus on the column with a mouse click, but the control is read-only, as far as the user is concerned. Jon Hawkins
jonscott8@yahoo.com
The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
Jon, don't worry ;-) Most of us have no much time to carefully read threads, that causes mistakes for me too More of us makes more sense to back up each other. On the other side, good and clear description of the problem is half of the answer...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.