by placing the view at the top instead of at the bottom.How do you use this as a top menu?
by placing the view at the top instead of at the bottom.How do you use this as a top menu?
Oh doh, I'm rusty at this. Thanks.by placing the view at the top instead of at the bottom.
B4A Version: 10.90
Parsing code. Error
Error parsing program.
Error description: Undeclared variable 'iif' is used before it was assigned any value.
Error occurred on line: 475 (ASTabMenu)
Dim CurrentTabUnderlineAnimationDuration As Int = IIf(g_isInUpdate = False,g_CurrentTabUnderlineAnimationDuration,0)
downlaod the lib. again. thanks.Hi, anyone having this one?
downlaod the lib. again. thanks.
Update
- 1.24
- core iif function is now used
Thanks a lot, problem was my B4A version (was on 10.something).Make sure you have:
- B4A V11+ - B4J V9.10+ - B4I V7.50+
exactly the way you would do it, as if it was not a B4XPageHow do you go on using the tab menu on a b4x pages?
ASTabMenu1.AddTab(xui.Color_ARGB(255,39, 174, 97),"Page 1",ASTabMenu1.FontToBitmap(Chr(0xF015),False,30,xui.Color_White),"")
ASTabMenu1.AddTab(xui.Color_ARGB(152,39, 174, 97),"Page 2",ASTabMenu1.FontToBitmap(Chr(0xF179),False,30,xui.Color_White),"")
ASTabMenu1.AddTab(xui.Color_ARGB(255,39, 174, 97),"Page 3",ASTabMenu1.FontToBitmap(Chr(0xF11B),False,30,xui.Color_White),"")
ASTabMenu1.SetTab(1, True, True) 'this is for page #2, on page #3 index is 2
I don't know, how should I know what your project looks like. Make a new thread, create a test project and upload it, then I can tell you what you are doing wrong.What is it that I'm missing?
How change vertical space between icon and text ?
ASTabMenu_vertical.TextIcon_Padding = 1.3 '1.3 is standard value
ASTabMenu_vertical.CommitChanges 'commit changes for all tabs
How change font size for each tab ?
ASTabMenu_vertical.text_font = xui.CreateDefaultBoldFont(15) 'default value
ASTabMenu_vertical.CommitChanges 'commit changes for all tabs
ASTabMenu_vertical.text_font = xui.CreateDefaultBoldFont(15) 'default value
ASTabMenu_vertical.CommitChanges 'commit changes for all tabs
Unfortunately, this is not possible, because at that time I always used only global variables, which then apply to all.I need to change only one, some tabs text size 8 and some text size 14.
Error occurred on line: 481 (ASTabMenu)[/SIZE][/HEADING]
java.lang.RuntimeException: Object should first be initialized (View).
ASTabMenu1.BeginUpdate
ASTabMenu1.TabTextColor=Colors.DarkGray ASTabMenu1.SelectedTabTextColor=Colors.Black
ASTabMenu1.AddTab(TabColor,"New",ASTabMenu1.FontToBitmap(Chr0xf055),False,30,TabiconColor),"1")
Pls remeber my request.Unfortunately, this is not possible, because at that time I always used only global variables, which then apply to all.
I would have to rewrite something. But unfortunately I can't do it today, because I'm not feeling well at the moment.
I haven't forgotten, I'm still on sick leave, so far I haven't felt able to work.Pls remeber my request.
i dont get it.i get this error when try to use Tab Menu