Hi
I have created a custom menu (toolpalette) in my Lua program and it works just as it suppose to. The menu opens up when pressing the MENU key on the hand held and is accessible from the toolbar in the TI software, so far so good.
Now to the problem. I would like to create a button inside the program that opens up the menu. (similar to Windows start button), however I can not figure out how to achieve this.
Basically what I am looking for is a method for "on mouse down, open toolpalette".
Does anyone here knows if/how can be done?
Show Toolpalette on MouseDown
Voir le premier message non lu • 3 messages
• Page 1 sur 1
-
fredrik.ekelof
Niveau 4: MC (Membre Confirmé)- Messages: 10
- Inscription: 09 Oct 2019, 13:37
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Show Toolpalette on MouseDown
Nope, sorry can't do this.
The only alternative, I suppose, would be to have a fully custom menu widget, like Levak did (Menu.lua here) for some of his programs many years ago:
The only alternative, I suppose, would be to have a fully custom menu widget, like Levak did (Menu.lua here) for some of his programs many years ago:
MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14634
- Images: 1218
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: Show Toolpalette on MouseDown
Hi
Thanks for the reply.
I noticed the menu in Make3d is nested in to the screen class and currently I think this is a to great challenge for me to implement, as I am still learning how to code.
I will rethink the design of the program to perhaps use radio buttons or a drop down menu or something similar instead.
The purpose of the custom menu is to choose between three different calculation methods that shall be used by the program. If you have any other suggestions how implement a option selector in Lua I am all ears.
Thanks for the reply.
I noticed the menu in Make3d is nested in to the screen class and currently I think this is a to great challenge for me to implement, as I am still learning how to code.
I will rethink the design of the program to perhaps use radio buttons or a drop down menu or something similar instead.
The purpose of the custom menu is to choose between three different calculation methods that shall be used by the program. If you have any other suggestions how implement a option selector in Lua I am all ears.
-
fredrik.ekelof
Niveau 4: MC (Membre Confirmé)- Messages: 10
- Inscription: 09 Oct 2019, 13:37
- Genre:
- Calculatrice(s):→ MyCalcs profile
3 messages
• Page 1 sur 1
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 9 invités