Show Child Windows Form In The Status Bar Of The Parent Window?

Oct 13, 2010

In my project i have one parent window form with one menu bar and one status bar. that is what i want is:when i show the child form to see in the status ber an icon relative to the child window.How i can do that?And if that can't be how i can see an icon in a task bar?

View 1 Replies


ADVERTISEMENT

Creating A Parent-Child Window Form In VB 2010?

Aug 4, 2011

I am trying to create a simple parent-child form in VB2010. I use a datagridview for each table/datasource and each is bound to the paretn/child table and each table grid fills correctly. What I want is the parent-child relation to enforce filling the child table with only rows that fulfill the current row on the parent. I have created a DataRelation in the form load, but it will not permit a relation between tables in 2 different datasets. If I attempt to place both tables in a single dataset and define the PK-FK relation in the SQL Serve,r I cannot create 2 separate datagrids from the same dataset.

View 12 Replies

VS 2008 - Show Child Form In MDI Parent Taskbar?

Mar 30, 2012

I have developed vb.net application and have one main form with isMdiContainer property true. It has one Menustrip control docking on top of the form and StatusStrip docking on bottom of the scrren. When User click on any menu item it opens new form or if already opened, show it. My application allow to open multiple child forms opened at same time and all forms StartPosition is set to CenterScreen. My problem is becuase all forms are in cetenr it ovelaps each other and user wouldn't know which form(menu option) is opend. I would like to see all opened forms in different tabs (like in windows taskbar) in bottom of MDI parent form.

View 2 Replies

VS 2010 - MessageBox.show - Maintain Execution And Display Status On Second Window / Form

Dec 2, 2011

I've created a form with several controls to specify the inputs to my program. They include TextBox, OpenFileDialog, Button and even a user control for numeric input. When the user clicks the 'GO' button, the program begins it work. Opening several files and processing a bunch of numerical data. This could take many minutes/hours with large datasets.

What I've been trying to do is have another window/form open up and send status information to it for the user to view. The info to be displayed is varied and constantly updated as the program crunches the numbers. Many many programs do just this type of activity.

I attempted to create a second form with a huge TextBox thinking I'd just write stuff to it. I called the .show method within the .click of the 'GO' button and of course the form is displayed but control of the program's execution doesn't return until the form is closed. How to I maintain execution and have a second window/form to display status?

View 3 Replies

Wpf - Fire A Custom Event From A Child Window Back To Parent Window?

Feb 13, 2012

I am looking to close the application when I click a cancel button in a login page, but I don't want to do it in such a way that Window 2 closes itself, but by sending some notification to Main Window, and Main Window closes the application. Here's the code that I have so far:

(in loginPage)

Public Event CloseApp As EventHandler
Private Sub CancelButton_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles CancelButton.Click

[Code]....

View 1 Replies

ShowIcon = False Doesn't Work On Child Form That Has A MDI Parent In A Windows Application?

Nov 30, 2007

I have a MDI form that has a child form that is opened by default when the application loads. I also automatically maximize the child form. Even though I have set ShowIcon to false, the little blank image that indicates that there is no icon appears in the upper left hand corner of the form. Is there a way to get rid of this?

Private WithEvents m_frmLineItems As frmLineItems
m_frmLineItems = New frmLineItems(Me)
mfrmLineItems.WindowState = FormWindowState.Maximized

[code].....

View 3 Replies

Prevent Minimize Of Child Window When Parent Window Minimizes?

Dec 19, 2011

If I show a new non-modal child window using .Show(frmParent), and then the parent window is minimized, the child will get minimized automatically as well.

View 2 Replies

Windows Form Closing Automatically When Parent Window Gets Focus?

Jan 24, 2012

VB Windows form Application.. I am developing an application of which part of the program is around configuration settings allowing the user to enter configuration items. When the menubar item for configuration menu is clicked on the main form the menu opens.This is fine but the mainform should not become active again until the configuration menu has closed. This does not happen right now and the mainform simply comes to the foreground and the configuration form goes to the background... I realize that coding an event on the Child form to handle this would not work because the child window loses control and the main form gains control.. I thought of coding a function as follows on the main form but it does not seem logical because i would have to add to it for everyform and do checking to make sure the child is actually open before trying to close it..

Private Sub Form1_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.GotFocus
MailSettingsWindow.Close()
RentalSettingsWindow.Close()

