Besides quite a few bug fixes, there were several changes made in NiceForm 6.
First thing you will notice when you start NiceForm is the new look. By default NiceForm now shows large icons. Also the user interface color was changed. Resize handles that are shown when you select an object now have a more modern look. Also “Transformations” menu is now renamed to “Arrange”.
Below you can see two screenshots of NiceForm 6 (first) and NiceForm 5 (second screenshot).
Object selection with the mouse works differently now than in NiceForm 5. Now you have to completely encompass the object while holding the right mouse button down, if you want to select it. In previous versions it was enough if you covered just a part of the object. If you still want to use the old style of selecting objects, hold CTRL button while selecting.
Keyboard Shortcut Changes
Keyboard shortcuts for moving, resizing objects and moving between objects during form design have changed.
|TAB||Move between objects.|
|Left||Move object left for X number of pixels, where X is defined as X grid size in the Options dialog. By default object is moved by 8 pixels.|
|Right||Move object right for X number of pixels, where X is defined as X grid size in the Options dialog.|
|Up||Move object up for X number of pixels, where X is defined as X grid size in the Options dialog.|
|Down||Move object down for X number of pixels, where X is defined as X grid size in the Options dialog.|
|Ctrl + Left||Move object 1 pixel to the left.|
|Ctrl + Right||Move object 1 pixel to the right.|
|Ctrl + Up||Move object 1 pixel up.|
|Ctrl + Down||Move object 1 pixel down.|
|Shift + Left||Decrease object width for X pixels, where X is defined as X grid size in the Options dialog.|
|Shift + Right||Increase object width for X pixels, where X is defined as X grid size in the Options dialog.|
|Shift + Up||Decrease object height for X pixels, where X is defined as X grid size in the Options dialog.|
|Shift + Down||Increase object height for X pixels, where X is defined as X grid size in the Options dialog.|
|Ctrl + Shift + Left||Decrease object width for 1 pixel.|
|Ctrl + Shift + Right||Increase object width for 1 pixel.|
|Ctrl + Shift + Up||Decrease object height for 1 pixel.|
|Ctrl + Shift + Down||Increase object height for 1 pixel.|
Form Properties Changes
Form can now be configured to prevent user from closing the form (in run mode) by clicking the Close (x) button in the top right corner of the window. Additionally form can also be configured to prevent user from resizing form in the run mode so it always has a fixed size.
Both of these settings can be configured on the “Window” page in the “Form Properties” dialog. As you can see from the screenshot of the form opened in run mode, the Close button is disabled, and the buttons for minimizing and maximizing window are not visible anymore.
Picture, Preview and Text objects now support “On Mouse Enter” and “On Mouse Leave” events. This means you can execute an action when mouse moves over an object or when mouse is no longer over the object. This functionality allows form designer to easily create more dynamic forms. For example a description text can be shown when user moves the mouse cursor over a picture, or a picture can be changed when mouse is over it and again restored when the cursor is no longer over the object.
Variable Button Title
You can now connect “Title” property of the Button object to a variable. This means that every time the connected variable changes it’s value, the title of the button will also change to the current value of that variable.
Changes to Actions
”Execute SQL statement” action was changed to allow user to define the execution mode for the SQL statement. This change was made because it is sometimes tricky to correctly determine how the SQL should be executed. Three execution modes are available:
- Automatic: Execution mode is automatically determined by analyzing the SQL statement.
- Returns set of records (SELECT): Select this mode if your SQL statement returns a set of records.
- Does not return set of records (INSERT, DELETE, UPDATE): If SQL statement inserts, deletes or updates records in the database, then you should select this option.
New Form Wizard
Forms created with “New Form Wizard” now have a different look with a footer at the bottom (where you can select printer, define it’s settings, enter quantity and print) and also some more functionality.
When new form is now created it already has “On Form Close” and “On Form Load” events with two actions defined. These actions automatically save selected printer when form is closed and load it when form is opened in run mode. Also several variables that are needed for the described functionality are added.
NiceForm 6 comes with a huge collection of sample form “applications” . All samples are by default installed to "c:\Program Files (x86)\EuroPlus\NiceLabel 6\Samples\Forms" (if you are using 64-bit system) or to "c:\Program Files\EuroPlus\NiceLabel 6\Samples\Forms" (if you are running NiceForm on 32-bit operating system).
Open “Menu form.xff” in run mode to browse through sample forms for different industries. Below you can find some screenshots of those samples.
I hope you find this information helpful.