Versions des environnements
Network:
Windows 2003 Server
>>Can an image be inserted in a class? ie Can a button that has an image, be part of the base class? Instead of being a picture?
>>Any ideas?
>>TIA,
>>Mike
>
>Not that I am aware of. A possible solution is to store the image in a blob field in a common table together with different application specific settings and lookups.
Hi,
What you could do is:
subclass a Container as myButton
remove the borders
add a button (default or your subclassed default)
add an image (default or your subclassed default)
Now you can add all kinds of methods and properties to myButton
the only thing is that this class has a container icon in your class lib instead of a commandbutton icon, so it be
For an application which has to mimic the Office2010 looks this was a quick and usefull solution
Regards,
Koen
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement