General information
Title:
Custom classes in grids??!!!
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only