Hello.
I have put 3 components on the form :
Panel . dock property is left (left panel).
Spliter. dock property is left.
Panel. dock property is fill (right panel).
I see that the spliter has some width, and all the elements on the right
panel,
are invisible when they are neer the left edge of the right panel
(the splitter component hides them).
How can I overcome that problem ?
Thanks :) 8 1543
On Feb 20, 3:33*pm, "Mr. X." <no_spam_please @nospam_please. comwrote:
Hello.
I have put 3 components on the form :
Panel . dock property is left (left panel).
Spliter. dock property is left.
Panel. dock property is fill (right panel).
I see that the spliter has some width, and all the elements on the right
panel,
are invisible when they are neer the left edge of the right panel
(the splitter component hides them).
How can I overcome that problem ?
Thanks :)
Well, if i understood your issue correctly, i have seen that kind of
issues and IMHO the best way is to solve is to use "anchor" property
instead of docking which works work me. But i've found that dragging
an objects edges to fit the form does NOT 1:1 fit control (a very tiny
space is present or you should enter spacing values manually in
properties window), but which works as you wish.
For example add a webbrowser control on a form that's docked on the
form center by default, then add status bar. You'll see that one of
these controls will be hidden / mixed , therefore remove docking
property and set "anchor" property's value to up / left/ right to fit
your control around the container.
Sometimes right clicking on your control and "bring to front" command
is used to work out this issue.
Hope this helps.
On Feb 20, 3:33*pm, "Mr. X." <no_spam_please @nospam_please. comwrote:
Hello.
I have put 3 components on the form :
Panel . dock property is left (left panel).
Spliter. dock property is left.
Panel. dock property is fill (right panel).
I see that the spliter has some width, and all the elements on the right
panel,
are invisible when they are neer the left edge of the right panel
(the splitter component hides them).
How can I overcome that problem ?
Thanks :)
Also look at this link that contains good definitions: http://www.startvbdotnet.com/forms/form4.aspx
"Mr. X." <no_spam_please @nospam_please. comschrieb:
I have put 3 components on the form :
Panel . dock property is left (left panel).
Spliter. dock property is left.
Panel. dock property is fill (right panel).
I see that the spliter has some width, and all the elements on the right
panel,
are invisible when they are neer the left edge of the right panel
(the splitter component hides them).
In addition to the other replies: If you are using .NET 2.0 or newer, you
may want to use the SplitPanel control instead of the splitter control.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
You meant : SplitContainer.
When first time I ran my program,
the splitter line is hidden, so I need to drag it once.
How can I solve the above problem ?
Thank :)
"Mr. X." <no_spam_please @nospam_please. comschrieb:
You meant : SplitContainer.
Yes, sorry...
When first time I ran my program,
the splitter line is hidden, so I need to drag it once.
Are you talking about SplitContainer? You can set the 'SplitPosition'
property to position the splitter.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Thanks,
.... but there is not such property splitPosition.
"Mr. X." <no_spam_please @nospam_please. comschrieb
Thanks,
... but there is not such property splitPosition.
This time he meant the SplitterDistanc e property. ;-) (you get a list
after typing the ".")
Armin
"Armin Zingler" <az*******@free net.deschrieb:
>Thanks, ... but there is not such property splitPosition.
This time he meant the SplitterDistanc e property. ;-) (you get a list
after typing the ".")
Sorry, I didn't have VS installed on the machine and thus I guessed the
property's name.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: MooMaster |
last post by:
This is more of a wxPython centric question, but not seeing reference
to this on the wx group I thought I'd try here since many here also use
wxPython toolkit. I started learning GUI development with Tkinter, and
developed a few screens as part of an application I'm building with it.
I've recently been trying to learn wxPython because of it's additional
widgets (the wxTreeCtrl and Drag and Drop features in particular), and
I've developed...
|
by: Andre Loker |
last post by:
Hi!
For my current application I'm looking for a four-way-(cross) splitter
control (as often seen in 3D-editors). The .NET Splitter-class is (IIRC)
only a two-way splitter. Does anyone know such a four-way-splitter control?
Regards,
Andre Loker
|
by: Krish |
last post by:
This is my first try with C# windows gui devlopment, is it correct to
say that gui development in C# is windows forms.
I would like to create a form with two sections, 2 datagrids, I would
like
to have a splitter that will allow me to hide the datagrid either the
one on top
half or the one on the bottom half.
I am going thru this, but would appreciate some help in understanding
|
by: BBM |
last post by:
I'm trying to set up a form with two panels divided by a Splitter control.
I can make the Splitter work in the situations described in the documentation (Listbox or TreeView on left w/Dock set to Left, Panel on right of form w/ Dock set to Fill, Splitter between them set w/ Dock set to Left. Works as advertised.
But... if I change to have two panels on the form one on the left with Dock set to Left, a panel on the right with Dock set to...
|
by: Carl Gilbert |
last post by:
Hi
Is it possible to position a button for instance on a splitter control so
when the splitter is moved, the button stays positioned over the splitter?
Regards, Carl.
| |
by: Mika M |
last post by:
Hello!
My windows form has Splitter control on it, and I save splitter's last
X-location when user changes it like ...
Private Sub Splitter1_SplitterMoved(ByVal sender As Object, ByVal e As
System.Windows.Forms.SplitterEventArgs) Handles Splitter1.SplitterMoved
'// Saving new Splitter X-Location
oSettings.SaveSetting(Application.ProductName, Me.Name,
"SplitterLocationX", Splitter1.Location.X.ToString())
|
by: Sam |
last post by:
Hi,
I have a panel docked to the bottom of my form. This panel can be
expanded vertically by clicking on a button. When the user click on the
button again, the panel is then collapsed. The panel has a horizontal
splitter, which the user can use to resize the panel when it is
expanded. I would like to save the height of the panel when the user
uses the splitter, so that when the panel is expanded via the button,
it size will be...
|
by: Marina |
last post by:
Hi,
It seems that I am seeing an inconsistency in the arguments that get passed
to the SplitterMoved vs. SplitterMoving events.
As in, the ones for the SplitterMoving are correct coordinates, and the ones
for SplitterMoving are not.
I have a panel with 2 controls in it and a splitter. I also have a textbox
to log all the values of the events.
|
by: arnoldino |
last post by:
hi
i wanna make a form on which there are 6 panels. on form load the first panel will show up, and if the user clicks on a button on taht panel the first panel will hide and the second will show up, and so on.
i thought to do this with splitter controls, because we can animate the transition between two panels. but i'm a bit confused to use splitters. they don't work like i expect. so i'm using the following code
private void...
|
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...
|
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...
| |
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,...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |