Source language: Translate to:

Super Button While Waiting For App

General questions about NeoBook

Moderator: Neosoft Support

Super Button While Waiting For App

Postby Cuttlas » Tue May 26, 2015 6:28 am

Hi

As you know you can run an application and wait for it to close. It will cause the whole publication to be useless till the app is closed.
But it would be prefect if I can have some buttons that works while the pub is waiting for an application.
Let's say another thing, It would be perfect if I can run another codes while waiting for an application.


Is this possible?
User avatar
Cuttlas
 
Posts: 60
Joined: Wed Dec 07, 2011 10:45 am

Re: Super Button While Waiting For App

Postby Gaev » Tue May 26, 2015 6:55 am

Cuttlas:

But it would be prefect if I can have some buttons that works while the pub is waiting for an application.
Let's say another thing, It would be perfect if I can run another codes while waiting for an application.

Is this possible?

You can build this logic using native NeoBook facilities.

a) use CustomWindow with option of Exclusive and No Border to host your Run command.

If you wish, you may include the Run command in the subroutine that is executed when the Window is opened (see help file for details).
Place "other Buttons that are allowed to be serviced" in this custom Window.

b) In your Run command ...

- do NOT specify Wait

- instead, specify a subroutine to be called upon completion of the application

c) In the specified subroutine ...

CloseCustomWindow "ContainerName"
User avatar
Gaev
 
Posts: 3728
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 2 guests