Visual Designer
Previous Top Next

graphic         graphic

            Properties                                                      Visual Designer

The Visual Designer allows you to build your GUI with little effort.
To open the Designer, choose Menu - Design - Create New Form (or one of the already created forms, if any).
From the Designer, you can add controls to your form, change their properties and build their events.

To add controls to a form, choose Menu - Controls - The control you want to add. The control will show in the middle of the form.
Now you can move and change the control's height and width with the mouse.
Type with the keyboard to change its text.
To change its properties, select it and choose Menu - Properties.

There are three ways to choose the color (font color and back color):
1.   Write a R,G,B color (each number can be between 0 to 255).
2.   Write the name of a color constants. Example: cYellow
3.   On the desktop only: Click on the button "Color" and choose the color.

Some of the properties change between different types of controls.
In the Image File property (relevant to Forms and Images controls), type the image file name.
As with all files in Basic4ppc the file path is relative to your source code path (or the compiled application path).
In order to use external files in Basic4ppc, source code must first be saved at least once so Basic4ppc will know its initial directory.