VS 2008 - MDI Child Forms Sets To Sizeable (Cascade Option)

Nov 6, 2009

I have an MDI application where the child forms are set to sizeable, but when I hit the cascade option the forms are resized. Other than setting the forms to a fixed size is there any way round this?

View 2 Replies


ADVERTISEMENT

VS 2010 Cascade Forms - Large Ones In Back

Mar 11, 2012

I've got a collection of a type of form and multiple of these can be displayed on the screen independently at the same time and now I'm wanting to add the ability to cascade these forms, but these forms can all be re-sized so it'll be very rare when they are of the same or similar size. I would like to be able to cascade them based on their present size, so the largest for is in the back and the smallest is in front.

I also realize that a form could be wider than than another form but that other form is taller than the current one, in which case I would like the taller form to be considered the larger one (an arbitrary decision, I know). Here's the code I currently have that cascades them in the order they are in the collection, I just need to know how to re-order them based on their size.

[Code]...

View 5 Replies

Have One Window (without Child-windows) That Can Have Multiple Content-sets?

May 5, 2011

I would like to have one Window (without child-windows) that can have multiple content-sets.For example: I want to have a set of lables and textboxes to save information for an object (like a person). This person has several sub-items. I want to have a set of lables and textboxes for these sub-items in my mainform too. But I don't want the lables- and textboxes-set of these two objects to be both visible at the same time.

View 2 Replies

Setting A Value In Parent Row For A Column That Is Grouped Sets Child Rows To Nothing

Apr 13, 2012

i have a Janus grid, which has two columns and the rows are organized in a hierarchical order i.e. parent and child rows. One of the columns in the grid is grouped (by dragging the column in the group by box above the grid). I have a cell-changed event that is fired when a cell content is changed. I do this in the cell-changed event:[code]If i change the value, in a parent row, of the grouped column then the child rows are set to Nothing. After the last line in the above snippet, child rows of row are set to Nothing. On the other hand, this problem does not occur if i change the value of the other column (which is not in the group by box). The problem occurs only if i group a column and change its value not otherwise.

View 1 Replies

[2008] MDI And Child Forms?

Mar 21, 2008

In VB6, MDI applications were possible. You'd create a form and a few Child forms and go with it.

View 7 Replies

Add Sub / Child Option To MenuStrip?

Jan 25, 2009

Code to add a child/sub option to one of the items in a menustrip (using VB.NET)?[code]...

View 10 Replies

Forms :: Create A Timer That Sets The Time From An Existing Text File?

Mar 20, 2009

I need to create a timer that sets the time from an existing text file. The time format in the text file is 00:00:00 (hours,minutes, seconds). An excerpt from one of my text files looks like ClockSet = "00:49:05"

Also, if possible, when the timer reaches 2 minutes I would like the backcolor to flash between red and green.

View 1 Replies

VS 2008 : Opening MDI Child Forms?

Dec 29, 2010

In a MDI application, for opening a form in the MDI, I am using the following code

Private Sub RoleToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RoleToolStripMenuItem.Click
Dim lobj_ChildForm As frmRole
'Check if form is already open
lobj_ChildForm = Nothing

[code]....

As you can see, I need loopong through all the open child forms.

View 2 Replies

VS 2008 Arranging MDI Child Forms?

Jun 18, 2009

I have these codes to load 2 MDI child forms from my menu...

Private Sub Form1ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Form1ToolStripMenuItem.Click
Dim f As New Form1

[code]....

but still nothing happens.

View 5 Replies

VS 2008 Location Of Child Forms?

Aug 11, 2011

I have a Midi form with controls I always want to be displayed even when child forms are open. I can position the location of the child forms when the project is first opened with no issues. The problem I have is if more than 3 child forms are open and I enter the middle form one of the others is no longer visible. Me.LayoutMdi(MdiLayout.Cascade) will reorder all the forms but it starts at location(0,0). Have tried the other options available with midilayout and they all do the same thing

View 6 Replies

VS 2008 Mdi Form Controls Are Visible In Child Forms

Feb 12, 2010

i use a picture control in mdi form .. but when i load child froms then mdi form picture are also show in front of child form...

View 7 Replies

[2008] Drag & Drop Between 2 Datagrids Between 2 MDI Child Forms

Feb 11, 2009

