B4J Tutorials

[BANano] Exploring BANanoEvents

Hi there

This is just my method (without abstract designer views) of adding and binding events to elements.

1. Elements are added to the page
2. After the page content is updated, events are...
 

Attachments

  • BANanoEvents1.zip
    2 KB · Views: 490
Last edited:

[BANano]: Distributing and accessing an existing SQLite Databases - Part 1

Last edited:

TreeTableView

TreeTableView is a new control added in B4J v5.80.

SS-2017-07-13_15.52.52.png


TreeTableView is very similar to TreeView where each item has...
 

Attachments

  • TreeTableViewExample.zip
    2.6 KB · Views: 1,613
  • TreeTableView2ndExample.zip
    4.1 KB · Views: 1,732

[BANano] Working with BANanoSQL

BANanoSQL makes it possible to use 'normal' SQL queries on the IndexedDB database located in the browser.

There are three ways on how to work with BANanoSQL:

1. Event Driven
This is...
 
Last edited:

[BANano]: BANanoSQL CRUD-ing around with BANanoSQLUtils

Last edited:

[BANano] v2: (2) B4J Abstract Designer

Last edited:

[BANano] v2: (1) B4J Abstract Designer

Last edited:

[BANano] The Designer

NOTE: This system is depreciated in V2 and replaced by a much better and complete solution. See here...
 
Last edited:

B4J-Bridge dockerimage

[BANano] Resumeable Sub (sort of)

Javascript acts differently compared to java when doing some async stuff and is rather complex. However, I've tried to make it as comfortable as possible for you, the programmer. All you have to...
 
Last edited:

[BANano] Creating libraries

Last edited:

[BANano] BANanoObject talks with Javascript

I took my inspiration from Erels JavaObject to make a similar one for BANano. This is the 'Object' that rules them all... (in version 1.08+)

What is the difference between a...
 
Last edited:

[BANano] Ajax calls

EDIT 1.04: Method syntaxes have changed!

With BANano, it is easy to make a Ajax call (e.g. to call a B4J REST API method).

There are two ways to do so:

1. Using events (the prefered way...
 
Last edited:

Raspberry Pi with Java 11

Running UI apps on Raspberry Pi with Java 11 is relatively simple.

1. Download Liberica JDK.
Download the lite version...
 
Last edited:

B4J and Raspberry Pi boards

Last edited:

[BANano] Events

BANano has a simple system to use events:

HandleEvents: does the same as On, BUT prevents the default behaviour
On
: handles one or more events
Off: disables an event

To explain...
 

[ABMaterial] TIP: ... and wait for

Maybe this is old news, but I was wondering if wait for could work with ABM events, and it seems they do!

Here for example (it is a page_ event, so I put it in the same class as where the page is...
 
Last edited:

[ABMaterial] Facebook-like timeline in less 200 lines!

Note: This example will be included in the upcoming 3.02 Maintenance Update.

I had a question if it was possible to create a Facebook-like WebApp with ABMaterial so I had some time to spare...
 

Attachments

  • ABMLikeComponentCSSJSPics.zip
    40 KB · Views: 557

? Printing on A4 and Letter sized paper

Hello all,
As the title say, this is a quick tutorial on how to print on A4 or Letter sized paper using the follow information provided by Steve Laming (better known as @stevel05)...
 

Attachments

  • Pint on A4.pdf
    51.2 KB · Views: 909
  • Print on Letter.pdf
    49.9 KB · Views: 661
  • PrintA4Letter.zip
    69 KB · Views: 1,030
Last edited:

[ABMaterial] CustomJQPlot

I was curious as to whether I would be able to create my first ABMaterial component. Well, the journey has been very interesting.

This comprises of more than 60 examples of setting the chart...
 

Attachments

  • CustomJQPlot.bas
    24 KB · Views: 633
Last edited:
Top