Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check the value in text box
Message
From
04/07/2018 13:13:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/07/2018 08:16:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01660964
Message ID:
01661039
Views:
43
>>Hi Rick,
>>Since Dmitry never marks his questions as solved, conversations go on :)
>>
>>If the code is in a base class, then there would be a need for type checking. I have real world use case for this, the same control could be used with a date, datetime or string depending on the chosen style and the conversion is done behind the scenes as needed. It wouldn't be feasible to create a different class per type to bind.
>>
>>Also, binding is not a must, without being bound, a textbox could simply be assigned a date value which would make its type date.
>
>And then there are such textboxes where the date value is actually starting as a blank string, so the user can enter a shortcut - "-3w" for "three weeks ago" or "+8" for "eight days in the future" etc. That may be easier for the user in some situations - scheduling, ticketing, field reporting etc, where they deal with near future or recent past a lot.

Yes:) It was sort of my purpose having a multi type textbox (also time entry as text).
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform