Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom classes in grids??!!!
Message
 
To
02/05/1998 13:42:03
Roberto Cota Rivas
Quid Estrategia Esencial de México
Monterrey, Mexico
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00096521
Message ID:
00096529
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform