Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column objects and Grids
Message
De
10/08/2003 00:59:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Column objects and Grids
Divers
Thread ID:
00818648
Message ID:
00818648
Vues:
64
I created a container object which houses a pageframe with three pages.

Page 1 is a Grid
Page 2 is another container object which lays out each field nicely for the user in Edit or Add mode
Page 3 is a List

My grid contains custom column and header objects which were added at design time. Many properties are set like Width, Header.caption, and controlsource. In design view the container object looks great.

The container object is added in programmatically with a CREATEOBJECT() command in the INIT of the form.

Once the form finally comes up, the header.caption = "Header", the controlsource on the column is missing, the grid has no data at all. In fact the column objects look like they should when they are added in at design time before applying the properties.

When I go back to the design version of the container all is well and the object looks great.

Where are all the properties I set in design view? I do get one error when going through this process "Class definition cusColumn is not found." I suspend the program, step once, then press resume.

cusColumn is the first DEFINE CLASS in the cColumns.prg. "SET PROCEDURE TO cColumns, Library, cPages ADDITIVE" is part of my mainline before instantiating the APP object. I did not have any problems with this in VFP7.

I have tried rebooting! Does anyone have any ideas?
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform