Hello;
Thanks for stopping by. To start off our project we need to determine exactly what the app will do. Sounds simple but if you have ever tired to write a design document from scratch you will find it is complicated. To ease my anxiety I like to start with broad strokes. For example, I want to create a Job Costing application for Contractors. It must include;
Inventory Module
Customer Module
Labor Tracking Module
Invoicing and Quote creator
CAD Like design Module
As the application is developed we will most likely find more is needed but we have to fight the urge to keep adding features and never close the project. It’s very easy to fall into that trap.
One key feature of this app will be the CAD like Designer. if I cannot create a drawing module then the whole app becomes pointless because there are already countless job costing apps on the market.
Alpha software is generally not known for graphic functions, but in the latest releases they have added several draw functions similar to HTML draw functions. So lets compare to see if we can actually write a designer module.
I will use code examples from W3Schools web site to show how it is done in HTML

To draw in HTML you must create a canvas as well as create a 2d context object. Example from W3Schools

In Alpha Software the the canvas is created in xdialog

Now lets look at drawing shapes. W3Schools shows this example;

and Alpha Software is;

Looks like Alpha Software is just as easy to create drawing functions as HTML so we can create the drawings in our app.
That’s all for today so thank you for stopping by and if you like what you see, let me know. If you are looking for help with a project or app you currently have contact us. Our clients only pay for coding that actually does what the client expects.
Have a great day.
Leave a comment