Forms :: Put Docking Panels Into Application?
Dec 19, 2009How can I put Docking panels into my application like the ones in Visual Studio. Ex. the properties, solution explorer, and toolbox are these.
View 4 RepliesHow can I put Docking panels into my application like the ones in Visual Studio. Ex. the properties, solution explorer, and toolbox are these.
View 4 RepliesThe First Question is not that important but you know that when you click on 'Favorites' in IE 8 a form thing comes up? Well I've been trying to do that for a long time but I can't figure out how. 2: In IE8 when you expand the window and collapse the window, the toolbars expand and collapse as well. How do I make my tool bars in my Web Browser do that. 3: I actually have a third question and that's, How do you make a horizantal scroll bar on your web browser control. (just like in Internet Explorer.)
View 4 RepliesTo save from using several different forms in programs. I'd like to make just a few panels to represent each one. Then when I need to display one I just set it to visible or not visible.
For example, a quiz program. The 1st 10 questions are on one panel, the 2nd 10 are on a 2nd panel. They are both identical except different questions.
The problem is, when I try to put them both on the form, they have to be in different areas or else one will go inside the other. How can I keep several panels on one form without them going inside each other, in other words how can I keep them separate?
I'm trying to make custom ListBox with some graphics. Base is ItemCollection - each item contains Panel, 2x label and 2x picturebox. What each panel have to do:
- Change backcolor on MouseEnter and set color back when MouseLeave occurs.
- On MouseDown(LMB) - Panel stays "selected" - different color.
Problem: I can't access multiple panels at a time(and I need to), just one via sender as in function. Of course, I can do it hacky way, but I want to do it effective and regular. Is ItemCollection the right solution or should I do it just like an array of panels? Also I want them in one "box", ItemCollection is good for it.
Second "problem": I need to make labels "merged" in panels, when i MouseEnter them(labels), background color on that panel sets to my default color. when i MouseClick them(labels), nothing happens (need to "select" parent panel). It can be again fixed with hacky way, just disable labels - but then the colors of labels are unchangeable.
how do I refer to a panel. i,e. i have 5 panels in total, and based on specific inputs , i want changes to occur in specific panels(each stored in a tab). So, now how do i give the control to the rspective panel ??
View 1 RepliesI have two panels, and I want them to both scroll horizontally with one scroll bar, but I only want one of them to scroll vertically. So if I have a large panel on autoscroll, it works fine for that panel, but I have another smaller panel above that, could I make the smaller panel scroll horizontally with the larger panel's horizontal scrollbar?
View 2 RepliesI am familer with looping thru controls like so:
[Code]....
Next I have some labels on another form, that due to the design can't be in seperate panels. They are (lblChipColor1 - 6) and (lblChipValue1 - 7). I am trying to populate the color ones from the Array above. I can obviously loop thru the array, but I can't find a decent way to loop thru just the lblChipColorx lables ignoring the lblChipValue1x labels. It would be easy if they were on seperate panels. I tried adding the labels names to an array of type string and of type label, but got nowhere with that. Is there another way to group them, or build const array of label names, that I can work with?
Is it possibel to use update panels and update progress controls in windows application or is that reserved for web apps only. I am looking at applying some progress controls (like a spinning wheeel etc) when loading a crystal report that take about 30+ seconds.
View 2 RepliesI want to know if there is a way I can resize panels manually while an application is running. Basically I have one master panel you click a button add more panels to it. I want the child panels to be movable and resizable in the parent panel.
View 1 RepliesApparently I don't understand what PointToScreen() is actually returning. I'm thinking it should be absolute screen co-ordinates. In a form, I have some labels in a panel, which itself is in a panel and am trying to derive the screen co-ordinates for the labels in one statement without adding the X and Y co-ordinates of the panels. Why does PointToScreen(Label.Location) return the same value as PointToClient(Label.Location) and the same as Label.Location? Shouldn't PointToScreen() return absolute SCREEN co-odinates?
View 12 RepliesI am not able to find the Exclude Command in VB 2010 Express. I have no idea which version of Visual Studio it is working with. I've got one 217MB VB 2010 Express file and many 2008 VB Express files with one of them measuring 31 MB. There many other SQL files and .Net Files.
View 4 RepliesIs there anyway to "dock" a form to the desktop? I have a "child" form that will display info when the main form loads. This form is not meant for the User to interact with it. When I load the form and other windows are open, it displays over those windows until I minimize and then restore the windows. So I want to be able to dock it to the desktop.
View 3 RepliesDoes anyone know how to use the WeifenLuo docking control in VB? I am totally a noob, so I may not understand everything about it.
View 6 RepliesI want to make a window like the solution explorer or the properties wondow and put it on a form.
View 5 RepliesHow may I dock my form to the top portion of the screen and set the working area of the desktop to be underneath the bounds of my application?
Kinda like how Microsoft Office Professional.. You can open a help file and it docks to the right of the screen and moves Word to the left of it.I want to do this so that any program opened will show just under my program.
Ia m trying to make a webbrowser. I have created a button where by you can extend the size of the pannel, so you can see more information. I need to change the size of the webbrowser and extend the size of the information panel as well as inserting the information.
View 3 RepliesI use a splitcontainer in my programme, along with a couple of mdi-childs. I've got a problem now: The splitcontainer is actually in my main form, which is a mdi-container itself. Whenever I try to use mdi-childs, the panel of the splitcontainer is in front of it. Also I have problems with docking the mdi-child into the panel of the splitcontainer.
View 2 Repliesok say you have 5 listboxes and you want it so that they are kinda docked to the bottom so that when you resize the window they expand downward but not sideways
View 1 RepliesI have a Tabcontrol, and when the program loads it adds a tab. Inside this tab goes a panel (url, back, etc buttons to be added to it) and a webbrowser control.Problem is the panel docks to the top and when you fill the webrowser control the webbrowser goes behind the panel and not under it so the top is cut off.[code]Or anyone know how to remove the tabcontrol from the tabpages so theres a gap in-between to input this panel.
View 4 RepliesI am trying to add a docking form to my application. I have a good program going so far but I am trying to create a minimize to dock feature in which it minimizes to another form (basically hides one and shows the other). I am working on a 23" monitor but I want this to work on all computers. So what I am looking for is a form that three buttons...left, top, right. When the left button is clicked it will dock the window to that side of the screen and fill all of the space from top to bottom with a width of 200 or so. The second button "top" will dock it to the top of the screen and expand the width to the width of the screen it is on. And a height of 200. And the third button "right" will do the same as the left but will put it on the right side. Also is it possible to reserve that side of the screen. (move all icons on the desktop from behind it to the side of it.
View 3 RepliesI am making a useful sticky program, i know Windows 7 has a similar one built in but it doesn't function the way i want. Here is an image: As you can see, i am having problems removing the coloration of the background application window. How can i make that transparent without affecting the image? My second question is, how can i dock my application window to the right hand side of the screen?
View 5 RepliesHow could I prevent a Windows Form from automatically docking when the form gets dragged to the left or right side of the screen in Windows 7? This is a neat feature in W7, however, for my form it does not make sense (a data input form). Sometimes I drag the form to the right to read some information on a website and input them, yet, under W7 this form docks onto the right half of the screen when I do so.
View 5 RepliesI Have a database program which imports data saves it to a database and then on a separate form analyze the data i have a number of queries docked but i had to click dock to fill in form and ive tried for hours by but cant retrieve what originally was on the form otherwise queries are useless.
View 1 Repliesi apologise where i made a mistake it is the queries have been docked but on the toolstripcontainer must dock to fill form which loses the datagrid view andevery thing else hw do i get it back and keep the queries.
View 1 RepliesI have a form that I want to dock and move to just above the task bar on the right side of the screen. How could I do this?
View 3 RepliesDoes anyone know if Windows sells this control that is used in Visual Studios:
I'm not really sure of it's name, I just call it a Panel Docking Control. I'm looking for any 3rd party versions of it also.
I have a basic three form application. It doesn't seem to close after navigating through forms. If I were to open the application, and the main form is displayed. If I press the X button, the application closes fine(Goes from processes) If I were to open the application, and then navigate from the main form to another form using me.hide & form1.show, and press the red X on Form1, the application again, closes fine.
[Code]...
I have the requirement to create an application that has multiple front ends developed using Windows Forms, WPF, ASP and Compact Framework Mobile Forms.I would like to be able to create a series of obejct representing the business logic and have this logic accessible from the various front ends available. My first thought was to use remoting as I'd like to be able to pass the business objects back and forth between client and server but the compact framework doesn't support remoting and also transferring a full framework business object to a compact framework business object doesn't seem possible.My next thought was to use web services but again the passing of business objects seems to be very hard to accomplish. Without doing this I would have to create individual web methods for each business operation.
Finally my next option is to use sockets and write the whole client/server logic within some classes and expose them to the UI/Business layer. My only problem with this is it is not scaleable should the number of clients increase dramatically whereas using remoting or web services I can host the solution via ASP.Net.Does anybody have an ideas on the best way forward for this or even have any input on how they would write an application that required a windows form, wpf, asp website and mobile device GUI all of which want to use the same business logic?
I am using Visual Studio 2010 to build forms to access databases through DataGridViews.As these tables grow, it would be easier to resize the form to see the whole table.So I try to dock the DataGridView to the bottomand resize the form (The other controls are at the top of the form)This works for the width, but the height of the DataGridView does not adjust.
Public Class Form1
Dim gridHeight
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
[code].....
I have a windows forms application written in VB.NET which scrapes information from serveral web pages (who doesn't right)? Anyway, I am having problem with one particular site where partway through the page navigation my application hangs. When I press pause (or break) in the debugger, it stops on a call to System.Windows.Forms.Application.DoEvents.
Resuming execution shows that it really is stuck on this line (it does not reach the next line of code). It also hangs about the same point each time I run it (at least its consistent). Since System.Windows.Forms.Application.DoEvents yields to other threads on the same processor and then resumes execution of the current thread, I think the problem is that some other thread is not behaving well (not returning from some event handling code). I thought Windows 7 was pre-emptive, which makes me
doubt that theory but I really don't know.
[Code]...
The program scrapes somewhere between 12 and 14 pages before it gets stuck on the call to DoEvents. Does anyone have a clue why this would happen? Why would any call to DoEvents hang?