Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009
    Posts
    9

    Grin How to set DlgScrollingText Cancel button in script

    How can I enable the cancel button on the Scrolling Text window during the finish? I want this form to stay on screen until the user has clicked on the cancel button (i've renamed to 'next >').

    *** LOCATION: actions_post_install > On Finish
    [6]: DlgScrollingText.SetProperties(CTRL_BUTTON_CANCEL, {Visible = true, Enabled = true});
    TRACE: LastError = 1153 ("The specified control is of the wrong type for this action.")

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by korazy View Post
    [6]: DlgScrollingText.SetProperties(CTRL_BUTTON_CANCEL, {Visible = true, Enabled = true});
    TRACE: LastError = 1153 ("The specified control is of the wrong type for this action.")
    That's because the scrollingtext object isn't a button... use
    Code:
    DlgButton.SetProperties()
    instead.

    Or just enable it in the screen properties to begin with.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Similar Threads

  1. Lua script action is not executed via DoAction on button click
    By psulek in forum MSI Factory 2.0 Discussion
    Replies: 8
    Last Post: 05-14-2008, 09:35 AM
  2. Fading effect with Labels
    By autoplmst6 in forum AutoPlay Media Studio 7.5 Examples
    Replies: 3
    Last Post: 04-09-2008, 03:18 PM
  3. Add cancel button to dialog box
    By boroarke in forum AutoPlay Media Studio 6.0
    Replies: 3
    Last Post: 07-15-2007, 07:48 PM
  4. Stuck again ! - button state changes from script
    By qwerty in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 07-09-2007, 05:12 PM
  5. Example: Creating an on/off button to toggle background audio
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 07-10-2004, 02:54 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