FWH 3.10 - problem with positioning dialog box

Post Reply
User avatar
driessen
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

FWH 3.10 - problem with positioning dialog box

Post by driessen »

Hello,

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

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

This is the source for opening the second small dialog box:

Code: Select all | Expand

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. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: FWH 3.10 - problem with positioning dialog box

Post by Antonio Linares »

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
User avatar
driessen
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH 3.10 - problem with positioning dialog box

Post by driessen »

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. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: FWH 3.10 - problem with positioning dialog box

Post by Antonio Linares »

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
Post Reply