|
Hi
I am wondering how do I close a form after I open up a new form.
For instance I have a login form and when they login I open a new form up but I want to close the login form down.
So how would I do this?
I am making these forms on windows mobile 6 ...
Started by chobo2 on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You have 2 options I guess:
1- Make your application's form window is closed, show the main form....
If the main form is the Login window, you will only be able to hide it, since if you close it all other child windows will be closed too.
|
|
I'm trying to open a new form from within an event handler in the main form in a C# program. The event handler gets called properly and it opens the new form, but the new form is frozen and doesn't even initially populate.
I can create a button on the...
Started by Dave on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Void ibclient; ShowFancyForm())); } ....
() { if(null != a_fancy_form)return; a_fancy_form = new FancyForm(); a_fancy_form.Show(); }
Of course form so you can create the secondary form on the same thread as the main UI..
|
|
Windows Forms, .net 2.0
My main application thread has a form (A). I have a background thread which operates off a timer to determine that an activity has taken place - when it does, it causes the main application form to hide (using BeginInvoke), and...
Started by James Berry on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Then when I create my new application, and if not I use the ShowWithoutActivation override to ensure that my new form does not start form on the ....
Function to determine which the previous window was for my main form.
|
Ask your Facebook Friends
|
I have a form field for "E-mail" address and I want to set up a small form at the top of each page that has a field for "E-mail Address" and then a Sign up button that takes you to a page to complete a detailed form for mailing list subscription. The ...
Started by Brian on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
And with javascript....
How do I pass the data entered in the form to the E-mail address on the dedicated "Mailing List of the form element:
<form action="mailing-list.php" action="post"> … </form>
As you look functionality.
|
|
UPDATED - please read further details below original question
I have a select form element with various urls, that I want to open in a new window when selected - to do this I have the following code in the element's onchange event:
window.open(this.options...
Started by BrynJ on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use this.form.submit() to trigger the form submit:
<script language="javascript">
You know you can set a target attribute for the form?
<form target="_blank" method="post">() or the equivalent of fireEvent('click....
|
|
Hi all,
I'm trying to let a user to do a 'Click here to add more info' link. I'm trying to do this with input fields so that the id of the field have to increment.
I would like for jQuery to add this on every click where $i is the number of each field...
Started by KienPham.com on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I know this will mess....
This solution won't require me to generate the form within the javascript so all the format are still intact and less code to write.
I was able to clone the form, and even add a link to remove the last cloned inputs.
|
|
Currently I've got a PHP page query.php with a form that presents a list of countries with a submit button:
Countries [] nation1 [] nation2 [] nation3 [] nation4 SUBMIT
they're checkboxes to the same array, and the form references the page <form method...
Started by Andrew Heath on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
/* ....
In this case, you can have a cascade of includes: whenever the input for a form is sent, the form includes the next form.
AJAX for usability, but make sure your form works when JS is disabled/unsupported.
Are great.
|
|
I was wondering if there is a JavaScript based HTML Form builder, similar to what you can do with Zend_Form_Html or with the ExtJS Forms but based on JQuery? There are several form related plugins but you still have to code every form manually. The idea...
Started by Daff on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It is a jQuery....
I don't think there is one for jQuery that supports JSON input, but take a look at:
http://javascript.neyric.com/inputex/ for YUI
Since nothing like this popped up yet, I started my own project on google code called jquery-formbuilder .
|
|
What is the difference between form_for and form_tag? Is anything different for form_remote_for and form_remote_tag?
Started by spin-docta on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Or edit form (to use it in a "new" view you should create an empty instance in controller, like:
def newform_for prefers, as its first arg, an activerecord object; it allows to easily make a create @foo = Foo.new end
It also passes a ....
|
|
I am new to C# can anybody tell me on How to show a new Form on click of a button.
Started by subbu on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
(); myForm.Show(); }
private void ButtonClick(object sender, System.EventArgs e) { MyForm form = new MyFormTry this:
private void Button1_Click(Object sender, EventArgs e ) { var myForm = new Form1(); form.Show(); // or form.ShowDialog....
|