Home All Groups Group Topic Archive Search About

designing login form with complete focus

Author
15 Sep 2006 8:39 AM
Muhammad Ahsin Saleem
hi
i want to make a login form for my vb.net application. in it login form
is displayed in mdi form and must has the focus on it. i have done it
but focus on login form is not there user can intaract with the mdi
parent as well i want to stop this thing.

Author
15 Sep 2006 10:39 AM
PGC
Hi Muhammad,

You could try ...

Disable main mdi form
call loginform.showdialog (return a dialogresult)
if dialogresult is OK then enable mdi form and continue

PGC

Show quoteHide quote
"Muhammad Ahsin Saleem" <ahsin.sal***@gmail.com> wrote in message
news:1158309544.171077.260730@e3g2000cwe.googlegroups.com...
> hi
> i want to make a login form for my vb.net application. in it login form
> is displayed in mdi form and must has the focus on it. i have done it
> but focus on login form is not there user can intaract with the mdi
> parent as well i want to stop this thing.
>
Author
15 Sep 2006 11:04 AM
Muhammad Ahsin Saleem
thanks it has worked so thank u very much
PGC wrote:
Show quoteHide quote
> Hi Muhammad,
>
> You could try ...
>
> Disable main mdi form
> call loginform.showdialog (return a dialogresult)
> if dialogresult is OK then enable mdi form and continue
>
> PGC
>
> "Muhammad Ahsin Saleem" <ahsin.sal***@gmail.com> wrote in message
> news:1158309544.171077.260730@e3g2000cwe.googlegroups.com...
> > hi
> > i want to make a login form for my vb.net application. in it login form
> > is displayed in mdi form and must has the focus on it. i have done it
> > but focus on login form is not there user can intaract with the mdi
> > parent as well i want to stop this thing.
> >