Internet is growing Every Seconds :: Industry is growing Every Year

Thursday, September 30, 2004

Public Function Input_Validation :

Public Function Input_Validation :

This function is used to validate the user input in the textbox.
It receives 4 arguments namely txt, intvalue, ascvalue and textname.
Txt – is the textbox control
Intvalue – is the options (AlphaNumeric, Alphabets, Numeric etc.,)
Ascvalue – is the keypresseventargument object
Textname – is the name of the FieldName
It checks ascii value against the entered key acts accordingly.

Wednesday, September 15, 2004

Public Function input_slt_clear :

Public Function input_slt_clear :

This function is used to select the existing text in the textbox.
It accepts 3 arguments namely, cntrl_nme, is_focus and cntrl_id
Cntrl_nme – is the object of Control class
Is_focus – is the Boolean variable used to specify focus status.
Cntrl_id – is the integer variable to specify textbox or combobox.
SelectionStart method of textbox control is used to specify the starting position of the selection.
SelectionLength method of textbox control is used to specify the number of characters to be selected.

Wednesday, September 08, 2004

Public Function Is_Empty :

Public Function Is_Empty :

This function is used to find whether the control is empty or not
This accepts one argument namely ControlName.
ControlName – object of control class
It return True or False

Tuesday, September 07, 2004

Public Function Insert_Years :

Public Function Insert_Years :

This function is used to fill the combobox with specified range of years.
It accepts 3 arguments namely cntrl, start_year and end_year.
Cntrl – object of Combobox.
Start_year – starting year as integer
End_year – End year as integer

Monday, September 06, 2004

Public Function Insert_Months :

Public Function Insert_Months :

This function is used to fill the combobox with Name of 12 Months.
It accepts one argument namely cntrl, which is object of Combobox.