April 25, 2024, 05:30:43 PM

News:

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


PBGroupLM Custom Control

Started by LarryMc, February 22, 2008, 03:46:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LarryMc

February 22, 2008, 03:46:09 PM Last Edit: July 03, 2011, 02:08:24 AM by LarryMc
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

LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

REDEBOLT

Regards,
Bob

GJ

Thanks Larry, it's working great !!  :)

whitenite1

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