Ksp reference Manual



Download 0,99 Mb.
Pdf ko'rish
bet84/187
Sana10.02.2022
Hajmi0,99 Mb.
#441108
1   ...   80   81   82   83   84   85   86   87   ...   187
Bog'liq
KONTAKT 610 KSP Reference Manual

12.19. set_control_help()
set_control_help(,)
Assigns a text string to be displayed when hovering the UI control. The text will appear in
KONTAKT's info pane.

The name of the UI control

The info text to be displayed
Examples
on init
declare ui_knob $Knob(0,100,1)
set_control_help($Knob,"I'm the only knob, folks")
end on
set_control_help() in action
User Interface Commands
95
KSP Reference Manual


See Also
set_script_title()
$CONTROL_PAR_HELP
12.20. set_control_par()
set_control_par(,ter>,)
Change various parameters of the specified GUI con-
trol

The ID number of the UI control. You can retrieve the ID num-
ber with 
get_ui_id()

The control parameter variable, for example 
$CON-
TROL_PAR_WIDTH

The (integer) value
Remarks
set_control_par_str()
is a variation of the command for usage with text strings.
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,100,10)
end on
Changing the width of a value edit to 45 pixels. Note that you also have to specify its position in
pixels once you enter "pixel-mode".
on init
declare ui_label $test (1,1)
set_control_par_str(get_ui_id($test),$CONTROL_PAR_TEXT,"This is Text")
set_control_par(get_ui_id($test),$CONTROL_PAR_TEXT_ALIGNMENT,1)
end on
Set and center text in labels
See Also
get_control_par()
get_ui_id()

Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   80   81   82   83   84   85   86   87   ...   187




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish