FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 3.10 - problem with positioning dialog box
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
FWH 3.10 - problem with positioning dialog box
Posted: Thu Nov 16, 2023 09:17 AM
Hello,

I need to open 2 dialog boxes. In FWH 3.07 it is shown like this:
.

But if I open both dialog boxes using FWH 3.10, it results into this:


This is the source for opening the second small dialog box:
Code (fw): Select all Collapse
LOCAL aRect := {}
oFontSFB := GetStandardFont(1)
aRect := GetWndRect(ArcLst:hWnd)
DEFINE DIALOG ArcLeg NAME "L_BEHARCHIEF" FONT oFontSFB
ACTIVATE DIALOG ArcLeg RESIZE16 NOWAIT ON MOVE ArcLeg:Move(aRect[1],aRect[4],,,.T.)
Why is that happening? Why isn't the small dialog box in FWH 3.10 opened the same way like it did in FWH 3.07?

Thank you very much in advance.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 3.10 - problem with positioning dialog box
Posted: Thu Nov 16, 2023 11:17 AM

Dear Michel,

Do you use this ? Maybe you wrote ON MOVE by mistake:

ACTIVATE DIALOG ArcLeg RESIZE16 NOWAIT ON MOVE ArcLeg:Move(aRect[1],aRect[4],,,.T.)

or

ACTIVATE DIALOG ArcLeg RESIZE16 NOWAIT ON INIT ArcLeg:Move(aRect[1],aRect[4],,,.T.)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: FWH 3.10 - problem with positioning dialog box
Posted: Thu Nov 16, 2023 11:37 AM

Antonio,

Thank you very much for your help. Problem is solved.

To me it only looks strange that is was working fine in 3.07 and not in 3.10.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FWH 3.10 - problem with positioning dialog box
Posted: Thu Nov 16, 2023 11:56 AM

Dear Michel,

glad to know the problem is solved

In FWH 23.10 we have removed many warnings, code has been simplified, thus it is possible this change in the behavior

many thanks for your great feedback

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion