Hi there,
I have a form with Functions, to initialize it i placed it in form load event.
To call these functions it takes almost seconds, a jumbled form appears for 3 seconds and once all call's complete form appears properly. I also tried following code but this also creates problem when i parallel open more forms.
I don't want to use Public Sub New. Please provide me some help that forms only appears when it completes all initialization functions.
Thanks
Ladak
I have a form with Functions, to initialize it i placed it in form load event.
Code:
Call MakeFormUnSizeable()
Call SetRegionalDate()
Call OpenGlobalTable()
Call SetGridColumnOnFormLoad() '' Format All Cells and Footer Panel to default decimal places
Call SetGridColorsToTransparent()
Call FindLastColumn()
Call NormalMode()
Call FillCombo()
Call HideUnhideFields()
To call these functions it takes almost seconds, a jumbled form appears for 3 seconds and once all call's complete form appears properly. I also tried following code but this also creates problem when i parallel open more forms.
Code:
Public Sub New()
InitializeComponent()
Call MakeFormUnSizeable()
Call SetRegionalDate()
Call OpenGlobalTable()
Call SetGridColumnOnFormLoad() '' Format All Cells and Footer Panel to default decimal places
Call SetGridColorsToTransparent()
Call FindLastColumn()
Call NormalMode()
Call FillCombo()
Call HideUnhideFields()
End Sub
I don't want to use Public Sub New. Please provide me some help that forms only appears when it completes all initialization functions.
Thanks
Ladak