StrataFrame Forum

DELETE/INSERT and BACKSPACE Keys on StrataFrame form

http://forum.strataframe.net/Topic29573.aspx

By Ross L. Rooker, Sr. - 2/17/2011

I have not heard back yet on Post #29538 which my client is very concerned about. Hear is some additional help:

I create a new SF project with 1 form. Put a System.Windows.Forms.TextBox and a System.Windows.Forms.MaskedTextBox on it. Did not use and bindings. Ran it. Entered text, then tried to use the DELETE key. It did not do anything. Then copied these 2 controls to the clipboard and created a new regular non SF System.Windows.Forms.Form and pasted these two controls on it and ran the form. The DELETE key does work there.

So this appears to be something going on in the SF Framework. PLEASE let me know if I need to do a work around or to just set my client's (Trusted) expectations. IE... I would think that the INSERT key should also work. This is an ongoing problem and I need to let me client know something.

Also, the post 29538 mentions an issue with using the backspace key on a numeric column that has a BO column. When clicked, a red data exception screen appears.

Please followup ASAP. Thanks
By Ivan George Borges - 2/17/2011

Hi Ross.

I am not sure if I followed your steps correctly, but do you mean that a text box dropped on a SF form won't let you delete the contents typed on it? If this is so, even though I got a bit puzzeled, I tried it the way you described, and everything worked just fine. This sounds like such a basic procedure that I would expect a lot of complaints all around. Aren't you using an inherited form where you trapped the key strokes, so maybe the Del lost its effects?
By Ross L. Rooker, Sr. - 2/18/2011

No, I am not inheriting a form other than the standard SF Windows form. Not trapping any keystrokes. I am trying to delete using the DELETE key on the keyboard. It almost appears as though the SF Framework is trapping the keys.
By Ivan George Borges - 2/18/2011

Can you produce a very small sample using the StrataFrameSample database with 1 form and a text box control that would reproduce what you are saying? If so, please post it over here and I will test on my machine.