StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
DateBox clear value key
DateBox clear value key
Post Reply
Like
1
DateBox clear value key
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Victor Sousa
Victor Sousa
posted 15 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 21,
Visits: 236
I noticed the the F6 key clears the DateBox control and I don't see a property to set that value. What is the best way to set the "delete" key to clear the value?
Reply
Like
1
Reply
Trent Taylor
Trent Taylor
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Well, this property should be slightly exposed, but delete would technically interfere with other logic in the control. The delete currently deletes any selected text in the control. Let me tinker with this a little to see if it is safe for us to expose this property. The other option is to subclass the DateBox and override the ProcessCmdKey which gives you the base entry point...but this is one of those "Do at your own risk" things.
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
DateBox clear value key
Victor Sousa
-
15 Years Ago
Well, this property should be slightly exposed, but delete would...
Trent L. Taylor
-
15 Years Ago
The Delete key doesn't seem to do anything in the DateBox control. It...
Victor Sousa
-
15 Years Ago
I get that the datebox control is written from the ground up etc and...
Charles R Hankey
-
15 Years Ago
Wow...that is the first time I have heard that. The number one thing...
Trent L. Taylor
-
15 Years Ago
Trent, i agree. The DateBox is much better for data entry. i'm just...
Victor Sousa
-
15 Years Ago
Trent, Will the week start date make in the next build ? :Whistling:...
Teddy Jensen
-
15 Years Ago
[quote]Just need a configurable clear key to make it perfect [/quote]...
Trent L. Taylor
-
15 Years Ago
Using the DELETE key would be good in the next build for me also. In...
Ross L. Rooker, Sr.
-
13 Years Ago
Hi Ross. If you feel like it, you can use the workaround I have used....
Ivan George Borges
-
13 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search