Alaska Software Inc. - Anyone using TopDown and Express Dialogs?
Username: Password:
AuthorTopic: Anyone using TopDown and Express Dialogs?
Philip JacksonAnyone using TopDown and Express Dialogs?
on Wed, 26 Jan 2011 17:03:35 +1300
I use mainly Express for my windows but have developed some generic 
routines in TopDown.

I have read the article www.cjcom.net/tdarticles.htm and tried but have 
been unsuccessful in trying to get the correct dialog screen working 
with the correct title.

I have a menu that appears under express and in the EVAL routine I used 
SetAppWindow(o) and use a local variable as PARENT.

In my Express dialog screen that is called from the Express dialog menu, 
I just use SetAppWindow(), AppDesktop() as owner and parent.

The screen displays correctly other than the title bar which belongs to 
the express dialog.

--

If I change the EVAL routine of the Express dialog to SetAppWindow() 
instead of SetAppWindow(o) I can't see the Topdown dialog at all but it 
is there and interacts with the keyboard.

If I press ESC from this hidden window, it reverts back to the Express Menu.

I'm sure that part of the problem is to do with the way that Express 
handles vertical button bars because if I create Topdown dialog with no 
Parent setting (documentation says that it uses SetAppWindow():Drawing 
area as default), then the Top Down screen appears but smaller than it 
should be because it is placed to the right of the button bar from the 
Express dialog.

I've got a potential workaround that involves changing the title of the 
previous screen but that seems silly.

Does anyone have experience with this combination of 3rd party libraries 
and has ideas on how to resolve this?


Cheers

Phil Jackson
Philip JacksonRe: Anyone using TopDown and Express Dialogs?
on Thu, 27 Jan 2011 09:52:08 +1300
Don't worry about this - I did manage to change the previous screen's 
title and then restore quite easily.

I'm not going to worry about what is going on. The customer will not see 
any difference.

Cheers

Phil Jackson


On 1/26/2011 5:03 PM, Philip Jackson wrote:
> I use mainly Express for my windows but have developed some generic
> routines in TopDown.
>
> I have read the article www.cjcom.net/tdarticles.htm and tried but have
> been unsuccessful in trying to get the correct dialog screen working
> with the correct title.
>
> I have a menu that appears under express and in the EVAL routine I used
> SetAppWindow(o) and use a local variable as PARENT.
>
> In my Express dialog screen that is called from the Express dialog menu,
> I just use SetAppWindow(), AppDesktop() as owner and parent.
>
> The screen displays correctly other than the title bar which belongs to
> the express dialog.
>
> --
>
> If I change the EVAL routine of the Express dialog to SetAppWindow()
> instead of SetAppWindow(o) I can't see the Topdown dialog at all but it
> is there and interacts with the keyboard.
>
> If I press ESC from this hidden window, it reverts back to the Express
> Menu.
>
> I'm sure that part of the problem is to do with the way that Express
> handles vertical button bars because if I create Topdown dialog with no
> Parent setting (documentation says that it uses SetAppWindow():Drawing
> area as default), then the Top Down screen appears but smaller than it
> should be because it is placed to the right of the button bar from the
> Express dialog.
>
> I've got a potential workaround that involves changing the title of the
> previous screen but that seems silly.
>
> Does anyone have experience with this combination of 3rd party libraries
> and has ideas on how to resolve this?
>
>
> Cheers
>
> Phil Jackson
>
>
>