Loading GST Billing Software
header image

Kushal Help : Open-File Dialog Control in Kushal

Erachana Line

Open-File Dialog:
This is one of the special Controls in Kushal. When you add the Open File Dialog Control to your form, Kushal will create two Controls – Textbox and Button. In Button Control, you have to configure which type of file needs to open. For example, if you want to open the file with ‘ABC’ extension you can specify that as (.ABC). Then at runtime, if you click on a button, it will allow you to select files of type ‘ABC’ and once selected, the absolute path of the file will be populated in the text box.

OpenFile

Properties:

Action

ActionType

Sets the Predefined action type of the Button

AssociatedInputControl

Associates the TextBox with a Button

Command

Sets the External application Commands

DefaultButtonType

Sets the Button type as an Open File

FormName

Sets Form to Button

ReportFile

Sets the Report File Path

ReportQuery

Set the Query to the Report File

Design

Alignment

Sets how text is aligned on the Button Control

Appearance

Sets the Visual appearance of the Control

BackColor

The background color of the Control

Enabled

A value indicating whether the Control can respond to user interaction or not

Font

The font of the text displayed by the Control

ForeColor

The foreground color of the Control

TabIndex

The tab order of the Button

Visible

A value indicating whether the Control and all its child Controls are displayed or not

Display

Image

Sets the image that is displayed on a button Control

Image Alignment

Sets the alignment of the image on the button Control

Name

The name of the Control.

Text

The text associated with this Control

ToolTip

A small pop-up window that displays some information when you hover the mouse on a Control.

Location

Left

The distance, in pixels, between the left edge of the Button and the left edge of the Container

Top

The distance, in pixels, between the top edge of the Button and the top edge of the Container

Size

Height

Height of the Button in pixels

Width

Width of the Button in pixels