B4A Library TD_DBNavBar

I like to keep the audiance informed that I declare all of my former published libraries as obsolete.
All my libraries outside TD_Framework are not longer supported or under future development!


Status: INITIAL
Name: TD_DBNavBar
Code: B4A
Type: JAR/XML additional lib
Version: 2.0
Author: TechDoc G. Becker

Attached:
  • B4A Example Project
  • Custom Library Files


The publication of TD_DBNavBar is starting the publication of TD_Framework. TD_DBNavbar is a part of it. More parts are following in the next month.

Contenplan Part 1 of TD_Framework:
  • Treatise "Optimizing Private and Business Work", release planned April 2025
  • TD_ProjectTemplate_Pages, release planned April 2025
  • TD_ProjectTemplate_CustView, release planned April 2025
  • TD_ProjectTemplate_CustClass, release planned 2025
  • TD_DateTimeTemplate, published, Extended B4XDateTemplate
  • TD_BeeperDeLuxe, published, TD_Beeperdeluxe
  • TD_DataNavigator, release planned March 2025
  • TD_DBUtils, Release planned APril 2025
  • TD_Drawer, Drawer with foldable Menu Tree, release planned May 2025



TD_DBNavBar is a custom designer view. It holds 2 special toolbars with buttons.

Toolbar 1 is called Navigationbar
TD_DBNavBar1.png

Toolbar 2 is called Databasebar
TD_DBNavBar2.png


TD_DBNavBar may be used standalone or in combination with DBUtils or TD_DBUtils . Both libraries are serving with the needed functionality to manage storing and retriving data in an SQLite or SQLCipher database. TD_DBUtils is based on DBUtils functions containing additional functionality.

A short click on the round middle button switches between the toolbars.
Each short or long click of one of the other buttons raises a custom event.
Custom Events:
Private Sub TD_DBNavBar1_Click(Bt As Label)
    Log(Bt.Tag)
End Sub

Private Sub TD_DBNavBar1_LongClick(Bt As Label)
    Log(Bt.Tag)
End Sub

The Buttons TAG Property keeps the button identifier. All Buttons of each bar are named from bt1...bt7.

There are some custom designer properties:

TD_DBNavBar3.png


To customize the look of the bar and the buttons. The Property Signal turns a Key-Click-Sound on/off.

To install copy the content of the zipped lib file into the additional lib folder of the development suite (JAR and XML).
Activate this libs in the project:
  • TD_DBNavBar
  • TD_Beeperdeluxe
  • Audio
  • Stringutils
  • Phone
Copy td_dbnavbarbuttons.bal from Files Folder of the example Project to your project Foöes folder.

To use drag the TD_DBNavBar View in the designer at the footer of the page and anchor to it down and spreaded.
 

Attachments

  • TD_DBNavBar_lib.zip
    192.8 KB · Views: 29
  • TD_DBNavBar.zip
    13.6 KB · Views: 27
Top