January 4, 2001

Adding Items in List Boxes as Tooltips

This piece of code lets you display an item in a list box as that list box’s tooltip. Private Sub lstItems_MouseMove(Button As Integer, Shift As Integer, X As Single, Y

Making a Form Scrollable

This is one of the simplest, but most powerful, ways to make a form scrollable. This method automatically disables or enables scrollbars according to the size of the area in

Cut, Copy, Paste, and Undo For Textboxes

Many programmers use Visual Basic’s Clipboard object to perform Cutting, Copying, Pasting and Undoing code. For example, to copy some text from a textbox, programmers sometimes use the following code: