Inventory tool part 5

In the last part in this series we did go thru all of the parts in the form.
Now I will start to show you them one by one starting to build the form from the beginning.

When starting a new forms project the form will look like above as default.

All properties for the form will be in the Properties Panel to the right.

I will cover all part of the form in the same order as shown in the picture at the top and as in the last post.

1. Form Icon
First of all we start with the Icon.
If you don’t have an Icon to use you can get a nice one at Icon Archive.

They have over 700 000 icons.

Just search for an Icon.
Like inventory.

BUT if you will use It in a company be sure to read the License and Commercial usage notice.
All Icons and Icon Sets have different licenses so be careful to chose a one that you can use!

A tip is to use the filters on the left side when you have started a search.

I will use the Database Icon from IconLeak for this.
Just download the Icon that you have chose.

And go to the form properties on the right side.
Click on the form first If you don’t see the Properties Panel with the properties for the form.

Scroll down to Icon.

Click on (Icon).

And then the 3 dots on the right side.

Browse for your Icon and click on Open.

And now we have a new Icon for the form.
Both on the form and on the Taskbar when you start the script.

This much nicer then the default one.
It’s easier to see that this one is our application.

2. Form Text
Now we have a different Icon then the default one.
But we need to create a text for our form / application.
I will go for My Inventory Tool.

Click on the form and go to the Properties Panel on the right again.
All settings for the form and controls will be set here.

Look for Text.
And then change Form to your own tool name.

When you change Text the Name of the form will also change.
This is nice, because we need good names for the form and all controls.

Remember to set good names for your forms and controls.

It’s easier to remember what button the $buttonChange is then $button1 when adding code.
If you have $button1, $button2, $button3, $button4 and $textBox1, $textBox2, $textBox3.

It will be very hard when adding actions to the Buttons.

Most of the controls will get names from your text automatically.
But you will not add custom text to all!

In the next part I will cover the size of the form and starting to add some controls to the form.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.