473,748 Members | 6,034 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Refresh Problem on Nested Container, with DockStyle.Fill or TableLayoutPane l...

I am developing an application, which uses .NET 2.0/WinForms and has a
designer for screen layout designing. User has an option to design the
layout of screen, and for that we developed our own controls based on
UserControl Class. After the designing the layout is saved as an XML,
and we have a Loader of XML that renders the layout afterwards.

When we load the controls and layout from xml, every thing works fine
except we are facing Refresh problems, especially if user control
contains TabControl (either Windows standard Tab or 3rd party
TabControl). In that case inner control do not refresh when we resize
the window.

My initial assumption was that it is due to the nesting of Panels, so
we re-write the layout and instead of using nested TableLayoutPane l, we
are managed to use only single one (by using Table ColSpan and RowSpan
property).

We heavily used DockStyle.Fill property in our controls, and another
strange issue, I observed is that refresh problem only occurs on the
controls where DockStyle.Fill property is set, any other control having
other DockStyle property seems to refresh fine.

Any thought about it,
We are testing our application on 64 bit windows.

Any help on this issue is highly appreciated.

Regards,
Khurram Shakir
Kh************@ gmail.com

Jul 31 '06 #1
0 1945

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

Similar topics

8
3944
by: CoolPint | last post by:
I read in books that nested class cannot access private members of nesting class and vice versa unless they are made friends. Somehow, my compiler is letting my nested class member functions access private members of nesting class. template <typename T> class Container { // NO friendship given to any other public: class ContainerIterator;
0
5401
by: Ed Allan | last post by:
http://ejaconsulting.com/nestedrepeater/NestedRepeater.txt >-----Original Message----- >Doh! The HTML has all been rendered . . . > >Right click on this link and select 'Save target as ..' >to get the code in a text file. > >Thanks - Ed >
0
3111
by: Cc | last post by:
I try to make like note pad when open a document, the document will show in a tab control (something in vs) the trick I do is - on window container(parent) I create a split container (one for tool box ) another I put a tab control . (both set dock to fill) - on mdi child(called newDoc) I set frame to none, window state to normal. and put richtextbox in it(set dock to fill) - back to window parent on menu (just said new document ) ...
2
3683
by: Itar | last post by:
I'm having a problem when opening an MDI Child form. I'm declaring the child form then setting the dock property to fill so that it takes up the entire space of the MDI Parent window without being maximized (user request). The problem is that when the child form is being displayed it is briefly shown in it's default size before being resized to fill the available area on the MDI Parent form. How can I stop the MDI Parent from displaying...
3
2278
by: Sam | last post by:
Hi all, I have a splitter sitting between 2 panels (which I use for drawing) on my main form. The problem that I'm having is that when I resize my form, the panel(plnDwgContainer) that has the fill dockstyle method seems to be a bit slow. However, if I try to resize my panel using the splitter, then it seems to be ok. Does anyone experience this? Below is what I have on my form. Thanks Sam
2
30849
by: avanti | last post by:
Hi, I am trying to delete rows from a TableLayoutPanel at Runtime. I tried editing the RowStyles collection but doesn't do what I want it to. I have a table with 10 rows. I want to delete rows 2 to 10 at runtime, keeping the first row unchanged. Can this be done? Thanks,
4
3195
by: Russ Green | last post by:
I have a VB.NET app that uses lots of forms which I am loading into a panel cotrol using..... Me.pnlMain.Controls.Clear() frm.TopLevel = False frm.WindowState = FormWindowState.Maximized frm.Dock = DockStyle.Fill frm.Anchor = AnchorStyles.Left + AnchorStyles.Right + AnchorStyles.Top + AnchorStyles.Bottom
2
1920
by: Me LK | last post by:
I have a set of drop downs nested in a datagrid. Each drop down is a size or color for an item. Each row of the grid has a button which leads to a cart. When a user selects something from the first row or nested drop downs the page refreshes, the correct item is selected in the list and the and upon clicking the add to cart button the correct choices show up in the database. When a person selects something from a row other then the first...
0
1234
by: Franck | last post by:
I need a container that support opacity so i can by code, instantiate, dock.fill on a form and bring to front. I would in other word prevent people from cliking anything on the form and allow me to show some extra controls such as progress bar if the form is loading or working, add/edit informations. I manage to make a panel invisible by overriding the onpaint but that is not opacity. i would need like 25-50%. I also tried changing color...
0
8991
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, 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...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9541
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9370
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 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...
1
9321
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,...
0
9247
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 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...
0
4602
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.