Losing focus after enter in Memofield

Gijs

Registered User.
Local time
Today, 10:13
Joined
Oct 22, 2012
Messages
15
I have a form with a memofield (rich text). After hitting enter, a new line is added in, but the focus changes to the top of the memofield (of the same record). This is a bit annoying. Does someone knows the solution?
 
Have you some events for that control ?
 
No i have not. It also happens after i hit the space bar. I think it is something in the main form, where the memofield is a port of....
 
So look into the main form. Is some event for key up, key down ?
 
No there isn't. But i fixed it already: when the size (vertical) of the memofield gets too long (maximum length of a form), for some reason the focus of the memo-field goes up afte hitting keys like return or the spacebar. I've made the memofield much shorter (like what fits on the screen) and now de focus doe'sn't change after hitting enter or the space bar.
 
I'm glad for you. Again and again someone discover a bug. But this is the engine for progress.
Cheers.
 

Users who are viewing this thread

Back
Top Bottom