 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Mon Oct 10, 2005 1:06 pm Post subject: Problem with OCX Focus |
|
|
Hello
I created an OCX-Control containing of several TEdit-Fields.
My Problem: Since Windows treats the entire OCX-Control as a whole, I
can not move focus inside the control's ediot boxes, instead the
control loses focus as it is moved to the next control of the client
application.
Is there any possibility to keep the tab-focus and manage it
internally, until the last edit-box of my OCX has been reached ?
Greets
Roger |
|
| Back to top |
|
 |
Jamie Guest
|
Posted: Mon Oct 10, 2005 10:37 pm Post subject: Re: Problem with OCX Focus |
|
|
latao (AT) bluewin (DOT) ch wrote:
| Quote: | Hello
I created an OCX-Control containing of several TEdit-Fields.
My Problem: Since Windows treats the entire OCX-Control as a whole, I
can not move focus inside the control's ediot boxes, instead the
control loses focus as it is moved to the next control of the client
application.
Is there any possibility to keep the tab-focus and manage it
internally, until the last edit-box of my OCX has been reached ?
Greets
Roger
you may need to set a windows hook to monitor the |
messages in your ocx.
look at the SetWindowsHookEx in the win32 help.
actually, it almost sounds like you could handle
that in your ocx form , simply capture the message
there and process it.
--
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5 |
|
| Back to top |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group .
|