vb.2003 Formatting Text Boxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Firstly i would like to tank the helpful posts in the past regarding
formatting...

the scenario is that i ahve a form created by the data wizard. I have
created a private sub to handle the validating for TextBoxes ,, and it works
like a dream, however im still stuck as to doung the same when the form
loads.

Data in the table = 0.00
When the form lloads the data in the text boxes = 0

using Private Sub Handles_Validating(ByVal source As Object, ByVal e As
EventArgs) HANDLES ( textbox1.validated ... etc _

i can do formatting on the Textboxes validated , . how do i do the same for
when the form first loads
 
Peter Newman said:
Firstly i would like to tank the helpful posts in the past regarding
formatting...

the scenario is that i ahve a form created by the data wizard. I have
created a private sub to handle the validating for TextBoxes ,, and it
works
like a dream, however im still stuck as to doung the same when the form
loads.

Data in the table = 0.00
When the form lloads the data in the text boxes = 0

using Private Sub Handles_Validating(ByVal source As Object, ByVal e
As
EventArgs) HANDLES ( textbox1.validated ... etc _

i can do formatting on the Textboxes validated , . how do i do the same
for
when the form first loads
Look into the Activated event as a possibility:

http://msdn.microsoft.com/library/d...SystemWindowsFormsFormClassActivatedTopic.asp
 
Back
Top