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

> 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?

Have you tried setting the ControlSource for the Image and textbox controls to the corresponding fields in your table?

Hth,
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote Technologies
Developer's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform