Welcome to the new and improved Native Instruments online community. Join our active forum of 40,000+ members for discussions and much more.
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
- 10.8K All Categories
- 22 Welcome
- 449 Hangout
- 59 NI News
- 209 Tech Talks
- 1.1K Native Access
- 4.9K Komplete
- 624 Komplete General
- 1.1K Komplete Kontrol
- 1.9K Kontakt
- 489 Reaktor
- 156 Battery 4
- 271 Guitar Rig & FX
- 203 Massive X & Synths
- 212 Other Software & Hardware
- 2.3K Maschine
- 14 Sampling Room
- 2.6K Traktor
- 2.4K 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