473,385 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Refersh parent form and pass new values

Hi,

I wish to refresh the parent form and pass the new values from child form.
How can I do it?

Thanks
Dec 29 '05 #1
3 1702
Do you mean a manual refresh like when the user presses F5?

1) You could probably hook the F5 key.
2) You could setup a timer that runs every second or so looking for
changes.
3) You could set a trigger on some controls that when they change a refresh
command is invoked.

"Vivek" <vi****@xtra.co.nz> wrote in message
news:ez**************@TK2MSFTNGP14.phx.gbl...
Hi,

I wish to refresh the parent form and pass the new values from child form.
How can I do it?

Thanks

Dec 29 '05 #2
Sorry, I should have clarified it earlier. I mean that I am making a change
in the child form and wish to pass the info to the parent and refresh the
control

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:e$**************@TK2MSFTNGP09.phx.gbl...
Do you mean a manual refresh like when the user presses F5?

1) You could probably hook the F5 key.
2) You could setup a timer that runs every second or so looking for
changes.
3) You could set a trigger on some controls that when they change a
refresh command is invoked.

"Vivek" <vi****@xtra.co.nz> wrote in message
news:ez**************@TK2MSFTNGP14.phx.gbl...
Hi,

I wish to refresh the parent form and pass the new values from child
form. How can I do it?

Thanks


Dec 29 '05 #3
You can define an event in the child form. Bind the parent form to this
(you might have to pass the parent form to the child form's constructor).
Then when changes are made, simply raise the event.

"Vivek" <vi****@xtra.co.nz> wrote in message
news:uN*************@TK2MSFTNGP12.phx.gbl...
Sorry, I should have clarified it earlier. I mean that I am making a
change in the child form and wish to pass the info to the parent and
refresh the control

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:e$**************@TK2MSFTNGP09.phx.gbl...
Do you mean a manual refresh like when the user presses F5?

1) You could probably hook the F5 key.
2) You could setup a timer that runs every second or so looking for
changes.
3) You could set a trigger on some controls that when they change a
refresh command is invoked.

"Vivek" <vi****@xtra.co.nz> wrote in message
news:ez**************@TK2MSFTNGP14.phx.gbl...
Hi,

I wish to refresh the parent form and pass the new values from child
form. How can I do it?

Thanks



Dec 29 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: VbUser25 | last post by:
hi.. i have a drop-down menu with a list of products.when i select any one product i open a popup displaying hte product categories in it.i then enter the no. of items i want.and finally when i...
2
by: umashd | last post by:
Hi, I am doing a web based project for my graduation. I studied bit of java for backend processesing and javascript for the client. Here is the scenario. In the FORM, I use INPUT TYPE=text...
13
by: Stuart McGraw | last post by:
I haven't been able to figure this out and would appreciate some help... I have two tables, both with autonumber primary keys, and linked in a conventional master-child relationship. I've...
2
by: Chandru | last post by:
hi I want to know how to pass values from different forms. That is, i created one parent form. from there i opened child form modeless way. Once i close the child form i need some value from...
2
by: frixx net via .NET 247 | last post by:
I want to know if anybody here knows how to pass values from a child form to an object in parent mdi form. -------------------------------- From: frixx net ----------------------- Posted by a...
4
by: eBob.com | last post by:
I have a "parent" form (if that's the right terminology), Form1. I declare two public values in the parent form : Public Class Form1 Inherits System.Windows.Forms.Form Public CurDir As String =...
1
by: praveenit | last post by:
hi, I am writing a small java script code where , when the textbox is clicked a pop up window is opened . on entering some data in the text area present in pop up window and pressing ''save"...
1
by: ctsasikumar | last post by:
Hai Guys, Anybody knows How to refersh a sigle part in a page.i know meta refersh and heder rediect refersh.What want is whole page single part only refersh partiular time period..Please helme ...
5
by: Rob | last post by:
I have a control (Button) on a Parent form which opens a Windows form... all I want to do is pass a value from the child form back to the parent... it should be so simple... i.e....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.