Re: [Gambas-user] Wizard question
On 2015-12-01 17:02, Tobias Boege wrote: > On Tue, 01 Dec 2015, wi...@develop.earthshipeurope.org wrote: >> Hi all, >> >> I'm currently working on a Wizard and have a question. >> >> The thing with this specific wizard is that once a user starts the >> wizard, he/she should run through the whole wizard, so no canceling >> halfway. >> >> For this I would need to be able to disable (or even better make >> invisible) the Cancel button, but I can't figure out how to do this. >> Is >> it even possible? >> >> If not, I'll have to work around the issue with letting the Cancel >> event >> call the Form_Close() method (where closing the wizard before it >> finished is stopped). >> But it would look better to visualize the Cancel can't be used >> I.M.H.O. >> > > This seems like an efficient workaround (compared to writing your own > Wizard based on the code from gb.form): Hi Tobi, That is what I was thinking as well :) > > You set Wizard.ShowButton = False and place two buttons (to move to the > next and previous step) below the Wizard and make them look like the > two > on the Wizard. With Wizard.MoveNext() and Wizard.MovePrev() they also > behave like the buttons on the Wizard. I might give this a try as well, looks interesting. I have to say, up untill a short while ago I didn't use the wizard. Kind of got used to building my own for each specific situation. Recently I've used it to make two different wizards and I like it a lot. It is a really handy control, once you figure out how to work with it. I'm loving it :) > > Regards, > Tobi Regards, gbWilly -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Wizard question
Can't you just find the .children[] index and hide it? -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Wizard question
On Wed, 02 Dec 2015, Moviga Technologies wrote: > Can't you just find the .children[] index and hide it? Whenever I see somebody doing this, part of me wants to commit a silly change (like changing the name of a control, or whatever bit of information their algorithm uses to find the correct child) and break their application with the next release. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Wizard question
On Tue, 01 Dec 2015, wi...@develop.earthshipeurope.org wrote: > Hi all, > > I'm currently working on a Wizard and have a question. > > The thing with this specific wizard is that once a user starts the > wizard, he/she should run through the whole wizard, so no canceling > halfway. > > For this I would need to be able to disable (or even better make > invisible) the Cancel button, but I can't figure out how to do this. Is > it even possible? > > If not, I'll have to work around the issue with letting the Cancel event > call the Form_Close() method (where closing the wizard before it > finished is stopped). > But it would look better to visualize the Cancel can't be used I.M.H.O. > This seems like an efficient workaround (compared to writing your own Wizard based on the code from gb.form): You set Wizard.ShowButton = False and place two buttons (to move to the next and previous step) below the Wizard and make them look like the two on the Wizard. With Wizard.MoveNext() and Wizard.MovePrev() they also behave like the buttons on the Wizard. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Wizard question
Hi all, I'm currently working on a Wizard and have a question. The thing with this specific wizard is that once a user starts the wizard, he/she should run through the whole wizard, so no canceling halfway. For this I would need to be able to disable (or even better make invisible) the Cancel button, but I can't figure out how to do this. Is it even possible? If not, I'll have to work around the issue with letting the Cancel event call the Form_Close() method (where closing the wizard before it finished is stopped). But it would look better to visualize the Cancel can't be used I.M.H.O. Thankx, gbWilly -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Wizard question
Op 01-12-15 om 12:36 schreef [1]wi...@develop.earthshipeurope.org: Hi all, I'm currently working on a Wizard and have a question. The thing with this specific wizard is that once a user starts the wizard, he/she should run through the whole wizard, so no canceling halfway. For this I would need to be able to disable (or even better make invisible) the Cancel button, but I can't figure out how to do this. Is it even possible? If not, I'll have to work around the issue with letting the Cancel event call the Form_Close() method (where closing the wizard before it finished is stopped). But it would look better to visualize the Cancel can't be used I.M.H.O. Thankx, gbWilly is 'myform.mybutton.visible=false' not working? -- Vriendelijke Groeten Johny Provoost mailto: [2]johny.provo...@skynet.be mailto: [3]johny.provo...@gmail.com Website: [4]http://www.johnyprovoost.net References 1. mailto:wi...@develop.earthshipeurope.org 2. mailto:johny.provo...@skynet.be 3. mailto:johny.provo...@gmail.com 4. http://www.johnyprovoost.net/ -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user