Handling events

Got a problem you cannot solve? Try here.
Post Reply
mr. dizzle
Posts: 8
Joined: Wed Jul 18, 2007 7:10 am

Handling events

Post by mr. dizzle »

Is there any way to handle paste events in dialog text boxes, or depending on a condition in MSI to enable certain objects on the dialog?

As a test, I decided to try and write a simple serial key dialog. It has 4 fields for the user to enter in their serial in the format of XXXX-XXXX-XXXX-XXXX, obviously without the -.

The reason I want to know about the paste events is that I want to accept a paste in the first field and update the other fields to save them typing them all in.

Also, what is the correct procedure to append the strings entered in the fields using MSI?
mr. dizzle
Posts: 8
Joined: Wed Jul 18, 2007 7:10 am

Post by mr. dizzle »

Can't be done then, I guess?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You can append strings like this:

Set Variable NEWVAR to $OLDVAR1$-$OLDVAR2$-$OLDVAR3$ etc...

Unfortunately, there are no paste events at this time to do what you wish. Sorry for the inconvenience!
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply