I am trying to specify the X and Y coordinates on my form and though I realize I can do this on the form’s property’s window, I would like to be able to do this in the program. I have the following code when the form loads:
method-id Form1_Load final private.
procedure division using by value sender as object e as type System.EventArgs.
set self::Location::X to '690'.
set self::Location::Y to '255'.
end method.
This does not appear to work and I do not know why. The X and Y coordinates get reverted to some kind of default value. And this happens even if I specify the coordinates in the property’s window.