Home › Forums › General › Programming › getName with 'on-click' method? › Reply To: getName with 'on-click' method?
April 3, 2018 at 7:28 am
#83289
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).