[code]....

I did away with the above sub routine and used the below code as per the recomendation of using showdialog which works just as i was looking for.

Private Sub MailingAndEmailSettingsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MailingAndEmailSettingsToolStripMenuItem.Click
Dim MailConfig As New MailSettingsWindow()
MailSettingsWindow.Showdialog()
End Sub

View 1 Replies

Refer To A Parent Window From A Child?

Mar 4, 2010

I'm working on a sdi-like WPF application with VB as the code behind. Basically, I have a main window that has some tabs and a button that opens (shows) another child window. I need that child window to refer back to the parent main window and automatically bring it in focus and have a specific tab selected (via a button on that child). The child window is a separate class file with its own xaml and VB code in my project.In the child I tried using

My.Windows.MainWindow.myTabControl.ItemSelected = My.Windows.MainWindow.tabIWantSelected
My.Windows.MainWindow.Focus()

but this does not appear to work as the main window in the background doesn't appear to be referenced in this way. I can use My.[bla bla].Show() - but that creates a whole new instance of the main window on top of the old one. Activate() doesn't work either since the main window is already activated.It seems like a simple task but am I forced to use something like SetForegroundWindow()?

View 5 Replies

Don't Allow User To Switch To Parent Window From Child

Apr 29, 2011

Here's an example of what I mean: I have Microsoft Word open. I click 'Save As' to open the SaveFileDialog. When I try to click back into Word the SvaeFileDialog window flashes and it plays a beep noise. More importantly, it doesn't let the main program gain focus whilst it's open.

[Code]...

View 2 Replies

Forms :: Disable Parent Window While Child Is Open?

Dec 6, 2009

how to disable parent window while child is open so the user cannot click any object in the parent window and to Force the user to interactive only with the child

View 2 Replies

How To Work On Both Parent And Child Form Without Closing Child

Apr 10, 2011

i have created two forms A and B when button in form A is clicked B is invoked when B is running its not possible to work on A until i close form B. How can i work on A without closing B

View 5 Replies

Passing Data From Child To Parent Form Which Is A Child Of Another One

Apr 17, 2012

i have three forms

when i click button1 on form1=====> form2.showdialog()
then click button 1 on form2 =====> form3.showdialog
then click button 1 on form 3 =====>

[code].....

View 7 Replies

Unable To Place A Label Box In The MDI Parent Form And Then Open A Child Form The Label Box Highlighted In Child Form?

Dec 15, 2011

I have an issue when I place a label box in the MDI Parent form and then open a child form the label box highlighted in child form?

View 6 Replies

Run A Sub Procedure Or Possibly A Method When Closing A Child Window And Returning To Parent

Mar 19, 2012

I am making an address book for my final project in school, and have a few questions. In my address book, there is a feature to add groups so you can sort your contacts. The problem is, the add group feature is in a different form, I tried calling a procedure from the parent form to refresh all data but it does not work.[code]

View 2 Replies

Small Window Comes Out Slowly From Windows Status Bar?

May 4, 2010

I need to have a small window to appear slowly from the bottom of windows.is it a windows manipulation or it can be done in VB.net too.

View 10 Replies

Progress Bar In Status Bar To Move When Load Any Child Form Inside The MDIParent Form

Sep 16, 2009

i am asking about using the progress bar into the status bar to move when i load any child form inside the MDIParent form.

View 1 Replies

Microsoft Report Viewer To Show Parent/child Data Such As Invoices Headers Followed By Invoice Details?

Mar 25, 2012

After several hours of searching the internet I could not find any Report Viewer tutorials that show a project that contains a parent/child report. I'm using rdlc report files.I can create a single report but we want to create a report that shows shows invoice header information followed by the invoice details followed by the next invoice header and details and so on.

If a sample project is not available, do you know of an online tutorial that shows how to do it?I saw something that might help on gotreportviewer.com about subreports, but it's in C# and not VB.Net so I could not figure out how it works.

View 1 Replies

Parent Child Relation In Gridview (windows Application)?

Oct 12, 2009

I am developing a small windows application(vb.net).In that i want to have parent child relations in a gridview control. There are lots of examples available on this, but they are using two gridviews for that, but in my case i want the relation to be displayed in a single gridview control itself. When they click the + sign immediate row should populate child rows with it's own header(ie child rows has it's own header which is different from parent header). In my case parent row has 2 columns and child row has 4 columns.

