Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom classes in grids??!!!
Message
De
02/05/1998 13:42:03
Roberto Cota Rivas
Quid Estrategia Esencial de México
Monterrey, Mexique
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Custom classes in grids??!!!
Divers
Thread ID:
00096521
Message ID:
00096521
Vues:
41
Hi:

I have an interesting problem:

I need to display data in a grid not in columns, but as a small "cluster". That is, I have an employee table, with a General field to hold his/her picture, name, etc... I want to place the name UNDER the picture, but to do so in a grid, all in one cell. So I designed a Container class with an Image control and a TextBox Control. I already added the control to a column and activated it. The Questions are:

1) Where do I put the code to tell the TextBox to grab the employees name and the Image control to grab his picture? Do I do it under the column, or as the Init event for my container? How do I pass the recordsource to my Container?

2) Can I just set the Image's picture property to employees.picture?
Will it display the bitmap?

3) Is there any other better way to do this??

Any help is appreciated...

Roberto
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform