473,657 Members | 2,993 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1725
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******** ******@TK2MSFTN GP14.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.r illing.net> wrote in message
news:e$******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP14.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******** *****@TK2MSFTNG P12.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.r illing.net> wrote in message
news:e$******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP14.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
2116
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 click to the submit button i want to display a summary of selected item in the parent form.to make it more elaborate: i have 3 items in a drop-down menu and each item has further 10 different types of products.
2
9244
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 VALUE=" " NAME=cat, and a gif next to it. User will click on the icon to get a new window. In the new window, the user selects a value from the pull down menu (created by servlet from back end) and clicks OK. The value is passed back to the
13
7400
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 created forms for both those tables, and inserted the child table form into the master table form as a subform. It works just as it is supposed to, in that I can create a new master record, and then add detail records.
2
6965
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 child form that to be transferred in Parent form. thanks in advance.
2
2979
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 user from .NET 247 (http://www.dotnet247.com/) <Id>t8+lcHd8V0igAsAJ5HZdHg==</Id>
4
2807
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 = Directory.GetCurrentDirectory() 'used by FormGetJobOutput Public PubUser As String 'tbxUser.text value for subForms In the "child" form, I call it FormGetJobOutput, I reference these two public values ...
1
19403
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" button the pop up is closed and the value is put in the text box of parent window. Now the value is getting passed from pop up to parent but from parent to pop up i am unable to pass the value. the following is the code to pass the value from pop up to...
1
1244
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 Thanks and Regards Sasikumar.T
5
4224
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. ParentFormName.Textbox1.text=ChildFormName.TextBoxWhatEver.Text... but nothing like this works. Any ideas ?
0
8384
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8302
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8718
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8499
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8601
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1937
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1601
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.