Change dimensions gets FWH-24.09
Change dimensions gets FWH-24.09
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
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
Saludos,
Carlos Gallego
*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***
Carlos Gallego
*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Change dimensions gets FWH-24.09
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
.- 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.
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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Change dimensions gets FWH-24.09
dimensions gets: can you provide a sample, please?
Re: Change dimensions gets FWH-24.09
Please see this sample:
https://forums.fivetechsupport.com/view ... 71#p274358
Many thanks for your help.
Best regards,
https://forums.fivetechsupport.com/view ... 71#p274358
Many thanks for your help.
Best regards,
Saludos,
Carlos Gallego
*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***
Carlos Gallego
*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Change dimensions gets FWH-24.09
Are your gets from source code or resources?.- dimensions gets
please apply this fix in TGet.prg
Please locate this line in the metho New()
Code: Select all | Expand
::CalcSize( ::nTop, ::nLeft, nWidth, nHeight )
Please comment out this line and let us know if this works:
Code: Select all | Expand
// ::CalcSize( ::nTop, ::nLeft, nWidth, nHeight )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Change dimensions gets FWH-24.09
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
do I still need to make this other change, suggested by you on 10-06-2024 ?
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,
The issue with gets is from the source code. From resources, it works fine.
If I make this modification
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 ?Please comment out this line and let us know if this works:Code: Select all | Expand
// ::CalcSize( ::nTop, ::nLeft, nWidth, nHeight )
do I still need to make this other change, suggested by you on 10-06-2024 ?
Regarding this suggestion, I have two concerns: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
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,
Saludos,
Carlos Gallego
*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***
Carlos Gallego
*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***
Re: Change dimensions gets FWH-24.09
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
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
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Re: Change dimensions gets FWH-24.09
I agree with you. Something is wrong with the ::CalcSize method. It affects the TGroup and TGet classes.I think there is something not considered in the CalSize method. When I removed this method from TGroup, my groups returned to normal.
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,
Saludos,
Carlos Gallego
*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***
Carlos Gallego
*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***