SithasoDaisy: Mashy Teaches TailwindCSS using b4x (with eBook)

Mashiane

Expert
Licensed User
Longtime User
Coming to V1.19 Using the SDUIEditor

Edito.jpg


Using the abstract designer, you just drop this to a layout and set properties.

To set & get its content, one uses the .Content method.

B4X:
Private Sub SDUIEditor1_Changed (e As BANanoEvent)
    lblChanging.Caption = SDUIEditor1.Content
End Sub
 

Mashiane

Expert
Licensed User
Longtime User
Coming to V1.19 - SDUIToastChart

Ability to trap selected series events.
1674210865615.png



This is based on...

B4X:
'sub to show the page
Sub Show(duiapp As SDUIApp)            'ignore
    'get the reference to the app
    app = duiapp
    'page.AddPage(Me, name)
    'page.Root.p(6)
    banano.LoadLayout(app.PageViewer, "adtchartlayout")
    SDUIToastChart1.AddCategories(Array("Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"))
    SDUIToastChart1.AddSeries("Budget", Array(5000, 3000, 5000, 7000, 6000, 4000, 1000))
    SDUIToastChart1.AddSeries("Income", Array(8000, 4000, 7000, 2000, 6000, 3000, 5000))
    SDUIToastChart1.AddSeries("Expenses", Array(4000, 4000, 6000, 3000, 4000, 5000, 7000))
    SDUIToastChart1.AddSeries("Debt", Array(3000, 4000, 3000, 1000, 2000, 4000, 3000))
    SDUIToastChart1.Refresh
    'build the page, via code or loadlayouts
    BuildPage
End Sub

1674491219935.png


1674491239030.png



1674492128911.png



1674492721974.png



1674493549770.png


1674494010110.png
 
Last edited:

Mashiane

Expert
Licensed User
Longtime User
Coming Updates...

Table With Select

B4X:
Dim countries As List
    countries.Initialize 
    countries.Add("South Africa")
    countries.Add("USA")
    countries.Add("Nigeria")
    Dim options As Map = SDUIShared.ListToSelectOptions(countries)
tb4.AddColumnSelect("country", "Country", False, options)

TableSelect.gif
 
Last edited:
Top