I need to save and later store Mainform.WindowLeft, Top, width, & height. Need to do this in Sub or Function. I want the user to be able move the window (even to s secondary monitor if they want) and have the app put it back where they put it. I am guessing that this would be a pretty popular need and am hoping that someone knows how
I get a error "Object Expected" on the second line.
I get a error "Object Expected" on the second line.
B4X:
Dim MainFrmLTWH As String
MainFrmLTWH = MainForm.WindowLeft.string + "~" + _
MainForm.Windowtop.string + "~" + _
MainForm.Windowwidth.string + "~" + _
MainForm.Windowheight.string + "~"