Don't work on latest Kontakt
Reylon
Member Posts: 23 Member
Hi,
I had an old code which changed the label picture when the slider is moving.
However this used to work on the older versions of kontakt but NOT in the latest kontakt version.
on init make_perfview set_ui_height_px(130) declare ui_label $label(3, 1) declare ui_slider $Cutoff(0, 6) set_text($label,"World") set_control_par_str(get_ui_id($label), $CONTROL_PAR_PICTURE, "Delay") set_control_par(get_ui_id($label), $CONTROL_PAR_PICTURE_STATE, $Cutoff) end on on ui_control ($Cutoff) set_control_par_str(get_ui_id($label), $CONTROL_PAR_PICTURE, "Delay") set_control_par(get_ui_id($label), $CONTROL_PAR_PICTURE_STATE, $Cutoff) end on
If anyone knows whats going on please let me know.
0
Comments
-
I wouldn't advise doing picture changes on a potentially fast callback like that of ui_slider. Changing picture state should be fine though.
0
Back To Top
Categories
- All Categories
- 21 Welcome
- 2.1K Hangout
- 86 NI News
- 1.4K Tech Talks
- 2.4K Native Access
- 13.8K Komplete
- 1.4K Komplete General
- 2.9K Komplete Kontrol
- 3.9K Kontakt
- 3.6K Reaktor
- 335 Battery 4
- 617 Guitar Rig & FX
- 321 Massive X & Synths
- 756 Other Software & Hardware
- 4.1K Maschine
- 5.1K Traktor
- 4.8K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators