Page 1 of 1

FWH 3.10 - problem with positioning dialog box

Posted: Thu Nov 16, 2023 9:17 am
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.

Re: FWH 3.10 - problem with positioning dialog box

Posted: Thu Nov 16, 2023 11:17 am
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.)

Re: FWH 3.10 - problem with positioning dialog box

Posted: Thu Nov 16, 2023 11:37 am
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.

Re: FWH 3.10 - problem with positioning dialog box

Posted: Thu Nov 16, 2023 11:56 am
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