Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Object
Message
De
18/04/2000 08:20:40
Chrita Lee
ProMOS Technology Inc.
Hsinchu, Taiwan
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00360786
Message ID:
00360789
Vues:
13
>Hi:
> I created an object based on grid class. I want to display my grid object at run time, however, when I run my form the grid is not visible. Can any one tell me what is the problem with my codes below.
>
>**My Code**
>*// the grid will be display at run time.
>Public MyGrid && public variable
>MyGrid = CREATEOBJECT("Grid") && object based on grid
>MyGrid.ColumnCount = 2 && column count
>MyGrid.Left = 12 && left position
>MyGrid.Top = 12 && top position
>MyGrid.width = 320 && grid width
>MyGrid.Visible = .T. && set to visible
>
>Thanks

Try thisform.AddObject("MyGrid", "Grid") instead.

Chris Lee
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform