Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active form plugin - cursor and tab keys not working?!

Status
Not open for further replies.

Rotar

Programmer
Jan 9, 2001
17
0
0
SI
Hi,
I am trying to do some sort of COM plugin system for my applications.
Application will have host program and Active Forms with many VCLcomponents
inside.

All the system works well, except some message dispatching. So, I cant use
tab key to change activecontrol inside ActiveX Form, ...

Problems are (inside AciteveXForm) with:
- tab key
- cursor keys, ..
but AlphaNum + Del keys work well.

Has anybody similar experience, and what do I have to make to properly
dispatch keys (as inside VCL)?

Frenk

PS:
There is no dfference if I import ActiveX form into VCL (tab, cursor keys
don't work inside form).

 
Hi there,

I have the same problem. I have some DLLs (made with D5) and create the form via CreateParented (to be version independent). When I create them via Create(nil) all works fine, but with CreateParented I lose the cursor keys and other. I've searched in different newsgroups and it seems that this is only a problem in D5 (a bug?!). I made a workaround for the tabkeys with sending a message (WM_NEXTDLGCTRL) from the hostapp to the DLL form, but I need the complete solution, too.

Nobbi

I almost forgot: It works when the borderstlye is bsDialog!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top