I have the same problem. I want to use ahactionbar (and others) in ALL my activities.
Can you give a us a short example of doing this as a class? Maybe a little Class which "generates, initialize and places" just a label!? Would be really great!
I have the same problem. I want to use ahactionbar (and others) in ALL my activities.
Can you give a us a short example of doing this as a class? Maybe a little Class which "generates, initialize and places" just a label!? Would be really great!
I can... but can you explain to me HOW ahactionbar works well??? i have layout problem, with it! (search my post, i'm writing an example for your question - and read my signature, lol)
'Class module clsLayOutHelper
Sub Class_Globals
Dim lbl As Label
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize
End Sub
Public Sub CreateLabel(HostPanel As Panel, _
Text As String, _
Left As Int, Right As Int, _
Width As Int, Height As Int, _
EventName As String)
lbl.Initialize(EventName)
lbl.Text = Text
HostPanel.AddView(lbl, Left, Right, Width, Height)
End Sub