April 20, 2024, 12:02:11 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Flat buttons - buttons without a border

Started by Andy, January 29, 2015, 06:52:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

Hi,

I'm sure someone can do this easier and simpler than me, but I have an example of how to "create" and "use"
flat buttons, i.e. windows buttons without a border.

If you can use it - great!
If you can make it easier - great!

Just hope it helps someone at some time.

Andy.
:)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

Andy

Sorry,

A little case of over commenting!

Please change in the handler sub routine to:


    CASE @IDCONTROL
         SELECT @CONTROLID

             'Not needed now.....

          'CASE button_1
             '     GOSUB button1

          'CASE button_2
             '     GOSUB button2

          'CASE button_3
             '     GOSUB button3

             CASE check_4
                  GOSUB check4

             CASE check_5
                  GOSUB check5

         ENDSELECT

Un-comment case check_4 and check_5.

Thanks,
Andy.


Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.