Welcome Guest. Please Login or Register. Apr 1st, 2018, 05:23am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. We apologize Conforums does not have any export functions to migrate data. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
Re: Size of graphics box?
« Reply #2 on: Jul 15th, 2015, 1:16pm »
Quote:
But to get back to the question, one of the weaknesses of LB (which is not addressed in LBB) is that WindowWidth and WindowHeight control not the size of the client area, which would almost certainly be more useful, but the size of the entire window (including the 'non-client' furniture).
Thanks Richard. That answers my question. I have also now discovered that the height of the entire window is different under XP and later versions of Windows, which is a bit annoying. Doesn't really matter in my case.
BTW, I wasn't actually filling the entire window with a graphics box, I was leaving room at the top for some buttons. I omitted this small fact as it wasn't relevant to my question.
BTW, I wasn't actually filling the entire window with a graphics box, I was leaving room at the top for some buttons.
You can still use open "" for graphics... since it's legitimate to put buttons and other child controls on a graphics window (unofficially in LB 4.04, although it seems to work, but officially in LBB).