Is it possible to have a non-square/irregularly shaped button, or a button using a non-square/irregularly shaped image (or an image with a transparent background), and only have the area with the image work and be visible?
Thanks!
Non-square/irregularly shaped buttons
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Non-square/irregularly shaped buttons
Hi yitzchok,
yes, using (semi-) transparent PNG (or GIF) images will do what yo need.
They will only "react" when you click on the non-transparent parts.
Best
Klaus
yes, using (semi-) transparent PNG (or GIF) images will do what yo need.
They will only "react" when you click on the non-transparent parts.
Best
Klaus
Re: Non-square/irregularly shaped buttons
I'll try that - thanks!
One more question-
Is it possible to change which image is being used for a button using code, while the program is running?
Thanks!
One more question-
Is it possible to change which image is being used for a button using code, while the program is running?
Thanks!
Re: Non-square/irregularly shaped buttons
Hi yitzchok,
yes, sure!
Just set the ICON of a button to the ID of the image you want to see in the button!
...
set the icon of btn "your button here" to 1004
...
You can also set the "hiliteIcon", "hoverIcon" etc. on the fly!
Best
Klaus
yes, sure!
Just set the ICON of a button to the ID of the image you want to see in the button!
...
set the icon of btn "your button here" to 1004
...
You can also set the "hiliteIcon", "hoverIcon" etc. on the fly!
Best
Klaus