Drag & Drop Between 2 Datagrids Between 2 MDI Child Forms Ive been working on this project of mine for some time now... though im not involved in IT in my current company, im just trying to help to at least have their system computerized (they are still doing it manually by paper & calculator)... I have one problem though which made me stick for 2 days (and still counting) without progress... How To Drag & Drop Between 2 Datagrids Between 2 similar MDI Child Forms my apologies, im not that adept in VB.net programming...

View 1 Replies

VS 2008 Resize Of Parent Form Keeps Relative Size/Loc Of Child Forms?

Sep 17, 2010

I want a set of child forms to keep their relative sizes and locations to their parent form when parent form is resized. So if one child form is opened and covers the lower right quadrant.. it will remain a quadrant for whatever resize is done on parent form.

View 3 Replies

VS 2008 - How To Make Property Value Sets

Aug 15, 2010

How do I make a property to have a set of selectable values, in a way such that they work by intellisense-drop-down, as i.e. the color.white, color.black etc.? I want to do this like for integer values I may want to have selectable by "keywords" with the hard values only existing in a unique class file, or whatever is necessary ..?

View 2 Replies

Convert Already Designed And Working Forms To MDI Child Forms?

Dec 11, 2009

I build my first Project composed of several forms and it�s working just fine. Id like now to redesign the project as a MDI Application. Once created the parent form, I can create child forms but thats not what I need. What I would need is convert my already designed and working forms to MDI child forms. How can that be done?

View 1 Replies

Forms :: Drag & Drop Between 2 Datagrids Between 2 MDI Child Forms

Feb 11, 2009

Ive been working on this project of mine for some time now... though im not involved in IT in my current company, im just trying to help to at least have their system computerized (they are still doing it manually by paper & calculator)... I have one problem though which made me stick for 2 days (and still counting) without progress...How To Drag & Drop Between 2 Datagrids Between 2 similar MDI Child Forms

View 16 Replies

Set IsMidContainer In Forms For Parent-child Relationship Forms?

Jul 1, 2009

I know I can set IsMidContainer in forms for parent-child relationship forms. I just want to know if the parent form could be a panel. If so, how can i do it?

View 1 Replies

.net - Child Forms Not Getting Minimized Along With The Parent Forms?

Apr 8, 2011

I have made a project on Library management system using Microsoft Visual Studio 2008 and Sql server 2005 .I have used MDiParent form in this project, from where I can click on the menu item to open the desired form.

I am now able to open the child forms in the main window background.Now what happens is When I click on one menu Item it open in the parent form background.I am able to open all child forms corresponding to the click event in the MenuToolStrip ...all in the Parent form Now the problem is that I cannot minimize child forms when I minimize Parent form..I want child forms also to minimize along with the Parent form.. Also are child forms still not attached to the parent Form is also my question here.....

View 2 Replies

Forms :: How To Avoid Child Forms Overlapping In MDI

Mar 26, 2011

i'm a beginner in MDI form. i created a MDI form with buttons and child forms. when i click the forms continuously, many forms will be opened. how to avoid forms overlapping, in other words, duplicate

View 6 Replies

Cascade ComboBox In DatagridView

Sep 3, 2009

Because there was no aswer in Windows Forms General general forum i decide to post the same question in here... is about cascading comboboxes in vb.net.. Could somebody give me a guideline how to stop previouses selections of dissapearing when another selection is madein a new row... [URL]

View 2 Replies

Foreign Key Constraint Will Not Cascade

Mar 20, 2010

I'm developing an app in VB.Net (Visual Studio Express 2008, on Windows Vista) that connects to an Access relational database. The database has 3 related tables (TextSections, LineItems, Cycles) that I'm loading into my dataset. I've set up two foreign key constraints and want all changes to cascade through the related records in the child tables. I cannot get the cascades to reflect through.

For example, when I delete the parent record, the children records remain (in the database - they are removed from the dataset). Also, when I modify the parent record (change the Description field for example), the change is not reflected in the dataset datatable that holds the children records - unless I go through and ReLoad all of the data from the database and re-Set the constraints. I have set the .AcceptChanges, .UpdateRule, and .DeleteRule to cascade, and have also set EnforceConstraints on the dataset. Why aren't the changes cascading through the children?

Below I've pasted (1) the Load Routines for my datatables TextSections (parent), LineItems (child), and Cycles (child of LineItems); (2) the method that creates the constraints in the dataset, and (3) The Save routine for TextSections.

Friend Sub LoadTSTable()
Dim key(1) As DataColumn
Dim newCol As New DataColumn

