Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid customer class
Message
De
30/05/1997 23:42:32
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Grid customer class
Divers
Thread ID:
00034339
Message ID:
00034339
Vues:
77
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform