Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date textbox
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00506928
Message ID:
00507271
Views:
11
>Hi everybody,
>
>I've just noticed the following behavior in textboxes, which value is set to {}, and I'd like to discuss it:
>
>I have a form and a container class Date_Range with two textboxes with values equal {}. I started to type something in the first textbox, but then without finishing I clicked on command button. The command button code doesn't fire. It fired only after I either deleted, that I typed or finished the typing the correct date. I didn't see any errors message displayed, after I click on the command button (e.g. perhaps, valid of TextBox was not fired ?). An additional info: form has an Error even coded.
>
>Did somebody experience the same behavior and could it be explained?
>
>As I user I was surprised, when I clicked on a button and nothing happened...

I was able to duplicate this behavior when I had the input mask and length properties set to more than was entered in the textbox. No error message is fired, but the focus remains (or is returned to) on the textbox, patiently awaiting the rest of the characters. My error message only fires when I move out of the field via enter or tab keys.
MSCE, MCSP, Microsoft Channel Partner

Relax, Boss. We will meet the deadline! What? You want to add MORE? What do you mean, Over Budget?

Opinions and comments are the sole responsibility of the sender, and accuracy, correctness, or pertinence is considered coincidental.
Previous
Reply
Map
View

Click here to load this message in the networking platform