473,396 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Frame control is gobbling up my Listbox

I have a few frame controls on my form in my Windows Forms app. I have
a Listbox that stretches over a few of the frame controls but is
invisible until the user click a button. The problem is, when I try to
put the Listbox over the frames in the designer view, the Listbox
becomes a member of one of the frames and shows only a tiny bit of the
Listbox.
Can I prevent the frame from taking the Listbox?
Jul 31 '06 #1
2 1114
On Mon, 31 Jul 2006 19:46:06 GMT, Kevin <ke****@cfl.rr.comwrote:
>I have a few frame controls on my form in my Windows Forms app. I have
a Listbox that stretches over a few of the frame controls but is
invisible until the user click a button. The problem is, when I try to
put the Listbox over the frames in the designer view, the Listbox
becomes a member of one of the frames and shows only a tiny bit of the
Listbox.
Can I prevent the frame from taking the Listbox?
Place a Panel Control 'in front of' the Frame Controls.
Place a ListBox Control in the Panel Control.
Set ListBox Dock Property to "Fill".
Use the Panel Control's Visible property to show/hide the ListBox.

Gene
Jul 31 '06 #2
I"ll try it, thanks.
On Mon, 31 Jul 2006 14:37:33 -0700, gene kelley <ok**@by.mewrote:
>On Mon, 31 Jul 2006 19:46:06 GMT, Kevin <ke****@cfl.rr.comwrote:
>>I have a few frame controls on my form in my Windows Forms app. I have
a Listbox that stretches over a few of the frame controls but is
invisible until the user click a button. The problem is, when I try to
put the Listbox over the frames in the designer view, the Listbox
becomes a member of one of the frames and shows only a tiny bit of the
Listbox.
Can I prevent the frame from taking the Listbox?

Place a Panel Control 'in front of' the Frame Controls.
Place a ListBox Control in the Panel Control.
Set ListBox Dock Property to "Fill".
Use the Panel Control's Visible property to show/hide the ListBox.

Gene
Aug 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: W. | last post by:
Hi all ... I have a page with 4 frames in it. If I click on a button in the 4th frame, a new window has to be opened and the value of the listbox in the 3rd frame hoas to be passed .... My code...
0
by: Mark Johnson | last post by:
The last reply got sort of cutoff. So here again: So for anyone interested, here's the simple regexp patterns for the substitutions required. The textbox control is being 'zoomed' in a popup...
0
by: Oddball | last post by:
Is there any way to capture the graphics output of a control and route it to another control? That's confusing.. It's all about my listbox again - I want to be able to draw an image of a user...
7
by: tom | last post by:
Hi, I want a listbox below a hidden calendar control. The problem is that the listbox will shadow the calendar when the calendar is visible. How can I bring the calendar from back to front? ...
4
by: Moe Sizlak | last post by:
Hi There, I am trying to return the value of a listbox control that is included as a user control, I can return the name of the control but I can't access the integer value of the selected item,...
4
by: Ryan Ternier | last post by:
Hello, I have a repeater control that does the following on the ItemDataBound event. It works perfectly, except that when it prints out, the names of the controls aren't what I'd expect. ...
3
by: Chris Newby | last post by:
I have a very simple custom control that derives from WebControls.Panel and implements INamingContainer. It appear that controls created as children of my custom control are having ViewState...
3
by: Hugh O | last post by:
Hi, There is a ROW property on the Web Listbox control within VB.Net. The description states it is "The number of visible rows to display". I have tried setting this property in many different...
0
by: EvilProject | last post by:
Hi , I'm writing a script editor and i want to add an autocomplete feature to it just like in VS. now, in VS the Autocomplete list has a frame just like a dialog frame , i want the same frame for my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
jinu1996
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...
0
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.