Ksp reference Manual


Control Parameter Variables



Download 0,99 Mb.
Pdf ko'rish
bet157/187
Sana10.02.2022
Hajmi0,99 Mb.
#441108
1   ...   153   154   155   156   157   158   159   160   ...   187
Bog'liq
KONTAKT 610 KSP Reference Manual

Control Parameter Variables
173
KSP Reference Manual


When used with 
set_control_par_arr()
, this can be used to hide specific cursors in the XY pad. Below is a simple syn-
tax example:
if($hide = 1)
set_control_par_arr($id, $CONTROL_PAR_HIDE, $HIDE_PART_CURSOR, $index)
else
set_control_par_arr($id, $CONTROL_PAR_HIDE, $HIDE_PART_NOTHING, $index)
end if
The index should be an even number that matches the index of the X axis of the cursor in the main array representing the XY
control, so the first cursor has an index of 0, the second has an index of 2, and so on.
$NI_CONTROL_PAR_IDX
Returns the index of the cursor that triggered the on 
ui_control()
callback for the XY pad. Note that indices are always
even numbers starting from 0, so the first cursor has an index of 0, the second has an index of 2, and so on.
$NI_MOUSE_EVENT_TYPE
Returns the type of mouse event that triggered the on 
ui_control()
callback for the XY pad. Can only be used within a on
ui_control()
callback.
The following file types are available:
$NI_MOUSE_EVENT_TYPE_LEFT_BUTTON_DOWN
(click)
$NI_MOUSE_EVENT_TYPE_LEFT_BUTTON_UP
(release)
$NI_MOUSE_EVENT_TYPE_DRAG
(drag)

Download 0,99 Mb.

Do'stlaringiz bilan baham:
1   ...   153   154   155   156   157   158   159   160   ...   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