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 8668899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:19:43+00:00 2026-06-12T18:19:43+00:00

Is it possible to conditionally disable or hide edit boxes from a TInputQueryWizardPage input

  • 0

Is it possible to conditionally disable or hide edit boxes from a TInputQueryWizardPage input page (page created by using CreateInputQueryPage function) ?

I have 4 edit boxes and I need to disable/hide the last two of them, based on the input from the previous wizard page. How can I do it ?

  • 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-12T18:19:44+00:00Added an answer on June 12, 2026 at 6:19 pm

    You can access them through the TInputQueryWizardPage.Edits indexed property:

    [Code]
    var
      FirstEditIndex: Integer;
      SecondEditIndex: Integer;
      InputPage: TInputQueryWizardPage;  
    
    procedure InitializeWizard;
    begin
      InputPage := CreateInputQueryPage(wpWelcome, 'Caption', 'Dscription', 'SubCaption');
    
      // the Add method returns the Index of the just added edit box, and
      // you need to store those indexes to access the edit boxes later on
      FirstEditIndex := InputPage.Add('Name:', False);
      SecondEditIndex := InputPage.Add('Surname:', False);
    
      // access the edits through the stored indexes; in your case this will 
      // happen in the other event, so take this script as a showcase
      InputPage.Edits[FirstEditIndex].Enabled := False;  
      InputPage.Edits[SecondEditIndex].Visible := False;  
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to conditionally hide or disable functions in a template class using
Can I use REPLACE function conditionally? e.g. I have a query: SELECT diag_type FROM
Is it possible to decorate a function conditionally? For example, I want to decorate
Is it possible to link conditionally(like an if..else) by using the linker command file?
Is it possible using DbContext / DbSet / DbQuery to conditionally eagerly load a
Possible Duplicate: How can I conditionally compile my C# for Mono vs. Microsoft .NET?
Possible Duplicate: How to print out the method name and line number and conditionally
Is it possible in a .NET app (C#), to conditionally detect if a class
Is it possible for me to have a conditional in XSLT such that I
I have a datepicker and I would like to disable the monday following the

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.