Ok. TextBox madness again
Sorry to revive this... but this is striking me again, in the same project.. in a new view..
I am using exactly the same settings values, and setting the properties in exactly the same order, but the textbox in the second view is MAD!
Code for the right-side textbox (the one that works..)
Code:
Object oTextBox1 is a TextBox
Set Auto_Size_State to False
Set Size to 19 724
Set Location to 5 4
Set FontPointHeight to 18
Set FontUnderline to True
Set TextColor to clGrayText
Set peAnchors to anTopLeftRight
Set Justification_Mode to JMode_Center
Set Label to "Uso da função JSON_QUERY"
End_Object
code for the 2nd new view (left-side) the one that does not center properly.
Code:
Object oTextBox1 is a TextBox
Set Auto_Size_State to False
Set Size to 19 787
Set Location to 5 4
Set FontPointHeight to 18
Set FontUnderline to True
Set TextColor to clGrayText
Set peAnchors to anTopLeftRight
Set Justification_Mode to JMode_Center
Set Label to "Uso da função JSON_TABLE"
End_Object
I tried several combinations of ordering to set the properties.. No luck with this one. I guess I am hitting some edge-case in the internal calculations.
This is getting so frustrating. too much time spending in something that should be easy to achieve. :-(