See Also
ui_button
User Interface Controls
32
KSP Reference Manual
4.10. ui_table
declare ui_table % [columns]
(,,)
Create a user interface table
The width of the table in grid units
The height of the table in grid units
The range of the table. If negative values are used, a bipo-
lar table is created.
Examples
on init
declare ui_table %table_uni[10] (2,2,100)
declare ui_table %table_bi[10] (2,2,-100)
end on
Unipolar and bipolar tables
on init
declare ui_table %table[128] (5,2,100)
declare ui_value_edit $Steps (1,127,1)
$Steps := 16
set_table_steps_shown (%table,$Steps)
end on
on ui_control ($Steps)
set_table_steps_shown (%table,$Steps)
end on
Changes the amount of shown steps (columns) in a table
See Also
set_table_steps_shown()
$NI_CONTROL_PAR_IDX
Do'stlaringiz bilan baham: |