Ahmadi wrote:
> After embedding a form into another form i have focus problem on my
> first form controls!
>
> For example if form2 have edit1, after running following lines edit1
> can not focused with left click!(but with right click it can !!!) :
If you want to parent a form to some container you have to use
Borderstyle bsNone for the form. This gets rid of the caption bar. For
some unscrutable reason Windows does not like child windows (controls,
windows with window style WS_CHILD) that have a caption bar. If you
want to have a caption bar on your embedded forms you have to fake it.
--
Peter Below (TeamB)
Don't be a vampire (
http://slash7.com/pages/vampires),
use the newsgroup archives :
http://www.tamaracka.com/search.htm http://groups.google.com