General information
Title:
Grid customer class
I just studying how to build up a grid by custom class,my codes as following...
MYFORM.MYGRID.ADDOBJECT("COL","MYCOLUMN")
DEFINE CLASS MYCOLUMN AS COLUMN
CONTROLSOURCE="ALIAS.FIELDNAME"
WIDTH=90
VISIBLE = .T.
ADD OBJECT HEADER1 AS MYHEADER
ENDDEFINE
DEFINE CLASS MYHEADER AS HEADER
CAPTION="Quotation NO"
PROCEDURE CLICK
WAIT "CLICKED" WINDOW NOWAIT
ENDPROC
ENDDEFINE
But I don't known only one record was visible at a time.
When I uses AddCOLOUMN method,all records are visible.
Pls kindly advise.
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