Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2005
    Posts
    2

    New Check Boxes on Preload code

    How can I add new Check Boxes in the CheckBox Dialog at runtime.

    Is there any code that runs in On Preload code and do that?

    Thanks.

  2. #2
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    You would have to add any potential checkboxes at design time to the screen. Then on the Preload of the screen you would decide which ones to show and which ones to hide.

    The action to use to show or a checkbox is:
    DlgCheckBox.SetProperties(CTRL_CHECK_BOX_01, {Visible=true});

    The action to use to hide or a checkbox is:
    DlgCheckBox.SetProperties(CTRL_CHECK_BOX_01, {Visible=false});

    Adam Kapilik

  3. #3
    Join Date
    Jan 2005
    Posts
    2
    Yes I have do that and I know this.

    I have design 16 Checkboxes and I set it all in non visible state. (For now I need only 7, but I read the properties from an .ini file)

    But I think thats a good idea the possibility of adding new checkboxes at runtime.

    Ok Thank's anyway. I do my job with that I have for now.

  4. #4
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    Thank you for the suggestion.

    Adam Kapilik

Similar Threads

  1. Article: Using Authenticode Code Signing Certificates
    By Ted Sullivan in forum Setup Factory 8.0 Examples
    Replies: 4
    Last Post: 10-31-2007, 09:03 AM
  2. Controling Tree Check Boxes
    By Jon in forum AutoPlay Media Studio 6.0
    Replies: 9
    Last Post: 02-06-2006, 03:35 PM
  3. Need a code that will check for installed programs.
    By Quantrac in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 02-07-2005, 12:07 AM
  4. check boxes
    By bzadik in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 06-06-2000, 02:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts