Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images in drop down combo
Message
From
01/10/2004 09:46:09
 
 
To
01/10/2004 07:43:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00947860
Message ID:
00947916
Views:
18
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
Map
View

Click here to load this message in the networking platform