OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Peter2 on February 16, 2017, 04:57:10 AM

Title: Focus-/Forgroundproblem: dos_msgbox versus Tooltips from OpenDCL
Post by: Peter2 on February 16, 2017, 04:57:10 AM
I don't think that it an error, and I don't see /expect a solution, but I want just to report it.

I have an OpenDCL dialog with a large Grid and a tooltip. Some commands invoke the messagebox (dos_msgbox) from DOSLib which appears in the foreground.

Everything is fine, until you move the mouse over the large grid which surrounds the messagebox. Then the tooltip of the grid is displayed and brings ODCL in foreground, while dos_msgbox is hidden behind ODCL. And you can not continue, because the messagebox waits for a mouseclick.

Solution 1:
Move ODCL away to click on the messagebox.

Solution 2:
Is there a solution 2?
Title: Re: Focus-/Forgroundproblem: dos_msgbox versus Tooltips from OpenDCL
Post by: marcoheuer on February 16, 2017, 11:24:35 PM
hello peter,
to solution 2:
i use dcl-MessageBox from odcl and i have no problems with such situations.

best regards
marco
Title: Re: Focus-/Forgroundproblem: dos_msgbox versus Tooltips from OpenDCL
Post by: Fred Tomke on February 17, 2017, 03:52:05 AM
Hi, do you mean automatic tooltips for cell contents which contains mor data than it could be shown in the cell or do you mean your OpenDCL tooltip? If last point, then try to use an info part at the bottom of the form. I used a rectangle and a read-only textbox for that. Whenever a control was entered by the mouse, the info field showed new information.

Regards, Fred
Title: Re: Focus-/Forgroundproblem: dos_msgbox versus Tooltips from OpenDCL
Post by: Peter2 on March 05, 2017, 11:57:19 AM
Hi

sorry for my late reply.
I followed Marcos recommendation and changed to dcl-MessageBox - no problem now.