Welcome Guest. Please Login or Register. Mar 31st, 2018, 11:37pm
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.
Cross-platform BBC BASIC (Windows, Linux x86, Mac OS-X, Android, iOS, Raspberry Pi)
I want to move all three a certain distance to the left or back again to the original position.
If you've tried the 'obvious' ways and they don't work, that probably means you can't. But you might want to check that you really are using window handles: the BB4W libraries are rather inconsistent in how you find the window handle of a control (for example WINLIB5 returns window handles directly, but WINLIB2 doesn't).
Re: Moveable Tabs
« Reply #4 on: Feb 16th, 2018, 08:48am »
Thanks - that point about WINLIB2 and 5 was something I hadn't realised before!
Actually, after a night's sleep I looked at it again and discovered that I had left off a "0," and once that was in, it all worked properly. Sorry to have troubled you.
So for the record, you *can* move tab controls around (and the associated dialog boxes - if any - move with them) using "SetWindowPos" and the handle returned by the creation routine. However if you want to vary the number of tabs, you have to close the window and recreate it with the required number of tabs.