Hello all,
I hope that B4X developers and their loved ones are all safe and sound.
Coding is just so easy when using B4J
So as work is going to be a bit quiet until I start my next project in a couple of weeks time, I decided to create myself some standard B4J (only) templates. In the past when I've sat down with potentially new clients, I like to show them past projects that I've worked on either developed using C# or B4X. I find that clients appears to like certain simple but effect layout designs, so starting from last week I created myself a few different data entry forms including 1 x quote form, 2 x stock entry forms, 2 x purchase order forms, 1 x contact form, 1 x warehouse management form and 2 x invoice forms.
As I use JoToolBar in conjunction with MenuBar and also TabPane for most of my clients bespoke projects, I usually find myself ripping entire screen layouts files out of previously completed projects and then I spend too much time getting the code working after making changes, no no no no no not anymore.
The following video shows my latest competed layout, the data is being retrieved from one of my online MySQL database. As the example below is just showing a completed layout, I can easily just add it to a Tab, Panel, Page etc etc etc in a main project with relative ease, also adjusting/adding/removing design cues now only takes a few minutes and not hours like it currently does.
The Treeview is what allows the client to hopefully filter through stock quicker than just scrolling through a long list. I'm going to modify the popup product description list to include a manual search box a bit like the popup customer form, that way customers can just type what they are looking for if they can't find it using the category/sub category filter (the popup Treeview).
Yes I have already added an automatic barcode scanner entry screen, the button is currently set to visible = false.
No I'm not entirely happy with the design of the buttons, but as the button layouts are using the stylesheet, it will only take me a minute to change all the buttons look and field without actually touching the buttons styles themselves.
Peter why why why are you using a Tableview?
Well in fact I've always used Tableviews especially as I've created helpers for basically every single scenario that I've ever come across using them with views. But wait a minute Peter, the popup customer form and also the filtered popup products list are both in fact CustomListviews, yes you are 100% correct they are. For the last couple of years I've used CustomListviews for all sorts of lists, I always use CustomListviews for cards, long lists etc but just not for the data entry forms whilst building invoices, purchase orders, quotes formulations, processing etc. I do use CustonListViews for other types of data entry forms though, and one day in the future I will stop using Tableview altogether in B4J and switch over 100% to CustomListviews, in B4A and B4i I only use CustomListviews and absolutely nothing else. But until that day both solutions work just fine for me. The main reasons why I still like using Tableview are 1. I'm not creating a cross platform application (but I don't have to be), 2. I've created plenty of Tableview helpers that makes Tableview row views a breeze to manipulate whilst coding, last but not least I'm just used to using Tableviews in data entry projects. Using a Tableview for data entry or editing just comes 100% naturally to me (so don't ban me Erel ), plus these days I'm well versed in manipulating the Tableview at will without even thinking about it, I still have to think a lot about things when creating and manipulating CustomListviews in B4A and B4i which I do enjoy doing.
Even though when I create B4A and B4i projects I will only use CustomListviews, B4J projects are fundamentally different beasts altogether because most of the time they are highly paid projects doe clients, but I do intend on moving 100% over to CustomListviews in B4J in the near future. It's strange as when I look back at last years B4J projects, all of them use more CustomListviews than Tableviews per project, but currently I just prefer doing things this way.
Anyway yes I know there's 2 ways to calculate TAX, this is just one way so don't comment about it
Create an invoice template layout - Design #2
I hope that you like my latest create an invoice template layout - Design #2 (except for the buttons of course ), I just need to tweak the other layouts and I'll be set for future bespoke projects.
I hope that using pre-created easy to edit/change layouts will shorten development time in new projects when they come in. Obviously I will need to create new template layouts if a new project requires me to do so (I will just make a new template layout and then incorporate it into the project once completed), but these new basic but fully functioning template layouts should help me to complete projects faster than ever before.
BTW, if I create an invoice template layout - Design #3 (as I probably will), on the bottom left hand corner there will be a list of the selected customers previous invoices and their payment status (displayed using a CustomListview), plus buttons to add line spaces and manual text entry into the main form (NOT FOR SOLD PRODUCTS).
Enjoy...
I hope that B4X developers and their loved ones are all safe and sound.
Coding is just so easy when using B4J
So as work is going to be a bit quiet until I start my next project in a couple of weeks time, I decided to create myself some standard B4J (only) templates. In the past when I've sat down with potentially new clients, I like to show them past projects that I've worked on either developed using C# or B4X. I find that clients appears to like certain simple but effect layout designs, so starting from last week I created myself a few different data entry forms including 1 x quote form, 2 x stock entry forms, 2 x purchase order forms, 1 x contact form, 1 x warehouse management form and 2 x invoice forms.
As I use JoToolBar in conjunction with MenuBar and also TabPane for most of my clients bespoke projects, I usually find myself ripping entire screen layouts files out of previously completed projects and then I spend too much time getting the code working after making changes, no no no no no not anymore.
The following video shows my latest competed layout, the data is being retrieved from one of my online MySQL database. As the example below is just showing a completed layout, I can easily just add it to a Tab, Panel, Page etc etc etc in a main project with relative ease, also adjusting/adding/removing design cues now only takes a few minutes and not hours like it currently does.
The Treeview is what allows the client to hopefully filter through stock quicker than just scrolling through a long list. I'm going to modify the popup product description list to include a manual search box a bit like the popup customer form, that way customers can just type what they are looking for if they can't find it using the category/sub category filter (the popup Treeview).
Yes I have already added an automatic barcode scanner entry screen, the button is currently set to visible = false.
No I'm not entirely happy with the design of the buttons, but as the button layouts are using the stylesheet, it will only take me a minute to change all the buttons look and field without actually touching the buttons styles themselves.
Peter why why why are you using a Tableview?
Well in fact I've always used Tableviews especially as I've created helpers for basically every single scenario that I've ever come across using them with views. But wait a minute Peter, the popup customer form and also the filtered popup products list are both in fact CustomListviews, yes you are 100% correct they are. For the last couple of years I've used CustomListviews for all sorts of lists, I always use CustomListviews for cards, long lists etc but just not for the data entry forms whilst building invoices, purchase orders, quotes formulations, processing etc. I do use CustonListViews for other types of data entry forms though, and one day in the future I will stop using Tableview altogether in B4J and switch over 100% to CustomListviews, in B4A and B4i I only use CustomListviews and absolutely nothing else. But until that day both solutions work just fine for me. The main reasons why I still like using Tableview are 1. I'm not creating a cross platform application (but I don't have to be), 2. I've created plenty of Tableview helpers that makes Tableview row views a breeze to manipulate whilst coding, last but not least I'm just used to using Tableviews in data entry projects. Using a Tableview for data entry or editing just comes 100% naturally to me (so don't ban me Erel ), plus these days I'm well versed in manipulating the Tableview at will without even thinking about it, I still have to think a lot about things when creating and manipulating CustomListviews in B4A and B4i which I do enjoy doing.
Even though when I create B4A and B4i projects I will only use CustomListviews, B4J projects are fundamentally different beasts altogether because most of the time they are highly paid projects doe clients, but I do intend on moving 100% over to CustomListviews in B4J in the near future. It's strange as when I look back at last years B4J projects, all of them use more CustomListviews than Tableviews per project, but currently I just prefer doing things this way.
Anyway yes I know there's 2 ways to calculate TAX, this is just one way so don't comment about it
Create an invoice template layout - Design #2
I hope that you like my latest create an invoice template layout - Design #2 (except for the buttons of course ), I just need to tweak the other layouts and I'll be set for future bespoke projects.
I hope that using pre-created easy to edit/change layouts will shorten development time in new projects when they come in. Obviously I will need to create new template layouts if a new project requires me to do so (I will just make a new template layout and then incorporate it into the project once completed), but these new basic but fully functioning template layouts should help me to complete projects faster than ever before.
BTW, if I create an invoice template layout - Design #3 (as I probably will), on the bottom left hand corner there will be a list of the selected customers previous invoices and their payment status (displayed using a CustomListview), plus buttons to add line spaces and manual text entry into the main form (NOT FOR SOLD PRODUCTS).
Enjoy...
Last edited: