- Create
- Destroy
- OnEvent
- OnMouseEvent
- Name
- ControlsTotal
- Control
- ControlFind
- Rect
- Left
- Top
- Right
- Bottom
- Width
- Height
- Move
- Shift
- Resize
- Contains
- Alignment
- Align
- Id
- IsEnabled
- Enable
- Disable
- IsVisible
- Visible
- Show
- Hide
- IsActive
- Activate
- Deactivate
- StateFlags
- StateFlagsSet
- StateFlagsReset
- PropFlags
- PropFlagsSet
- PropFlagsReset
- MouseX
- MouseY
- MouseFlags
- MouseFocusKill
- OnCreate
- OnDestroy
- OnMove
- OnResize
- OnEnable
- OnDisable
- OnShow
- OnHide
- OnActivate
- OnDeactivate
- OnClick
- OnChange
- OnMouseDown
- OnMouseUp
- OnDragStart
- OnDragProcess
- OnDragEnd
- DragObjectCreate
- DragObjectDestroy
Create
Creates a control.
virtual bool Create(
|
Parameters
chart
[in] ID of the chart, at which the control is created.
name
[in] Unique name of the control.
subwin
[in] Chart subwindow, at which the control is created.
x1
[in] X coordinate of the upper-left corner.
y1
[in] Y coordinate of the upper-left corner.
x2
[in] X coordinate of the lower-right corner.
y2
[in] Y coordinate of the lower-right corner.
Return Value
true - successful, otherwise - false.
Note
Base class method only saves the creation parameters and always returns true.