Apply A Dropshadow To A Mdichild?
Jul 26, 2009I'm developing a MDI application and since my mdichild forms have no border I wish to apply a dropshadow just like a normal form, is it possible ?
View 6 RepliesI'm developing a MDI application and since my mdichild forms have no border I wish to apply a dropshadow just like a normal form, is it possible ?
View 6 RepliesI hava a MDI app. i have a mdiChlid(say A) and others n instances of another mdichild. i wanto to this others n instances can handle an event generate in the A mdi chlid. How ca i do this??
[Code]...
I have a parent form with 2 child forms.
i iniciate both mdichildren with [code]...
when i click on form1.button1 i want to issue form2.textbox1.text=""
I want to detect if a form is the last/only MDIchild of a MDI Parent
View 4 RepliesI have made new MDIChild and with textboxes on the form. When the form loads...it will open data saved from a text file to the textboxes. However the data does not load from the text files. When i take out the code, it works fine...but it needs to be a mdi child...the code i'm using is
Dim NewMDIChild As New ViewCustomer()
NewMDIChild.MdiParent = Main
NewMDIChild.Show()
the form that I need to load the info is "ViewCustomer" and the mdi parent is "Main"
I have an App with 4 childMDI forms in VB 2008. What I need to do is update 1 of the childMDI forms when I close another childMDI form. How do I do this in a best practice way?
View 7 RepliesI have a MDIParent form that has a bunch of child forms. When I open a child form, I can actually move the form outside the bounds of the Parent. How can I prevent this? I've set each of the Child Forms "IsMdiContainer" property to "False". What am I missing?
View 1 Replieshave a form1 with MDIParent but when i try to open MDIChild is not working....
Private Sub MDIChild1()
For Each f As Form In Me.MdiChildren
If f.Text = "FormMDIChild3" Then
[code]....
how to minimize MDIchild windows to the StatusStrip...or is there another toolbar object in VB.NET (2008)? I have a menu layered over my MDI Parent window (which is always maximized) and if I minimize another child window, i can't see it anywhere (unless I minimize the menu too, but I took that ability away from the user)... I think I know how to do this through the menustrip at the top of the window (click on open windows....like in excel or word), but I'd like to see the windows minimized in a toolstrip of the MDI parent.
[Code]...
I have a main form with a number (in this case 9) mdichild forms. Some are visible, some not, but they are all very basic. When I write to a textbox in any child form during Main_Load it updates, when I write to a textbox in any child form inside its own _Load it updates. If I write to one from awhere else in code, including a sub in the form's own code, it fails to update.
All the child forms are identical but are distinctly separate forms created before compilation rather then NEW versions of a single form to avoid threading problems.Curiously this code worked once only. No edits were made and when re-ran failed after stopping it if found all the controls in some of the forms were invisibe in developer mode, restarted VS but still not there. Run app and at runtime there they were!!! Also all locked textboxes still accepting input.
[Code]...
I have a program developed in VB.NET (2008) which consists of a MDI form and several child forms. It worked like a normal mdi application whereby mdi form acted like a container for child forms and things worked out okay. Code like Me.Mdichildren or Me.ActiveMdiChild etc could be used to get list of child forms and perform other actions.Now what happened is I needed to implement a tabbed system. There will be multiple tabs and forms would be in those tabs. So I added a Tab control in mdi form and now new forms are added to selected tab page. This way muliple tab pages can host forms and there is no need to see all childforms at once.
But a problem has come up. I do say ChildForm.MdiParent = Me (as before) but then I say TabPage1.Controls.Add(ChildForm).Doing so functions like getting list of mdi children or me.activemdichild or auto arrange options like Cascade,Tile Horizontal, Vertical etc are not working. This will be a major problem for me.
I'm making an appication that needs to maximize the window of another application. In Spy++, the way it works is -> "Working Model - Untitled1" -> "MDICloient" -> "Untitled1"This is what the tree view looks like.I need to maximize Untitled1, but I'm not sure how. I tried findwindow "Working Model - Untitled1" and then used get and setwindowplacment for it, and it worked. Then I used findwindowex on "Untitled1" but it did not maximize. What am I doing wrong here? I'm sure mdi windows can be maximized; the "Untitled1" window itself has the 3 buttons (- + X) on the caption bar.
View 1 Replieshow can I check(with code) if an mdichild form is already opened or not. I have some mdichildforms that may open together. If an mdichild form is opened I want to dislpay the already opened form and not a new one.
View 4 RepliesI placed a button on my form that measured 59mm in width (approx 2.25 inches for any Americans).When you run the project as you'd expect it still measures 59mm.However when I set the form as a child to my MDIParent and run the project the button now measures 67mm (well over 2.5 inches) an increase of 13.5%.Is this a bug or do I need to just change some setting somewhere?
View 6 RepliesI am using a tab control on my mdi parent forms. when i open a child window i hide the tab control. but i want the tabcontrol to show itself on child close event. but i cant figure out the code.
View 2 RepliesI have a big problem regarding MdiChild. My problem is that I have 3 forms loaded;
Form1=Mainform / mdiParent
Form2= Display the Datagrids
Form3= This is where I let the user input the necessary fields like Lastname, Firstname,Age,etc...
My problem goes like this, Form3 is the child of Form2, Form2 is the child of Form1 and I call them one by one like this:
//form1
Form2.MdiParent = this;
Form2.Show();
[code]....
I want in the Form3 to save data and refresh on my datagrid on Form2 so that every data that I encoded in Form3 will reflect in Form2. I let the Form3 close everytime there is data entered but my problem is that the data that entered doesn't reflect in my datagrid.
I have 3 Form[code]...
I use CustomerListForm to transfer text to OrderForm[code]...
the program working normal(Transfer Text Done) if Start Up Form is OrderForm.
but the problem is, if Start up Form is MainForm(MdiParent), OrderForm(MdiChild), CustomerListForm(MdiChild)
I would like to display the autoscroll bar on MDIParent form when user moves MDIChild form. I set the autoscroll to false on the MDIParent form, but it does not display the scroll bar. What should i do?
View 1 RepliesMy application having one mdiform in that form six child forms are there.Switching of opening one childform into anather form speed is very slow after clicking of any button in the mdiform.
View 1 RepliesI have developed a small application. It has a MDIParent form on which the other childforms are displayed. I have a Panel on the MDIParent on which there are buttons to call up the MDIChild forms. Now my issue is, when anyone of the buttons on the MDIParents form Panel are clicked, it should check if another Childform is display, if it is then it (the active childform is closed) and the new form will be displayed. This part is working fine from the code below. However, when there are no active MDIChild form on the MDIParent form and if the button is clicked, the 'Else' part of my code below is executed. This generates the error as 'Object reference not set to an instance of an object'. So what is wrong with my code below?
Private Sub btnExecutive_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExecutive.Click
Dim MDIChildForm As New frmExecutiveInfo
[Code]......
Looks like a dumb question, but I tried the following (where "Me" is a MDIParent form):
Dim frmNotif As New frmNotifica
With frmNotif
.MdiParent = Me
[Code].....
i have an mdi form with a menustrip.. File Edit View i have an mdi child with a menustrip... Tools Actions i want to be able to add the Tools Actions to the menu in my mdi and not show them in my mdichild.
View 13 RepliesWhen the parent form has a menu strip and the child form has a menu strip the program will add all of the child menu items to the right of the parent's items. I have two parent items "Help" and "Exit" that I want to always be at the right. Is there a way to add the child options into the middle?
View 2 RepliesI have an application that has a treeview in the MDI parent form, there is a button1 that adds a child node to the treeview and a mdichild form for that specific treeview child node. i would like to know if it is possible to save the trevview and the MDi child forms to a single txt file or csv file no matter how many mdi children and treeview child nodes are poduced.
View 11 RepliesMdiChild window Snaps to edge of MdiParent window
View 7 RepliesWhy is my MDIChild form not being displayed in my MDIParent form? I want to click a button on form frmStudyResultsFilter which will then display an MDIContainer form frmCalculatedResults (maximized). When frmCalculatedResults is shown I want a small dialog modal form to be in the center of frmCalculatedResults. For some reason frmCalculatedResults will not show on top. Plus I get this error"Form that is not a top-level form cannot be displayed as a modal dialog box. Remove the form from any parent form before calling ShowDialog." Here is my code:
Public Class frmStudyResultsFilter
Private Sub btnCalculated_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculated.Click
Dim frm As New frmCalculatedResults
[code]....
I code GUIs in .NET frequently, and most of them only have the value of being a GUI, e.g. they don't do anything otherwise impossible. So most of the development goes to making them friendly, intuitive and eye-candy.Then it comes to my mind it would be simply amazing to skin them through .msstyles files, since there are so many places to find those files, and also tools to make your own.And some of those msstyles are just stunning, probably not for your whole desktop, but for styling homemade apps it would be perfect.
View 2 Repliesi have one quetion maybe some of you know codejock skinframework witch allows you to apply a skin to your vb6 application and i thought about asking is there a way applying a xp/vista theme to an vb .net application i dont want to use xp style if you think like that i mean downloading a skin and applying it only to my application? is that possible in vb .net
View 2 Repliesi am just trying to apply inheritance ..Below is my Code ... on which i am not getting the output on my Text_Box ... when in write it in a Child Class
Imports System
Imports System.Windows
Imports System.Windows.Forms
[code]....
I have this action will fire on the painting of a tab page.
Private Sub TabPage1_Paint( _
ByVal sender As Object, _
ByVal e As System.Windows.Forms.PaintEventArgs) _
Handles TabPage1.Paint
[Code]...