Unit widget

TWidget: A Title Bar Button ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Copyright 1998 by Robert R. Marsh, SJ and the British Province of the Society of Jesus rrm@sprynet.com http://home.sprynet.com/sprynet/rrm What another title bar button?! Yes ... but one that does the job simply and cleanly. A Widget is drawn using the same technique windows itself uses to draw its own frame buttons so they match exactly. The glyph of the Widget comes from a truetype font. Windows uses the font Marlett for its own glyphs but you can use any font you like. You can set the glyph's color, the gap between it and the windows buttons, and even give it a Hint. A Widget component editor makes choosing the glyph very easy. Widgets are meant to adapt gracefully to any kind of window, even coping with changes in caption size at run-time. You can have as many Widgets in operation at any one time as you like. They are even visible at design-time! The Widget components are released as freeware with no promise expressed or implied about their suitability for any purpose. Use them at your own risk. Please let me know though of any problems you encounter. Parts of this code are inspired by the work of other authors whom I wish to acknowledge gratefully: Brendan De Lumpa, Sean Hsieh The Programmers' Guild Guys

Classes

TWidget -
TWidgetHint -

Functions

Types

Constants

Variables


Functions


Types


Constants


Variables