Omnimaga
Calculator Community => TI Calculators => Lua => Topic started by: cyanophycean314 on April 29, 2012, 07:08:08 pm
-
It seems like the on.help() event doesn't work.
function on.paint(gc)
if helps then
gc:drawString("Help",50,50)
end
end
function on.help()
helps = true
platform.window:invalidate()
end
Nothing happens when you press Ctrl+H, I've tested this both on-calc and with nspire_emu. Any ideas?
-
well, it's not really [ctrl][h], but [ctrl][trig], the button with that blue "?" above :)
-
Oh! Thank you for explaining! Somebody should fix that on Inspired Lua, it's wrong there.
-
There are quite a few things incorrect/incomplete on Inspired Lua and wiki, but it's a pretty good resource.
So what's the usefulness of on.help when you have to press two buttons to access it?
-
There are quite a few things incorrect/incomplete on Inspired Lua and wiki, but it's a pretty good resource.
So what's the usefulness of on.help when you have to press two buttons to access it?
A generic means to get information/help in a program, similar to F1, would be my guess.
-
There are quite a few things incorrect/incomplete on Inspired Lua and wiki, but it's a pretty good resource.
So what's the usefulness of on.help when you have to press two buttons to access it?
Please report them, really.
Any non-complete/wrong/missing/not-good-enough...
Thanks in advance !
Anyway, will fix that one right now.
-
So what's the usefulness of on.help when you have to press two buttons to access it?
Yeah it's basically to get help. It's a prebuilt event, so why not use it? Other than the fact some might not be able to figure that out. Luckily, there's going to be a readme.
-
Is there any way to access the on.help event through nspire_emu, because I don't see a trig button...
-
Is there any way to access the on.help event through nspire_emu, because I don't see a trig button...
Choose the Touchpad Keyboard ?