It is a form tool used for information to be expressed with numerical values in the form.
Numeric Box tool icon at Toolbox
How it looks like on the Canvas
Remarks
It is a tool that is used for information to be expressed by the numerical values in the form. The numeric box is a tool for entering numeric data. If no changes are made to the format section in the Property Panel after adding the number box to the form, the decimal data type field is created in the database. This allows you to store both decimal and integer data in the numeric box. However, in the form, only integer numbers can be requested in this field. For this purpose, after giving the field name of the number box, the format is selected as an integer and once the field is created, only the integer is saved in this field. The field type in the database will be an integer.
Properties
-
Name: The name of the tool is written.
-
Default Value: The value entered here comes as the default into the tool.
-
Max. character: The maximum value of the characters to be written in the figure box is entered.
-
Text Size: Sets the size of the tool.
-
Help Text: It is a text entered for releasing an explanation when it comes to the mouse on the tool.
-
Icon: You can choose from the Icon area, to add an icon to the numeric box tool. You can change the color and location of the icon.
-
Text Fonts: To change the font of text in the tool, you can use the Text Fonts area.
-
Text Type: It arranges type of the text; bold, italic, underline, text location; right align, left-aligned, or centered.
-
Color: It arranges the interior and/or the text color of the tool.
-
Height / Width: It arranges the tool's height and width.
-
From Left / Top: It arranges the distance of the tool from left and top.
-
Format: The format of information to be entered into the form is selected.
-
Linked Object: Action a connection element formed on an object. When the object element works, populated by the object area information.
-
Linked Object Area: The selection is made from the sections of the linked object field.
-
Tab Order: It indicates the order of the tool within the form
-
Fit horizontal: It fits the tool into a full screen on the user's screen.
-
Pin Right: It aligns the tool to the right
-
Display: It ensures not to display the tool.
-
Form Only: It arranges in the only form by not saving information entered into the tool in the SQL
-
Selection Buttons: It ensures that the buttons on the form appear or not.
Actions
-
On Focus: Assign an “Action” as on focus handler. For more information please click here.
-
On Blur: Assign an “Action” as on blur handler. For more information please click here.
-
When the value changes: Assign an “Action” as on value changes handler. For more information please click here.
-
Keyboard Input: Assign an “Action” as on keyboard input handler. For more information please click here.
-
Validation: Assign an “Action” as on value tool handler. For more information please click here.
-
Calculate: Assign an “Action” as a calculate handler for the grid tool. For more information please click here.
-
Icon clicked: Assign an “Action” as click handler for the icon. For more information please click here.
Example Used
If you want to enter a value as the default value, you can write “5” in Default Value part. It fills the numeric box area on the client screen.
To change the font of text in the tool, you can use Text Fonts area as Times New Roman. To edit the text as bold the text on the tool, you can use Text Type area. To edit the text color of the text as ‘’red’’ you can change from Color area.
If the Form Only property is No, the numeric box area will save to the area in the table in the database. If it is Yes, this will not save the numeric box to the area in the database.
When Selection Buttons property is “Yes”, the up and down arrows on the right side of the Numeric Box are visible on the client screen.
Client view on screen
When Selection Buttons property is “No”, the up and down arrows on the right side of the Numeric Box are not visible on the client screen.
Client view on screen