Determining the Selected Button in any Option Button Control Array Pass any option button control array, and receive the selected option button index. Dec 7.2003
Pure VB: Mimicking a Command Button ForeColor Property Use a Check to create a command button providing control over the text colour. July 12.1999
WM_DRAWITEM: Set Command Button ForeColor Now command buttons can have their own button text colour. July 12.1999
SendMessage: Visually Pressing a Command Button Through Code Two methods to visually simulate a button press; one firing the button's Click event, and the second just giving the visual press feedback. August 21.1999
WM_LBUTTONDOWN: Substitute a Tabbed List for a Combo's Dropdown List Trapping a combo's dropdown and substituting a standard List control supporting tab stops. Mar 16.2001
WM_LBUTTONDOWN: Substitute a ListView for a Combo's Dropdown List Trapping a combo's dropdown and substituting a standard ListView control. Mar 16.2001
Pure VB: Centre a Label Within a Container Tiny routine to vertically and horizontally centre a multi-line label within a form or container control. Feb 12.2000
WM_CONTEXTMENU: Kill the Default Text Box Context MenuEliminating the default textbox context menu via subclassing. June 6.1999
Like what you see here? Help ensure continued VB Classic development by making a small PayPal donation today. Thank you.
PayPal Link
Copyright ©1996-2011 VBnet and Randy Birch. All Rights Reserved. Terms of Use | Your Privacy