IonicWind Software

IWBasic => The Roundtable => Topic started by: LarryMc on February 22, 2008, 03:46:09 PM

Title: PBGroupLM Custom Control
Post by: LarryMc on February 22, 2008, 03:46:09 PM
The PBGroupLM Custom Control is a group of pushbuttons, grouped together, that act like a group of radio buttons.

Reminds me of the car radios back in the 40's and 50's

The following things are configurable within your program:
  The number of buttons per group
  Vert/Horiz arrangement of buttons
  Width/Height of buttons
  Font of button text in group
  On/Off state text, fgcolor, bgcolor for each button in group.
  Bgcolor of group
  Useable in window or dialog.

 Read warranty disclaimer and license before using.
 Instructions are in readme file.

As always, any feedback would be appreciated.

LarryMc

Ver 1.4 Update
   Added capability to have multiline text on a button (Use '\n').
   Added ability to enable\disable button cluster with ENABLECONTROL command.
   Change example to demonstrate change.

Ver 1.3 Update
   Added capability to have group with only one button. When clicked button will
      toggle from its current state.
   Change example to demonstrate change.

Ver 1.2 Update
   Added SendMessage from control to parent window when PB change is forced
      with SetStatePBGButtonLM
   Change example to reflect change and to correct v1.1 error in code structure

Ver 1.1 Update
   Added SendMessage from control to parent window when control is leftclicked

Title: Re: PBGroupLM Custom Control
Post by: REDEBOLT on February 22, 2008, 06:11:53 PM
Larry,

Very nice!
Title: Re: PBGroupLM Custom Control
Post by: GJ on February 23, 2008, 05:39:01 AM
Thanks Larry, it's working great !!  :)
Title: Re: PBGroupLM Custom Control
Post by: whitenite1 on April 11, 2011, 08:37:41 PM
Larry, I found it worked great in the program I wanted to create. I'm also going to make a 'Hex to Decimal' program with it. Thanks for a nice tool.

whitenite1