Quizas mi pregunta es basica, pero aca esta
Estoy generando un grid en forma programatica y no
encuentro la forma de programar los eventos
Ej:
xcant = 2
With thisform.migrid1
.fontbold = .f.
.readonly = .f.
.columncount = xcant
.recordsource = xtabla
.allowaddnew = .f.
.deletemark = .f.
.scrollbars = 2
.width = 670
.readonly = .t.
with .column1
.controlsource="ccodigo"
.width = 70
with .header1
.caption = "Código"
.alignment=2 && centered
endwith
endwith
with .column2
.controlsource="descripcion"
.width = 70
with .header1
.caption = "descrip"
.alignment=2 && centered
endwith
endwith
endwith
quiero poder programar el evento click en el header de la
columna1
Como se puede hacer???
Gracias Fabian
Leer las respuestas