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

Click here to load this message in the networking platform