IonicWind Software

IWBasic => General Questions => Topic started by: Andy on December 07, 2020, 10:15:50 PM

Title: Region Buttons - A reminder please
Post by: Andy on December 07, 2020, 10:15:50 PM
I've had problems with these before.

I looked at my posts on these from the past including the example program, but my brain has simply gone on this one!

The program simply refuses to load the bitmap into the button region - Help!

Attached is a simple window with the region bitmap and the bitmap itself.

Thanks,
Andy.
Title: Re: Region Buttons - A reminder please
Post by: Brian on December 08, 2020, 06:37:21 AM
Andy,

Is this what you are thinking of?

Brian
Title: Re: Region Buttons - A reminder please
Post by: Andy on December 08, 2020, 06:42:02 AM
Yes,

Thanks Brian, that's perfect My friend!

Andy.
Title: Re: Region Buttons - A reminder please
Post by: Brian on December 08, 2020, 06:43:28 AM
Something for you to work on, though. At least it shows the clock, which is more than yours did!

Brian
Title: Re: Region Buttons - A reminder please
Post by: Andy on December 08, 2020, 06:51:15 AM
Brian,

I changed it to a window - still works.

I'm working on changing the editor background colour, the buttons are all square and was playing around with the idea of shaped buttons which would look better when you change the colour.

Took me hours and I got no where - even though I've done it before.

My brain hurts!

Thanks again,
Andy.


 
Title: Re: Region Buttons - A reminder please
Post by: Brian on December 08, 2020, 07:25:00 AM
Andy,

One of my programs uses just bitmap buttons. The bitmap image is round, on, of course, a square background. I just changed the surrounding space to match the colour of my window's background. No need to use regioning

Brian
Title: Re: Region Buttons - A reminder please
Post by: Andy on December 08, 2020, 07:48:38 AM
Brian,

Just emailed you.

Any chance of having a look at that code, it would save me a lot of time if you can.

Thanks,
Andy.
Title: Re: Region Buttons - A reminder please
Post by: LarryMc on December 08, 2020, 12:53:21 PM
you could always get REALLY fancy   https://www.ionicwind.com/forums/index.php?msg=32713

Title: Re: Region Buttons - A reminder please
Post by: Andy on December 10, 2020, 04:37:56 AM
Thanks again Brian!

Yes Larry, it's a great program of which I have a copy, but I wanted to keep things as simple as possible this time.

I have now changed over 50 buttons in my editor program which (famous last words) I hope to publish this weekend.

I've also added into the list of windows any caption title, which does help when you have a lot of windows, i.e. which window is doing what...

See attached,

Andy.
:)
Title: Re: Region Buttons - A reminder please
Post by: billhsln on December 10, 2020, 11:52:04 AM
One of the few additions to IWB that I don't have.  But you know what I am going to get it for my Christmas present to me.

Bill