[Gambas-user] Wizard question

willy at ...3474... willy at ...3474...
Tue Dec 1 22:28:09 CET 2015


On 2015-12-01 14:32, Johny Provoost wrote:
> Op 01-12-15 om 12:36 schreef [1]willy at ...3474...:
> 
> 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?

Hi Johny,

The buttons are part of the wizard control (a predefined Gambas 
control), so they can't be set individualy. I can only make the entire 
wizard invisible, but that doesn't make a lot of sense :)

Toch bedankt,

gbWilly






More information about the User mailing list