FWH 3.10 - problem with positioning dialog box

FWH 3.10 - problem with positioning dialog box

Postby driessen » Thu Nov 16, 2023 9:17 am

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 view  RUN
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.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
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

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 3.10 - problem with positioning dialog box

Postby driessen » 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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
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

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 35 guests