fazeelk
Posts: 32
Joined: Wed Sep 10, 2014 5:15 am

Lost Focus Event of Edit box

Hi
I have added an edit box and bound to a property named APP_NAME in the folder dialog for the instance name. I have to set the default value of the APPDIR as follows
C:\ABCCorp\[APP_NAME ]
Could you please let me know how can I achieve this.

Regards
Ahamed Fazeel K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Lost Focus Event of Edit box

Hi Ahamed,

In order to achieve this, you can select the "Next" button of the "FolderDlg" dialog and add an new "Set installer property value" published event with the following configuration:
  • Property: APPDIR
    Value: [APPDIR][APP_NAME]
Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fazeelk
Posts: 32
Joined: Wed Sep 10, 2014 5:15 am

Re: Lost Focus Event of Edit box

Both are in the same window only.

In the first edit box(say ebxInstanceName) I am accepting the instance name while loosing the focus I have to set the default value of APPDIR that has been bound to an Edit box placed below the ebxInstanceName.
Is there any way to fire lost focus event of the edit box ebxInstanceName. Also we need to refresh the screen to reflect the changes . Please let me know how to fix these things
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Lost Focus Event of Edit box

Hi Ahamed,

I'm afraid that control events cannot be executed when the focus is lost. A way to update the "APPDIR" value is to set the event I described in the previous post on a button of the same dialog and give it a suggestive name (i.e. Update Path).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”