Use native BTabView with slight modifications.

* Add "left" and "right" tabs orientation.
* Remove dependency on BControlLook which is private API.
This commit is contained in:
Kacper Kasper
2017-08-30 17:08:52 +02:00
parent 1d61d43b0a
commit 3c7f07d931
7 changed files with 63 additions and 825 deletions

View File

@@ -599,7 +599,7 @@ SUBMENU SET MenuHead$, MenuItem$, SubMenuItem$, Option$, View$
-= T =-
TABVIEW x1,y1 TO x2,y2, ID$, Option$, View$
Option$ = "top, bottom" where to place the tabs.
Option$ = "top, bottom, left, right" where to place the tabs.
TABVIEW ADD TabView$, TabName$
For each tab, a new view is created; you can add widgets or draw on these views as ususal.
The ids for the views ist TabView$+"1" for the first, TabView$+"2" for the second view, etc.