What's new

Controls in the tab area, works in 5 not in 6

tonewill

Active Member
Hello chaps,
I thought I was being clever by utilising some unused space in the tabs section at the bottom of my instruments for controls that were common to all instruments but not related to the main UI for each instrument. I used a z layer of 1 for this and it worked well... in Kontakt 5. I've now become aware that they do not appear in Kontakt 6. They still function but you cannot see them.

I haven't done any scripting since last year and am not familiar with changes in Kontakt 6. Any way I can make the controls re-appear in the tabs area for 6?

Thanks for any help.
 
OP
T

tonewill

Active Member
Thanks E.D.
Basic minimal script to show the problem:
Code:
on init
    message("")

    define UI_HEIGHT := 50
    define UI_WIDTH := 633
    define TEST_CONTROL_WIDTH := 126

    make_perfview
    set_ui_width_px(UI_WIDTH)
    set_ui_height_px(UI_HEIGHT)

    declare ui_menu menu
    menu -> x := (UI_WIDTH - TEST_CONTROL_WIDTH)
    menu -> y := (UI_HEIGHT + 6)
    menu -> width := TEST_CONTROL_WIDTH
    menu -> height := 18
    menu -> z_layer := 1
    menu -> font_type := 3
    menu -> picture := "menu"
end on
With the above in slot 1 and 2, I get the following in Kontakt 5 (full) and Kontakt 6 (player).

Actually I just noticed that even without z_layer it still works in Kontakt 5.

Thanks for your help.
 

Attachments

EvilDragon

KSP Wizard
Aha yep. I think this was a bug in K5 that got fixed in K6. You were never supposed to put any controls in the tab bar there.
 
Top Bottom