Forum: wxRuby Wizard: how jump to a specific page?

E23087687a1dc09800922263cf1774c0?d=identicon&s=25 Alessandro Barracco (bomastudio)
on 2013-04-24 17:08
Hi all, I've a Wizard with 10 pages. How can I jump to a specific page?
E23087687a1dc09800922263cf1774c0?d=identicon&s=25 Alessandro Barracco (bomastudio)
on 2013-04-26 11:44
OK I solved. Simply setting the .set_next method. If

w = Wx::Wizard.new(self, :title => 'Title)
p1 = Wx::WizardPageSimple.new(w)
p2 = Wx::WizardPageSimple.new(w, p1)
p3 = Wx::WizardPageSimple.new(w, p2)

p1.set_next(p2)
p2.set_next(p3)

I want to jump from the 1st to the 3rd page, so just set

p1.set_net(p3)


!! That's all!!
This topic is locked and can not be replied to.