JVCL Help:TJvSlider.Create

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

Search in JVCL Help

 
Search in all projects
 

Summary

Creates and initializes an instance of TJvSlider.


Pascal

 constructorCreate(AOwner: TComponent); override;


Parameters

Parameters Description
AOwner: TComponent The owner for the instance of TJvSlider.


Description

Call Create to create an instance of TJvSlider at runtime. A TJvSlider component placed on a form at design time is created automatically.
Pass a single Component as a parameter to provide the slider control with an Owner that is responsible for freeing it.
Create calls the inherited Create method, then sets the initial values for the slider control as follows:

  • Maximum is set to 100.
  • Position is set to 0.
  • Horizontal is set to true.
  • The default images for the thumb and ruler are loaded.


See Also

TJvSlider.Destroy, TJvSlider.Horizontal, TJvSlider.Maximum, TJvSlider.Position


About

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