Page 1 of 1
Change dimensions gets FWH-24.09
Posted: Mon Oct 14, 2024 5:44 pm
by Cgallegoa
Hi,
Is there any news ?
https://forums.fivetechsupport.com/view ... 9e93764db9
Still pending:
.- maria_connect
.- dimensions gets
.- pdfharu
.- buttonbmp
I apologize for insisting, as I would like to update my programs from FWH2310 to FWH2407, but unfortunately, this has not been possible due to the reported issues that still have no solution.
Thanks for your help, and best regards
Re: Change dimensions gets FWH-24.09
Posted: Mon Oct 14, 2024 7:10 pm
by Enrico Maria Giordano
I'm not aware of any pending bug. Please show a sample of each problem, so I can investigate.
Re: Change dimensions gets FWH-24.09
Posted: Mon Oct 14, 2024 8:12 pm
by karinha
.- pdfharu -> DONE!
https://forums.fivetechsupport.com/view ... c6#p274509
.- buttonbmp -> DONE!
https://forums.fivetechsupport.com/view ... c6#p274674
The rest haven't yet. Mr. Nages investigating.
Regards, saludos.
Re: Change dimensions gets FWH-24.09
Posted: Mon Oct 14, 2024 9:26 pm
by Enrico Maria Giordano
Re: Change dimensions gets FWH-24.09
Posted: Mon Oct 14, 2024 9:27 pm
by Enrico Maria Giordano
dimensions gets: can you provide a sample, please?
Re: Change dimensions gets FWH-24.09
Posted: Tue Oct 15, 2024 2:42 am
by Cgallegoa
Please see this sample:
https://forums.fivetechsupport.com/view ... 71#p274358
Many thanks for your help.
Best regards,
Re: Change dimensions gets FWH-24.09
Posted: Tue Oct 15, 2024 4:29 am
by nageswaragunupudi
.- dimensions gets
Are your gets from source code or resources?
please apply this fix in TGet.prg
Please locate this line in the metho New()
You may find this code near line 769 or one or two lines above or below.
Please comment out this line and let us know if this works:
Re: Change dimensions gets FWH-24.09
Posted: Tue Oct 15, 2024 2:46 pm
by Cgallegoa
Mr. Rao, thanks for your help.
The issue with gets is from the source code. From resources, it works fine.
If I make this modification
Please comment out this line and let us know if this works:
Commenting out the line "::CalcSize..." won't affect the rendering of the get dimensions in any other way, will it ? Is it safe to remove it without affecting the behavior of the TGet class ?
do I still need to make this other change, suggested by you on 10-06-2024 ?
Please change the last line as:
Code: Select all | Expand
METHOD CalcSize( nTop, nLeft, nWidth, nHeight, lRelative, oWnd, nBottom, nRight ) CLASS TControl // 2024-05-21
local aRect
local lTruePixel := .t.
DEFAULT oWnd := ::oWnd, lRelative := oWnd:lAutoSizeCtrls
if .f. //PCount() > 0
Regarding this suggestion, I have two concerns:
1. I believe this change has an error, as the original code of the CalcSize() Method checks for a numeric value with "if PCount() > 0", not a boolean "if .F.". This causes applications to break in other parts where ::CalcSize() is invoked.
2. The CalcSize Method in the Control.prg file from the FWH-24.09 version does not have the line "local lTruePixel := .t.". Why ? Is it important ?
Best regards,
Re: Change dimensions gets FWH-24.09
Posted: Wed Oct 16, 2024 6:39 am
by Horizon
Hi Mr. Rao,
I think there is something not considered in the CalSize method. When I removed this method from TGroup, my groups returned to normal.
https://forums.fivetechsupport.com/view ... 3eb24c035e
Re: Change dimensions gets FWH-24.09
Posted: Thu Oct 17, 2024 5:41 pm
by Cgallegoa
I think there is something not considered in the CalSize method. When I removed this method from TGroup, my groups returned to normal.
I agree with you. Something is wrong with the
::CalcSize method. It affects the TGroup and TGet classes.
Mr. Rao,
- What is the reason or purpose of the
::CalcSize() method ?
- Can it be removed from these classes without affecting the behavior or appearance of the controls in the applications that instantiate them ?
Best Regards,