Loading
How to initial Text Area control in my custom dialog?
I create a basic MSI project. And add one custom dialog in it. And there is a text area control on this dialog. How to initial the text area before the dialog is showed? I've tried to use MsiSetProperty(), but it doen't work. It just set the value of the text area control, not the text of it. So, how could I implement this? Hope anyone could help me. Thx.:(

  • Hi There,

     

    If I'm getting you right, I think what you want to do is set the Text of the text area to something like:

     

    [MYPROPERTY] and some static text.

     

    The text area is a formatted field so property references should resolve.

     

    Hope this helps!
    Expand Post
  • " Cary R wrote:

     

    Hi There,

     

    If I'm getting you right, I think what you want to do is set the Text of the text area to something like:

     

    [MYPROPERTY] and some static text.

     

    The text area is a formatted field so property references should resolve.

     

    Hope this helps! "

     

    Thank you. But could you offer me the sample code for it?

     

    The property of the text area is TX_SITE_NAME, I just want the static text of the text area is "localhost_site". So the code could me like this in the install script?

     

    [TX_SITE_NAME] = "localhost_site";

     

    It seems that it cannot be compiled well. :o
    Expand Post

Loading
How to initial Text Area control in my custom dialog?