RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTimePicker.OnUserInput Event

Occurs when the user types directly into the component's edit box.

Pascal
property OnUserInput: TDTParseInputEvent;
C++
__property TDTParseInputEvent OnUserInput;

This event occurs only if ParseInput is set to True. Write an OnUserInput event handler implementing special processing that needs to occur when the user types directly into the TDateTimePicker (rather than selecting with the drop-down calendar or scroll arrows). UserString is the string that the user types and DateAndTime represents the value of the Date or Time property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!