Blank lines in cDBRichEdit
Hey all,
I keep having complaints of large amounts of white space left in my rich edits. All of the RichEdits are used as memo fields. I keep telling the users the only way this is happening is someone is hitting enter several times and then pressing save. Users repsponses range from we dont do that why would we, to it never used to have this problem(because it wasnt a rich edit). Anyway I can't prove they are doing it, and they cannot prove that they are not.
So my thoughts are perhaps I can prove it. Has anyone written a key logger of sorts where I could write out to a text file anytime say the enter key was pressed 5 times with no other keys pressed. I dont see a way to use on_key because I need the same key pressed multiple times, not in conjunction with another key. Anyone have any ideas?
Thanks,
Kyle
Re: Blank lines in cDBRichEdit
Hi Kyle,
try intercepting Procedure Key.
Re: Blank lines in cDBRichEdit
Hey Dennis,
Thank you. I was look all around onkey and did not think to just look for key. Exactly what I needed, thanks.
Re: Blank lines in cDBRichEdit
Let us know if you found users doing dastardly deeds! :)
I added error logging because: "I never got an error message!" "At 1:07PM on Thursday you got one saying 'Invalid Date'" Very satisfying. Not that it stops 'em of course...
Re: Blank lines in cDBRichEdit
Ohh you mean that little window that poped up. " I didnt know I was supposed to read that. Thats an error message?"
Re: Blank lines in cDBRichEdit
Re: Blank lines in cDBRichEdit
Re: Blank lines in cDBRichEdit