See Also @ (string variable)
4.12. ui_value_edit declare ui_value_edit $ble>(,,<$display-ratio>)
Create a user interface number box
The minimum value of the value edit
The maximum value of the value edit
The value is divided by
for display purposes
You can also use
$VALUE_EDIT_MODE_NOTE_NAMES
to display note
names instead of numbers.
Examples on init
declare ui_value_edit $test (0,100,$VALUE_EDIT_MODE_NOTE_NAMES)
set_text ($test,"")
set_control_par (get_ui_id($test),$CONTROL_PAR_WIDTH,45)
move_control_px($test,66,2)
end on
on note
$test := $EVENT_NOTE
end on
Value edit displaying note names on init
declare ui_value_edit $test (0,10000,1000)
set_text ($test,"Value")
end on
User Interface Controls 34
KSP Reference Manual