|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Closing form...I have two forms and that forms are connect with one button. When I click on
Button in the first form, the second form will be open. But both form are open. I want when I click on the button to close first form and to open the second but I don't know how. If someone can help me I will be very grateful. Mihailo Mihailo,
Did you know that using two panels (docked on a form) that you hide and show is much easier to use? Cor "Mihailo" <aldeir***@yahoo.com> schrieb: <URL:http://groups.google.de/groups?selm=%23D2PicRFFHA.2876%40TK2MSFTNGP12.phx.gbl>>I have two forms and that forms are connect with one button. When I click >on > Button in the first form, the second form will be open. But both form are > open. I want when I click on the button to close first form and to open > the > second but I don't know how. Please avoid multiposts... -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thanks it work with two forms. Now I want to open the third form and: I
click on the first form to open 3th form then it will open (logon form) with password and username. I want when I type username and password and click on OK to show 3th form but to close FIRST and LOGON form. I know, now, (thanks to you) how to close logon form but it always stay open 1st form. How can I do that? I experiment a little but it didn't work. Thanks a lot for preview help! Mihailo,
When you use in the "load event" of your first form (that is than not yet showed) \\\ dim frm as new form3 frm.showdialog me.pw = frm.pw me.pw = un frm.dispose //// Than you have all you need for your userlogin form from the mainform part. I hope this helps, Cor "Cor Ligthert" <notmyfirstn***@planet.nl> wrote in message I dont understand what is PW and UN. If you can explain this I will benews:#tOWO4pMFHA.3076@TK2MSFTNGP14.phx.gbl... > Mihailo, > > When you use in the "load event" of your first form (that is than not yet > showed) > > \\\ > dim frm as new form3 > frm.showdialog > me.pw = frm.pw > me.pw = un > frm.dispose > //// appleciate. Thanks a lot. Mihailo Just guessing:
pw = Password un = Username Show quoteHide quote "Mihailo" <aldeir***@yahoo.com> wrote in message news:d27cje$ca4$2@news.eunet.yu... > > "Cor Ligthert" <notmyfirstn***@planet.nl> wrote in message > news:#tOWO4pMFHA.3076@TK2MSFTNGP14.phx.gbl... >> Mihailo, >> >> When you use in the "load event" of your first form (that is than not yet >> showed) >> >> \\\ >> dim frm as new form3 >> frm.showdialog >> me.pw = frm.pw >> me.pw = un >> frm.dispose >> //// > I dont understand what is PW and UN. If you can explain this I will be > appleciate. Thanks a lot. > > Mihailo > > "Jim Hughes" <NOSPAMJ3033@Hotmail.com> wrote in message Thanks a lot!news:uv5L8hzMFHA.1884@TK2MSFTNGP15.phx.gbl... > Just guessing: > > pw = Password > un = Username Mihailo
Loopy over loops
REALbasic 5.5 free to VB6 Users Untili March 31 2005 spice the boring default winforms treeview appearance up a bit... Help with SendMessage API calls From VB.NET to Delphi7 convert. looking for CPU-specific developer's benchmarking e.Cancel = True in MDI Child Closing event Object reference not set to an instance of an object. Tabcontrol tabpagebutton orientation Form Load Event |
|||||||||||||||||||||||