|
|
|
Making A Draggable Titlebar Comments Draggable titlebars of this kind are most useful in cases where you have a form without a titlebar, but still need to be able to drag the form. Use a Label and position and size it where you want the draggable 'hook' to be. If you wish, set the Label as transparent, and leave the Caption empty; and remember to set the Label's Autosize as false. In this example we show the attachment to a Label; however, the same technique may be applied to most controls with MouseMove and MouseDown events. See also: Making a Draggable Form. . |