LB Booster
Programming >> Compatibility with LB4 >> Initial size of mainwin
http://lbb.conforums.com/index.cgi?board=compatibility&action=display&num=1437689164

Initial size of mainwin
Post by Richard Russell on Jul 23rd, 2015, 10:06pm

I've received a complaint from a user who is upset about LBB's mainwin initialising to a completely different size from LB4's mainwin.

Of course it's not true: both LBB 3.00 and LB 4.04, out of the box, initialise the mainwin to 80 columns by 24 rows. But it's not difficult to guess why the user has formed his opinion - in LB the initial size of the mainwin is configurable in the Setup... Preferences... menu! So if this has been set to something other than 80x24 then of course LBB will appear to be incompatible. sad

In my opinion it's pretty crazy for a setting in the IDE to affect the behaviour of a program in this way. In any case it's unnecessary - you can use the MAINWIN statement to change the window size to whatever your program needs. But that has an even more ridiculous side-effect - it updates the IDE's settings so that the specified mainwin dimensions become the default next time! rolleyes

LBB doesn't attempt to emulate any of this strangeness. The mainwin always initialises to 80x24, and can be changed to a different size at run-time using the MAINWIN statement.

Richard.