View 2 Replies

Display Text Name Of Child Instead Of Parent On Windows Mobile Application

May 24, 2012

I have a vb.net application that uses ShowDialog() to open child screens.

Long story short, I had issues with focusing the control if I opened IE on top of my program without minimizing the program. Once I reactivated my program and closed a child window, IE would show again instead of my program. I fixed this by setting the owner of my form.

Now I have another issue. After setting the owner, the parent (text) name of my form is now being shown at the top of the application when a child screen is open instead of the parent name. How can I fix this to show only the child's text form name when a child screen is open?

View 1 Replies

Interface And Graphics :: MDI Parent / Child - Child To Check To See If It Is The Last Child Object Before Closing

Feb 18, 2011

Im working with MDI parent/child objects. when closing the child objects i need the child to check to see if it is the last child object before closing. i couldn't find anything on google, maybe im searching for the wrong thing.

View 2 Replies

Child Window Open Inside Of The Main Window Form?

Oct 12, 2010

I have create a project with one main form window and also i have to use a number of other forms as well. now i want to open these other forms inside the main window and not outside. I'm using Visual Studio .NET 2010 as developing environment.

View 1 Replies

Can't Fit Child Form Into Mdi Parent

Jul 28, 2010

I am trying to size an MDI form to fit its 2 children perfectly within itself but when I use simple sizing it doesn't work - the MDI form always introduces scroll bars and the children seem to be too big for the parent. My three mDI form methods where this occurs is below.

Private Sub positionSyncForm()<br/>
With m_SyncManager<br/>
.Top = 0<br/>

[Code].....

View 2 Replies

MDI Child And MDI Parent Both Are MDI Form?

Dec 13, 2011

May I know is there any solution for both MDI parent and MDI child is MDI form?I am trying to set like this.
uiAdjustment.MDIParent = Me uiAdjustment and "Me" is both MDI form and it show error when I am trying to do like this.

View 1 Replies

2003 Control On Child Form To Create Event On Parent Form?

Oct 28, 2010

Here is the pertinent part of my code:

Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub MenuItem3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

[code].....

View 3 Replies

VS 2010 Sub/Child Form Close When Click On Main/Parent Form?

Jun 5, 2012

i am having some trouble in my Windows form application. i have 2 forms1st Main / Parent Form2nd Sub / Child Form (Menu)

View 7 Replies

Write Text From A Parent Form To The Active Mdi Child Form VB 2010

Jan 28, 2012

It has to be a simple line of code but I do not know how to construct it. Using VB 2010 Express, I have a MDI parent form and many child forms. I want the parent form to determine what child form is active and load data into the RichTextBox1 on the child form. Each Child form has a RichTextBox1. The parent form gets its data by loading a file.

I am close to a solution but just can't get there. You will see in the code below, if I make a direct reference to a specific child form, it works great. What I want to do is to use the Active Form function to determine which form to write to. I have looked at the MS tutorial which gets me close.

Private
Sub OpenToolStripMenuItem_Click(ByVal sender
As System.Object,

[Code].....

View 6 Replies

MDI Child Maximized - The Child Form Shows Maximized In The MDI Parent But Behind The UserControl

Nov 12, 2010

Note: I am working with Visual Studio 2010 Professional. Note: There are a lot of MDI Child posts, but none (that I have found) that apply to my scenario... Scenario I have an MDI form with a UserControl docked at the top. The UserControl is for navigation and is ~50 pixels in height. When I show a child form with its WindowState property already set to 'Maximized', the child form shows maximized in the MDI parent, but behind the UserControl.

[Code]...

View 3 Replies

Call A Form Load Parent Event From A Child Form?

Jun 3, 2011

I have two forms. Form A and Form B. Form A has a datagrid that is populated from a SQL Database Table query. When a button is pressed Form B is launched that allows you to add a record to the database table. I need for the datagrid to be refreshed and show the newly added record when I close form B and go back to the parent.

[Code]...

View 2 Replies

Open A MDI Child Form Using A MenuList On The Main MDI Parent Form?

Feb 6, 2011

I have a MDI Parent form created with a MenuList, I also have the MDI child form created.ow do I go about using the MenuList to open the MDI child form within the parent form?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved