B4J Tutorials

AS Scheduler + AS PopupMenu= Appointment Context Menu

1660080327563.png
AS_Scheduler ContextMenu.gif

This is an example project of how to add an context menu on appointment right click.

This Example project are working with the DayView, MonthView and AgendaView on B4J...
 

Attachments

  • AS Scheduler ContextMenu.zip
    9 KB · Views: 518
Last edited:

B4J PDFBox test project

pdfbox_test_000.PNG

In my search for a good PDF file viewer in B4J i came across a few examples.
DonManfred wrote a PDFBox (2.0.17) wrapper. Spsp wrote a ‘clsPDFViewer’.
The thread from knutf...
 

Attachments

  • pdfbox_test.zip
    5.3 KB · Views: 569

AS Scheduler + AS FloatingPanel = Appointment Info Card

1659888703261.png

This is an example project of how to add an info card when hovering over an Appointment.

This Example project are working with the DayView, MonthView and AgendaView on B4J.

You need...
 

Attachments

  • AS Scheduler + AS FloatingPanel.zip
    11.2 KB · Views: 464
Last edited:

How to change location to Msgbox2Async and other customizations

change location
You will surely have noticed that xui.Msgbox2Async places the alert in the center of the last form shown that depends on its Owner.

Sometimes there is a need to place...
 
Last edited:

Mine of AI/ML (60000+) models

Last edited:

[ABMaterial/BANano] Making BANano Libraries for ABMaterial

PREFACE:
As some may know, ABM has some basic JavaScript functionality build-in called B4JS. It was the predecessor of BANano. However, because of the design of ABM, B4JS could never...
 

Attachments

  • 1611312620698.png
    1611312620698.png
    7.2 KB · Views: 927
  • 1611313146813.png
    1611313146813.png
    22.5 KB · Views: 949
Last edited:

Ubuntu Sudo File Explorer

Here is a nice trick for those of you that develop with B4J for Ubuntu Linux which I found searching for my needs. This code runs a File explorer with priviledges of root. All you have to do is...
 

Remote debugging with B4J-Bridge

B4J v1.80 adds support for remote debugging using B4J-Bridge, a tool similar to the beloved B4A-Bridge.

The purpose of B4J-Bridge is to allow you to connect the IDE to a remote machine...
 
Last edited:

[BANanoVuetifyAD3] How to learn from the New Awesome Kitchen Sink to create your next powerful WebApp/Website

Hi there

As a start to anyone interested in BANanoVuetifyAD3 and its webapp/website development eco-system, creating powerful webapps / websites, I greatly recommend the kitchen sink.

So you can...
 

B4JPackager11 - I thought the space didn't matter

This is not really a tip or a tutorial, more of a warning for others.

I made a small B4J program and wanted to distribute the program on a Windows 10 PC. As I was using jSerial, I followed the...
 

[B4X]Turning Miscellaneous Image Shapes into Buttons

This is just a bit of fun, inspired by a recent question about the shape of buttons.
Given an image, how hard is it to make a specific area in the picture sensitive to clicks.

It turns out...
 
Last edited:

[BANano] Creating BANano Custom Views with the BANano Custom View Creator WebApp

Ola

Download

Why the BANano Custom View Creator?

The beauty of BANano is that it enables one to use any front-end framework they want. This means that you can pick any...
 

Attachments

  • BANanoVuetifyAD2.jpg
    BANanoVuetifyAD2.jpg
    232.9 KB · Views: 789
Last edited:

[BANanoVuetifyAD3] Creating Multi-Language WebApps

Hi there...

With this piece of code...

B4X:
vuetify.AddTranslation("en", "de", "hello", "Hello {name}!", "Guten Tag, {name}!")
    vuetify.AddTranslation("en", "de", "welcome", "Welcome!"...
 

Attachments

  • bvad3translate.zip
    16.2 KB · Views: 484

ABMaterial - ABMCustomComponent - Quill Rich Text Editor

In ABMaterial version 4.95, @alwaysbusy introduced me to a new method of handling Rich Text Editing - in the form of an ABMCustomComponent called...
 
Last edited:

[BANanoVuetifyAD3] Encrypting & Decrypting Traffic between JavaScript (Encrypt) & PHP (Decrypt)

Ola

DISCLAIMER: ALWAYS RUN YOUR PHP WEBSERVER ON TOP ON SSL

Download Source code to REPRODUCE (Extracted from the BVAD3 Library)

Whilst you might be secure when running PHP apps on...
 
Last edited:

Backup (dump) Sqlite tables via jShell + *.bat file

If you use SQlite in your apps in you need to do backups. A bad decision is just to copy the database file:

- there will be more than one file when the database is online (e.g. *.wal and other...
 

✅ JDBCSQL Connector/J - Connect directly to MySQL, MSSQL, PostgreSQL, MariaDB and Oracle databases

Hello fellow B4X'ers,
Here is some example code for connecting your B4J projects to 5 different types of database engines, this tutorial is for learning purposes only and nothing else...
 

Attachments

  • Database4ConnectionTypes.zip
    1.6 KB · Views: 2,614
  • Database5ConnectionTypes.zip
    1.6 KB · Views: 3,012
Last edited:

[B4X] Text Along Any Curve

The example here uses a Bezier curve which is one of a lot of possible curves.
But the text drawing routine works on any list of points.
The attached .zip has all the code (140 lines)...
 

Attachments

  • CurvedText.zip
    51.9 KB · Views: 592

[B4X]Cloning Class Instances, Semi-Automatic Self-Replication, and a Trick

Disclaimer:
None of the techniques used here are new to our community and you may have seen the 'Trick' used by me before.

The Problem:
We are using classes more frequently, especially with...
 

Attachments

  • cloning.zip
    12 KB · Views: 537
Last edited:

[BANanoVuetifyAD3] Tree-Shaking your BVAD3 project with the BVAD3 Package Manager

Last edited:
Top