Unit BtChkBox |
***************************************************************************** TBitCheckBox Copyright © 1996 Bill Menees bmenees@usit.net http://www.public.usit.net/bmenees This is a VCL component that behaves almost exactly like the TCheckBox component except it allows you to use images for each state. To install it you need three files: BtChkBox.pas, BtChkBox.res, and BtImages.res. The only difference in behavior between TBitCheckBox and TCheckBox is that OnClick DOESN'T fire when State is changed programmatically. (Of course, it does fire if you change the state by clicking on the component.) I always hated the fact that TCheckBox fires the OnClick event when State changes, so I took this opportunity to "fix" this in my component. Some other minor differences: There are now properties for setting the glyphs for each state. Each glyph can contain an enabled image and a disabled image. There's also a new public method: Toggle. You're free to use and redistribute this component as long as this header stays attached. This component is provided AS IS with no warrenties or guarantees implied.
Classes |
Functions |
Register - ****************************************************************************} {** Non-Member Functions ******************************************************} {
Types |
Constants |
Variables |
Functions |
Types |
Constants |
Variables |