View Single Post
Old 11-13-2018, 09:57 PM   #350
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

I will have a textbox for each beat @ 4/4 that will be 16 per row,
I just got to find some way to scroll them up/down with the buttons and
scroll up 1 row after it plays the 16 on each row.
That's just one cell/textbox at the moment.


Code:
local function scroll_up() --scroll up one row

    y1=y1+50
    GUI.New("my_text1", "Textbox", {
        z = 1,
        x = x1,
        y = y1,
        w = 57,
        h = 35,
        caption = "",
        cap_pos = "left",
        font_a = 3,
        font_b = {"Chords", 28},
        color = "white",
        bg = "wnd_bg",
        shadow = true,
        pad = 4,
        undo_limit = 20
        
    })
    
end
MusoBob is offline   Reply With Quote