Will you both be at the conference?
I'd like to see how this was accomplished.
I believe I would find this useful.
 


-----Original Message-----
From: "Mike Byerley" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Tue, 23 Aug 2011 13:04:51 -0400
Subject: [RBASE-L] - Re: Disappearing Dialog


My Pleasure..  Now you see DLCall is not so daunting and can substantially 
upgrade your RBase toolset... ;-)


----- Original Message ----- 
From: "Frank Taylor" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, August 23, 2011 11:41 AM
Subject: [RBASE-L] - Re: Disappearing Dialog


Mike,

Perfect, thanks for the help on and off list.. I got it to work and stay on 
top !!

-- Frank

Frank Taylor - Information Technology Administrator
F.J. O'Hara & Sons, Inc - Araho Transfer Inc.
Boston, MA - Rockland, ME - Miami, FL
Direct Dial - 617-790-3093
email: [email protected]


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mike Byerley
Sent: Monday, August 22, 2011 1:25 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Disappearing Dialog

Frank,
  You could use the Win32 MessageBox function:

  http://msdn.microsoft.com/en-us/library/ms645505%28v=VS.85%29.aspx

  If you use the GetProperty  command to get the HANDLE of the form you want 

the message box to stay on top of and pass it to the MessageBox function, it 

will be modal to that form.

If you look at the parameter information of the function, you can see that 
you can specify one, two, or three buttons and capture the result in an 
RBase Integer.  It is not as daunting as it looks to use it with the DLCall 
function.




----- Original Message -----
From: "Frank Taylor" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Monday, August 22, 2011 11:00 AM
Subject: [RBASE-L] - Disappearing Dialog


I am having an issue with one of my scanning forms that has a button that
the user will click on and then a Dialog box comes up telling the user to
hit continue when scan is done or cancel.  While the dialog form is up if
the user clicks on something else, like email or will open a document, when
they click back on RBase, 50% of the time the Dialog goes behind the form.
I have instructed them to hit Alt-Tab, Alt-Tab to get the dialog to the
front of the screen, but if they do not know the dialog is there they will
start clicking on the form, which causes it to not respond and crash the
application.

Does anyone have any input on this or a different way of doing what I need
without having dialogs getting lost ?

I just tried this on V9.1.4.10822 and it would still go behind the form
randomly when I launched another program.

-- Frank

Frank Taylor - Information Technology Administrator
F.J. O'Hara & Sons, Inc - Araho Transfer Inc.
Boston, MA - Rockland, ME - Miami, FL
Direct Dial - 617-790-3093
email: [email protected]

Reply via email to