Hi Bruce,
I did put a messagebox in the event to see. No message. The grid is a basic grid. I put it on the form and set the columncount to 11. The code for the Valid event I put in the textbox.valid for the correct column. All other properties like controlsource's, readonly, width etc. I set in a Method of the form.
.SETALL("RESIZABLE", .F., "COLUMN")
.SETALL("MOVABLE", .F., "COLUMN")
.SETALL("READONLY", .T., "COLUMN")
.SETALL("READONLY", .T., "TEXTBOX")
.SETALL("ALIGNMENT", 2, "HEADER")
.SETALL("FONTBOLD", .T., "HEADER")
.SETALL("FORECOLOR", RGB(0,0,255), "HEADER")
*!* This is the column I want the event.
.column6.READONLY = .F.
.column6.ENABLED = .T.
I hope the above block will help.
Mike
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