Hello,
i write a B4X Custom View and this already has some functions, I see in the forum that in each class description the functions are listed with each other. I wanted to ask if there is a generator for it or a template. I had read something like that, but I can not find the thread anymore.
i mean this for example:
SD_XUIView
Author: Star-Dust
Version: 0.01
i write a B4X Custom View and this already has some functions, I see in the forum that in each class description the functions are listed with each other. I wanted to ask if there is a generator for it or a template. I had read something like that, but I can not find the thread anymore.
i mean this for example:
SD_XUIView
Author: Star-Dust
Version: 0.01
- B4XButton
- Events:
- DoubleOrLongClick
- OneClick
- Touch (Action As Int, Coordinate() As Tp_Coordinate)
- Fields:
- Action_Click As Int
- Action_DoubleClick As Int
- Action_Down As Int
- Action_Drag As Int
- Action_LongClick As Int
- Action_LoseTouch As Int
- Action_Up As Int
- MinMoveAccept As Int
- Action_Click As Int
- Functions:
- AddPanel (PanelToAdd As B4XView, Left As Int, Top As Int, Width As Int, Height As Int) As String
- B4XObject As B4XView
- BringToFront As String
- Class_Globals As String
- DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
Base type must be Object - GetAllViewsRecursive As List
- getColor As Int
- getEnable As Boolean
- getHeight As Int
- getLeft As Int
- getTag As Object
- getText As Object
- getTop As Int
- GetView (Index As Int) As B4XView
- getVisible As Boolean
- getWidth As Int
- Initialize (Callback As Object, EventName As String) As String
- IsInitialized As Boolean
Verifica se l'oggetto sia stato inizializzato. - NativeObject As Button
- RemoveAllViews As String
- RemoveViewFromParent As String
- RequestFocus As String
- ReSetEvent (Callback As Object, EventName As String) As String
- SendToBack As String
- setColor (C As Int) As String
- setEnable (B As Boolean) As String
- setFont (F As B4XFont) As String
- setHeight (B As Int) As String
- setLeft (B As Int) As String
- setTag (B As Object) As String
- setText (S As String) As String
- setTop (B As Int) As String
- setVisible (B As Boolean) As String
- setWidth (B As Int) As String
- Snapshot As B4XView
- AddPanel (PanelToAdd As B4XView, Left As Int, Top As Int, Width As Int, Height As Int) As String
- Events: