Baadal Help - Document
Controls in Baadal
When designing forms in Baadal, you can find that several Controls get automatically created (the specific Controls depend on the type of form chosen for the design). Baadal provides a list of commonly used Controls which you might need in order to enhance these forms with additional functionalities. In addition to this, Baadal also includes Controls which are designed for regular usage.
For instance, Link Control of Baadal accepts a URL and opens a web browser with specified URL, when clicked.
Another example is 'Open Dialog' Control - which includes text box and a button, where if you specify the file extension, this Control set will open an Open dialog box with a specified file extension in the designed application.
List of Controls in Baadal
- Erachana Date
- .Net Framework Date and Time
- Time Picker
- List box
- Masked Textbox
- Numeric Textbox
- Decimal Textbox
- Currency Textbox
- Drop Down
- Radio Button
- Radio Button Panel
- Check Box
- Data Grid
- Group Box
<add a hyperlink to each Control>
Now let us see the controls available in Baadal and their specific properties in brief.
Label control represents a Label. You can add this Control to any type of Form in Baadal.
ERachana Date Control is an enhanced TextBox Control specifically designed to accept a date. Users can type just 15 4 12 to set the date - 15th of April 2012.
You can use the Association Properties of this control to associate this control's data input to the specific column of the associated database table.
ERachana Date and Time Control is an enhanced textbox Control specifically designed to accept a date. Users can type just 15 4 12 to set a date - 15th of April 2012. You can use the Association Properties of this control to associate this control's data input to the specific column of the associated database table.
Time Picker Control is an enhanced date time picker Control specifically designed to accept only time. This will enable you to choose the time in the Baadal designed application. You can use the Association Properties of this control to associate the data input to a specific column of a database table to this Control.
The ListBox Control is with little enhancement to accept a SQL Statement or an item collection to display required field values in the designed application.
The Textbox Control is used to display or accept as input, a single line of text.
A MaskedTextBox control provides a validation mechanism for user input on a Form. In addition to the basic properties of the TextBox Control, this Control has some special properties added in Baadal. For instance, if you want a TextBox to accept Telephone number in (999)999-9999 format, you can set the Mask property in the MaskedTextBox. This Control helps you add a masked text to distinguish between proper and improper user input.
This Control is an enhanced TextBox which accepts only numeric and decimal values. In the Association Properties, you can associate the data input to a specific column of a database table to this Control.
The decimal TextBox is an improved version of TextBox. It differs from a Numeric text box as it supports '.' (the "dot" Character), in addition to numeric values to store decimal values.
The currency TextBox is an improved TextBox Control. It displays the amount entered as currency.
Dropdown Control of Baadal supports SQL Statement or Item Collection as the input source. This is set in the SQL property. In the Association Properties, you can associate the data input to a specific column of a database table to this Control.
The Radio buttons are used when you want to give the user a choice between several mutually exclusive options. Generally, the radio buttons are set within a RadioButtonPanel Control. The Checked property sets the state of the control.
Radio button panel is used with a set of radio buttons when any one option has to be selected among multiple options. This Control allows you to select one radio button at a time. It will read the value from the checked radio button and send the corresponding value to the database table field.
The checkbox control is used when you want to allow the user to choose one or more options. It will read the value from checked checkbox through the Checked property and send the corresponding value to the database table field.
A button is primarily used to perform three kinds of tasks:
Ã˜ To perform an action on data entered on a dialog (for example clicking Search after entering some search criteria)
Ã˜ To open another dialog or application (for example, Help buttons)
Ã˜ To close a dialog with a state (for example, OK and Cancel buttons)
Button Control of Baadal has a property group Action using which button behavior can be configured.
The Image Control of Baadal is used to display images in various formats like GIF, JPG, BMP, etc., either at design time or runtime. The path of the image file for the image to be displayed is set in the Image property of the control.
The Data Grid is one of the most important Controls when developing a database application. This Control supports SQL statement implicitly. You can configure the property of each column of the grid.
Group box (Frame) Control is used to group a set of Controls. This Control behaves the same as in Visual Studio with some minor enhancements.
Tab Control allows you to arrange the Form's Controls under various Tabs for better user experience.