[code].....

View 1 Replies

Set To Cascade Updates / And Deletes?

Dec 16, 2009

Just looking to keep application looking neat, One Form Parent / Child relation, set to cascade updates / and deletes. What I'm looking for is when the form loads the user enters some information for the parent (about 2 column out of 5), then I create a datarow with the information that I have. At this point before I actually send and update command, I would like to get the next scope identity for that datarow.

The reason is I also use that Identity as an Id number in this case a receipt number, and the user will enter detail data that is stored in the child, then calls the save function, this is when I intend to actually call the update to the database.

So the question is, Can I retrieve the scope identity for a datarow that only exist in the dataset without calling the update command and actually storing the data in the database? Or in my case creating my own auto index sub a better choice?

View 2 Replies

Combo Boxes Filtering In Cascade

Jul 20, 2009

I am pretty new on programing and for the past 2 days I´ve been trying to paint a table grid based on the selection made on 5 combo boxes. My problem is that I am trying to fill the combos based on the selections made on the other combos and really I am going insane. I have found a couple of examples that show how to do this using JavaScript but I don´t think this is the best solution. i would like to do this using a stored procedure which I think is more efficient. My db is on SQL 2000 and I am using asp for server script.At the moment all i have is this, which really doesn't do very much, all it does is composing the where clause so that whe i call the stored procedure if filters the results based on the combos, but ofcourse the combos are at the moment static: [code]

View 4 Replies

Use CSS(cascade Style Sheets ) In ASP.NET Applications Using Program?

Jun 3, 2009

CAN ANYBODY GUIDE ME HOW TO USE CSS IN ASP.NET APPLICATIONS USING VB.NET.

View 1 Replies

Forms :: Listbox - Multi Select Option?

Dec 15, 2011

I had set the multiselect option to true for listbox.Let me know how to move the list items up and down with this option.

View 2 Replies

Forms :: Adding Preset Option To Functions / Methods

Jul 20, 2009

I'm trying to create classes, functions, etc that present a preset list of options to users (in the same way that messagebox control will show the available button options). A simple example is readFile(ByVal strPath as string, ByVal strFileType as string) where the user will see a list of acceptable file types when they put the comma after strPath.

View 2 Replies

Forms :: Disabling Close Window Option In Windows 7?

Apr 13, 2011

I have an application developed in VB.net with 3.5 framework. I have disabled close (X) button on the main form of the application while doing some processing. I have achieve disabling by "Overriding ReadOnly Property CreateParams()" of the form. This is working fine as both control button on form and close option on right click in the taskbar shows disabled. This fulfill my needs on the Windows XP OS but not on Windows 7 OS. As in Windows 7 right click on application icon in taskbar shows a different menu, which has a new "Close window" option.

The close in original menu still shows disabled (this old menu is hidden but can be shown by holding Shift key and right click on the application icon in taskbar). Now I need to disable this "Close window" option as well and only for my application.Is there a method through which I can do this programmatically.

View 3 Replies

Forms :: SELECT Dropdown Has No OPTION Tags (WebBrowser Control)?

Aug 27, 2010

I created a Windows Form application that used a Webrowser control to automate the process of entering data into a website. One of the tasks included selecting a server name from a dropdown menu (SELECT tag). I was able to get a collection of all of the OPTION tags and use HTMLElement.SetAttribute("selectedIndex","indexVal ue") to select the server I needed.The website recently went through a redesign and now there are no OPTION tags. It appears that the values for the SELECT tags are added by JavaScript dynamically. I have tried using HTMLElement.SetAttribute("selectedIndex","indexVal ue") directly, but I am unable to select what I need.

View 3 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

Forms :: Save From A MDI Child?

Oct 12, 2010

I am re-doing part of a GUI for my project, The Windows Alias Generator, and decided to switch to MDI. The child forms consists only of RichTextBox1. Here's the generate routine called when the save is clicked:

Private Sub SaveAsToolStripMenuItem_Click(ByVal sender As Object, ByVal e As EventArgs) Handles SaveAsToolStripMenuItem.Click, SaveToolStripButton.Click
Dim ActiveMDI As Form = Me.ActiveMdiChild[code].....

But because I cannot define richtextbox1.text from the currently active MDI, I cannot use this routine...my question is this: How would I get RichTextBox1.text from the save option in the MDI form?

View 4 Replies







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