General information
Category:
Coding, syntax & commands
Thanks Marcia. I'm so glad I bought your books :)
< lol >!!! Thanks for your support. You should have a look in Chapter 9 of MegaFox:
How do I use the ImageCombo?(Example: acxImageCombo and ImageCombo.scx)
The ImageCombo is useful in two specific situations. The first is when you want to display an icon for each item in the control’s internal list. For example, if you wanted to display the flag alongside the name of the country in a drop down list. This type of ImageCombo, which associates a specific icon with each item in the control’s internal list, functions in a manner similar to our “data-bound” ListView described in the preceding section.
The second situation is when you want to display a hierarchical list. For example, if you need to display the contents of a directory which has subdirectories, the display is much clearer for the end user if the files in each subdirectory are indented. This type is unlikely to be data-driven because we need to construct the hierarchy for the entire data set that is to be displayed and this is best done in the instance.
Our ImageCombo sub class has six custom properties that allow it to simulate the behavior of a data-bound Visual FoxPro combo box when necessary.
Previous
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