TacFormRoller component
Hierarchy Properties Events See also |
The TacFormRoller component allows to reduce or expand (roll up / down) your Delphi/BCB forms without minimizing them to taskbar or system tray, giving the impression that the form is shrinking or expanding. Rolling process can be displayed with smooth animation. Since the acFormRoller is successor of acCustomCaptionButton class, component is able to add the custom button on form's title bar and associated menu item to system menu.
|
Animate | whether the rolling should be animated;
|
AnimateSpeed | determines how fast the form rolls up or down;
|
CaptionButton | manages the "Roll up / down" button on the form's title bar.
|
HintRollDown,
|
HintRollUp | the tooltip text for caption button when the form in reduced and normal state;
|
RemainHeight | form height at reduced state;
|
RollUp | determines the current form state (True if reduced and False when form in normal state);
|
SystemMenu | manages the menu item in the system menu that associated with the caption button on the form's title bar.
|
OnRollerChanged | occurs when user clicks the caption button or selects the menu item in the system menu associated with this button.
|
To change the glyphs for roll up/down buttons you have to modify the ACCB_ROLLER_UP and ACCB_ROLLER_DOWN bitmap resources in the "CaptionButtons.res" file of the AppControls pack. You can change them using standard Image Editor program which supplies with every Delphi/BCB version.
|
|
After modifying of these glyphs in the "CaptionButtons.res", they will always with you in any programs, so you will do not need to specify the glyphs every time when you drop component onto form.
|
Other components which contains a built-in caption button: acAppAutoRun, acTrayIcon, acFormHelp, acFormTopmost, acFormRoller.
|