JVCL Help:TJvCaptionButton

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvCaptionButton
run\JvCaptionButton.pas


Summary

Button that is added to the form caption.

run\JvCaptionButton.pas


Pascal

 run\JvCaptionButton.pas
 TJvCaptionButton = class(TJvComponent);


Description

  1. JVCLInfo

TJvCaptionButton encapsulates a button that is placed in the form's caption, much like the standard minimize, maximize and close buttons.
To use a caption button:

  • Drop a TJvCaptionButton on a form.
  • Specify if it is shown as a standard button (Minimize, Maximize button etc).
  • If it's not a standard button, specify a caption and/or image.
  • You can assign an action to the caption button.
  • Use the ButtonLeft, ButtonTop and Position properties to horizontally and vertically position the button, or you can leave them to their default values, to position the button on the defaultplace: next to the left most default caption button.
  • Use the ButtonHeight and ButtonWidth properties to alter the size of the button, or you can leave them to their default values, to get a caption button that has the same size as the defaultcaption buttons.

run\JvCaptionButton.pas


About

Navigation

run\JvCaptionButton.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page