Ksp reference Manual



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

User Interface Commands
97
KSP Reference Manual


12.22. set_knob_defval()
set_knob_defval(,)
Assign a default value to a knob to which the knob is reset when Cmd-clicking (Mac) or Ctrl-clicking (PC) the knob.
Remarks
In order to assign a default value to a slider, use
set_control_par(,$CONTROL_PAR_DEFAULT_VALUE,)
Examples
on init
declare ui_knob $Knob(-100,100,0)
set_knob_defval ($Knob,0)
$Knob := 0
declare ui_slider $Slider (-100,100)
set_control_par(get_ui_id($Slider),$CONTROL_PAR_DEFAULT_VALUE,0)
$Slider := 0
end on
Assigning default values to a knob and slider
See Also
$CONTROL_PAR_DEFAULT_VALUE
12.23. set_knob_label()
set_knob_label(,)
Assign a text string to a knob
Examples
on init
declare !rate_names[18]
!rate_names[0] := "1/128"
!rate_names[1] := "1/64"
!rate_names[2] := "1/32"
!rate_names[3] := "1/16 T"
!rate_names[4] := "3/64"
!rate_names[5] := "1/16"
!rate_names[6] := "1/8 T"
!rate_names[7] := "3/32"
!rate_names[8] := "1/8"
!rate_names[9] := "1/4 T"
!rate_names[10] := "3/16"
!rate_names[11] := "1/4"

Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   82   83   84   85   86   87   88   89   ...   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