I've got a rather unique problem. I am replacing the OS on a networked Win NT4 drive (mainly to upgrade to SP6), and the interface requires it to be a very unique solution. I have to boot up the drive and map it using Win95, Win2K, and WinXP (must work on all of these OS's), verify that it needs...
Correction. Still not figured out. I took out the last OK.PerformClick because it was clicking OK even when I tabbed to it. I solved most of the problems, but now when I click the OK button, it validates the textbox, pops up a messagebox, and if I click OK (meaning that I want the value...
Got it figured out. The Errorprovider thing didn't do exactly what I was looking for, thanks though. In the validating event, I set a formwide boolean true when bad data appeared and set a formwide string to the name property of the offending textbox. Then I redirected all textboxes and the...
Just tried it, and it didn't work. The cancel button's click event doesn't even get fired until after the validation event has been handled.
Is there some type of event stack available that I could look through to see which event have yet to be fired? If there is, I could look ahead to see if...
When you set the textbox's text property, use the Format function. You use it like this:
Dim myTextBox as TextBox
myTextBox.text = Format(#,###)
This will display a number with a comma if needed, and no comma if not needed.
P.S. If you need it to display a zero as a digit no matter what the...
I am writing a GUI that requires validating a textbox when it loses focus. For that I am using the Validating Event Handler. However, if the user clicks the cancel button on the form, I need to prevent that textbox's validation event from firing.
I prefer to use the validating event, since...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.