ILLUMINATED RADIOBUTTONS
by Mike Bradbury mike@karemi.fsnet.co.uk

Home

Remembering Logo
Turtle graphics tutorial
Scripting language tutorial
Changing window icons at runtime
A real spinner control
Tip Corner - Select Case
Hocus Focus
Illuminated Radiobuttons

Plastic Surgery for radiobuttons (or How to make bitmap radiobuttons to improve your application user interface) by Mike Bradbury.

Requires LibertyBASIC v3 and tested with Win98SE in 16 bit colour.

Using bitmap buttons instead of standard windows buttons makes the user interface more interesting and functional. This demo uses two bitmap images to display a button in the off and on states, the on state indicated by an 'illuminated' green bar at the centre of the button. The window also contains a bitmap button labelled On/Off. When this button is in the off state, all other buttons are locked in the off state and when this button is on, the other buttons become active and a label for the buttons is displayed. Also for the purposes of this example, when a button is clicked, the previously active button is reset to off, the buttons behaving like radiobuttons.For a personal style, replace the bitmaps with your own design, using a painting package like MSPaint or PaintShop Pro etc., making the bitmaps 63x25 pixels in size.

Remember to click the On/Off button first, else you will not see the illuminated effect!

See illumButtons.bas in the attached zip file for the demo!

Home

Remembering Logo
Turtle graphics tutorial
Scripting language tutorial
Changing window icons at runtime
A real spinner control
Tip Corner - Select Case
Hocus Focus
Illuminated Radiobuttons