Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8207723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:05:21+00:00 2026-06-07T09:05:21+00:00

Using self.GetParent().FindWindowById(wx.ID_FORWARD).Disable() I am able to disable the next button altogether, but I only

  • 0

Using self.GetParent().FindWindowById(wx.ID_FORWARD).Disable() I am able to disable the next button altogether, but I only want my second page in the Wizard to have a disabled button until a condition is met. How can I prevent the next button from being disabled until I reach the second page if all pages are created at once?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T09:05:23+00:00Added an answer on June 7, 2026 at 9:05 am

    The wizard is pretty cool until you actually want to modify stuff like this. I am guessing you will have to keep track of which page you’re on and then call something like this (which is what you already know):

    forward_btn = self.FindWindowById(wx.ID_FORWARD) 
    forward_btn.Disable()
    

    You can probably use event.GetPage() to figure out which page you’re on. Or you could just re-implement the wizard with some panels and do the switching that way. Personally I think that would be easier. I have an example of panel switching on my blog that might help you.

    You might also find this really generic implementation of a Wizard that I came up helpful too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to load my project using a self-made .asd file, but somehow
Using Cocos2d to draw a thicker circle: glLineWidth(20); ccDrawCircle(self.ripplePosition, _radius, 0, 50, NO); But
I add a viewcontroller using [self presentModalViewController:vectorView animated:YES]; But then from within would like
I am using [self.view addSubView:tabBarController.view]; But because of this viewDidAppear and viewWillAppear is not
I can see first-class member variables using self.__dict__ , but I'd like also to
It looks like WCF only uses one thread when using self hosting. I'd like
I'm trying to present a view controller thats only half the height using [self
I'm using Self Tracking Entities that implements IObjectWithChangeTracker with the last Entity Framework RC
this is the code I'm using: self::$DB->prepare($query, $types); when the $query and types are:
I'm a new Python programmer who is having a little trouble using 'self' in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.