Hi Babak
I am using the latest release from SVN whereby the GetRowHeight is CGFloat. When i double click on the event, the parameter for the event is var RowHeight : single. Is this correct.
Another observation, when it is release in 32 bit mode, the row height of each table item is correct. When release in 64 bit mode, the row height is not changed. it is compressed.
Please help
thanks
chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
CGFloat maps to Single when compiling in 32bit mode, and to Double when compiling in 64bit mode. The RowHeight parameter must use CGFloat, too. But if Delphi doesn't insert that correctly, then we may have to add a workaround.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Babak
I am using the latest release from SVN whereby the GetRowHeight is CGFloat. When i double click on the event, the parameter for the event is var RowHeight : single. Is this correct.
Another observation, when it is release in 32 bit mode, the row height of each table item is correct. When release in 64 bit mode, the row height is not changed. it is compressed.
Please help
thanks
chris
CGFloat maps to Single when compiling in 32bit mode, and to Double when compiling in 64bit mode. The RowHeight parameter must use CGFloat, too. But if Delphi doesn't insert that correctly, then we may have to add a workaround.
Under 64 bits, the row height is not adjusted. How to do a workaround it? Cast it?
I've changed the event so that it now uses single on 32 and 64 bit.
Does this fix the issue. or we need a workaround?
This should fix this issue. Please let us know if it does not.