GetConnectedEdit
returns the original control object.UpDownPressed
event to be set directly on the control.fcmctrlupdown.Init(self)
[Internal]
Input | Type | Description |
---|---|---|
self |
FCMCtrlUpDown |
fcmctrlupdown.GetConnectedEdit(self)
[Override]
Override Changes:
Input | Type | Description |
---|---|---|
self |
FCMCtrlUpDown |
Return type | Description |
---|---|
FCMCtrlEdit | nil |
nil if there is no edit connected. |
fcmctrlupdown.ConnectIntegerEdit(self, control, minvalue, maxvalue)
[Breaking Change] [Fluid] [Override]
Override Changes:
Input | Type | Description |
---|---|---|
self |
FCMCtrlUpDown |
|
control |
FCCtrlEdit |
|
minvalue |
number |
|
maxvalue |
number |
fcmctrlupdown.ConnectMeasurementEdit(self, control, minvalue, maxvalue)
[Breaking Change] [Fluid] [Override]
Override Changes:
Input | Type | Description |
---|---|---|
self |
FCMCtrlUpDown |
|
control |
FCCtrlEdit |
|
minvalue |
number |
|
maxvalue |
number |
fcmctrlupdown.AddHandlePress(self, callback)
[Fluid] Adds a handler for UpDownPressed events.
Input | Type | Description |
---|---|---|
self |
FCMCtrlUpDown |
|
callback |
function |
See FCCustomLuaWindow.HandleUpDownPressed in the PDK for callback signature. |
fcmctrlupdown.RemoveHandlePress(self, callback)
[Fluid]
Removes a handler added with AddHandlePress
.
Input | Type | Description |
---|---|---|
self |
FCMCtrlUpDown |
|
callback |
function |