Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid customer class
Message
From
30/05/1997 23:42:32
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Grid customer class
Miscellaneous
Thread ID:
00034339
Message ID:
00034339
Views:
73
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
Map
View

Click here to load this message in the networking platform