On my project I have several Command Buttons, As these looking boaring im
looking at replacing these with Pictures/Icons could anybody suggest the
best way of going about this, on average there is 5 command buttons on each
for.
Regards
Si
I would replace them with UserControls
- make user controls with the same properties and events as Buttons
Regards
Si
"J French" <ere...@nowhere.com> wrote in message
news:3f9e8ff4....@news.btclick.com...
Check out the DisabledPicture, DownPicture and Picture properties of the
command button.
HTH
Regards
--
Martin Trump
To add to the properties Martin mentioned, you'll also need to set the Style
(Graphical), MaskColor, and UseMaskColor properties, using the latter two to
set the transparent background color.
"Dongo!" <s_j_gre...@yahoo.co.uk> wrote in message
news:bnm06c$dmk$1...@newsreaderg1.core.theplanet.net...
Thanks, BeastFish. Answering probs here is a two way process.
I live and learn.
Regards.
--
Martin Trump
>sorry im new to VB - could you explain a little bit more, sorry to be thick!
>
UserControls are like Forms that can be added to other Forms
They have all the functionality of a Picturebox
If you do want to replace Buttons with something 'home grown', then
the simplest method is to use UserControls