Hi,
My user use the Page Navigation to navigate the App. An exit option would be very helpful on that menu.
Thanks
Herb
Hi,
My user use the Page Navigation to navigate the App. An exit option would be very helpful on that menu.
Thanks
Herb
Hi Herb,
What if you added a page with some random message on it ("Bye-bye, have a great day!") and in the Activate of the form issued Lianja.closeApp() ?
Or the page could have a canvas section with a label above "Are you certain you want to leave this application" with Yes No buttons. No takes you to the First page of the app, Yes issues the Lianja.closeApp()
Hank
Last edited by HankFay; 2020-03-15 at 11:25.
Hi Herb,
I’ll have a look at adding an attribute that adds “Exit” in desktop apps.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
In 5.3Beta30 I have added..
- An additional App attribute "Additional page menuitems", This is a list of caption,action|caption2,action2... The actions correspond to Lianja.showDocument() actions. I have added support for "exit:" and "closeapp:" to the showDocument() actions.
Also note that the Navigation panel already handles showDocument() actions.
Last edited by barrymavin; 2020-03-15 at 22:23.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Cool - Thanks Barry!
1) add a page; 2) add a canvas section; 3) add two labels (for the message) and 4) two buttons (left: exit, right, cancel). 5) Add delegates to the click of the buttons.to exit or go to the first page of the app, or whatever you want to happen 6) Anchor the stuff appropriately. 7) adjust style -- if you already have MetaTypes set up for the app, stick those on page, section, controls.
For someone who already knows their way around, that's what, 10 or 20 minutes? For a fast clicker, 5 minutes. For the way Barry types and clicks, 3 minutes.
If you have to learn anything to do the above, add in time to learn, of course. That doesn't count. If you're like me and have to relearn things because there's only so much room in the noggin, that time doesn't count either. What counts is how many clicks and keystrokes are needed to accomplish the intended result.
If this is something you will reuse, make that section a visual component. That way the next time you can just drop in the visual component. If it's a different app or for a different customer and you use the same MetaType names, voila! There are many variations on how you can work with a visual component across apps, depending on your situation but that's another topic.
Hank
Last edited by HankFay; 2020-03-17 at 13:30.
Bookmarks