Ace Master Posted October 2, 2003 Posted October 2, 2003 hi. I have a user name and a password textbox's and after I put the password I whant to press enter key without preesing this button with the mouse. I a way...I whant to emulate the mouse pressing with the enter key.... but..I don't know how... I made the button with focus but it isn't work Quote
sh3rIIf Posted October 2, 2003 Posted October 2, 2003 try putting code in the password's onkeypress event if the key being pressed is "enter" then call the button's onclick event. Quote
Administrators PlausiblyDamp Posted October 2, 2003 Administrators Posted October 2, 2003 You could set the form's AcceptButton property to be the button in question. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Ace Master Posted October 3, 2003 Author Posted October 3, 2003 done...thanks One more thing....how I make the refresh or a clear for a web control. Ex: I have two buttons and a web control. If I press a button a web page is loaded in web control.When I press the second button ..the old page is show for a couple of milliseconds until the second page is loaded. I want when I press the second button to make a clear for the web control.....it is possible ?? thanks I tried some tricks for nothing..... Quote
AndreRyan Posted October 4, 2003 Posted October 4, 2003 You could navigate to "About:Blank" this causes Internet Explorer to show a blank page then navigate to the second page you wanted Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.