In Visual Studio 2005, I am creating a user control. I place a FlowLayoutPanel control in the user control, maximize it and anchor it to all sides so the flow control fills the entire usercontrol UI. I then drop a TChart control onto the FlowLayoutPanel control. I resise the TChart control so it fills the entire size of the FlowLayoutPanel control. Then, I set the TChart Anchor property to anchor to all 4 sides. The TChart's height goes to 0.
Anyone else see this behavior? It is very repeatable for me.
TChart Control Disappears at design time
-
- Advanced
- Posts: 192
- Joined: Thu Feb 01, 2007 12:00 am
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mike,
This seems not to be a TeeChart problem as the same happens if you use a System.Windows.Forms.Panel or System.Windows.Forms.Button in a FlowLayoutPanel. The same problem also happens when setting Dock property to DockStyle.Fill instead of Anchor property.
At the URL below you can read a pretty similar issue reported to Microsoft and their reply.
http://connect.microsoft.com/VisualStud ... kID=113563
Hope this helps!
This seems not to be a TeeChart problem as the same happens if you use a System.Windows.Forms.Panel or System.Windows.Forms.Button in a FlowLayoutPanel. The same problem also happens when setting Dock property to DockStyle.Fill instead of Anchor property.
At the URL below you can read a pretty similar issue reported to Microsoft and their reply.
http://connect.microsoft.com/VisualStud ... kID=113563
Hope this helps!
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |