[Gambas-bugtracker] Bug #2100: Problems with MAX() ... or ... Integer[]

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Feb 28 02:20:27 CET 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2100&from=L21haW4-

Comment #7 by Michael ALTROGGE:

just call the function and step thru ...

i thought i've explained well in my first comment

oObject could be any object which has a font property and sText is the string which length and height should be calculated ... MAX gives the correct value (107) but ReturnValue[0] is 618 ... this happens only with .X (second screenshot) or .W never with .Y or .H and not always ... changing between gb.gui gb.gtk3 gb.qt5 sometimes helps for a while

Michael ALTROGGE changed the state of the bug to: Accepted.




More information about the Bugtracker mailing list