Reply To: getName with 'on-click' method?

Home Forums General Programming getName with 'on-click' method? Reply To: getName with 'on-click' method?

#83289
human fly
Participant
    • Topics: 124
    • Replies: 1070
    • Total: 1194
    • ★★★★

    doing something with that as:
    (messing around with an array of labels as keyboard notes)

    function kybdOps(comp, event)
    	kbName	=nil
    	kbsub	=nil
     
    	kbName= L(comp:getOwner():getName())
    	kbsub=tonumber(string.sub(kbName,3))
    	--console(String(kbName..":"..kbsub))
    
    	matchkbsub()
    
    end

    where ‘matchkbsub’ does stuff with tables
    -trying to figure out a way to do a graphic keyboard,
    and if labels are viable – maybe buttons? but you have
    fewer text appearance options, so for now it’s labels,
    which will display what’s assigned to a key (eventually).

    Ctrlr