Visual WebGui Wiki Site
 
  Forum  Commercial Foru...  Commercial Foru...  a bit bumped by blank property window, HeaderedPanel.Header and HeaderedPanel.Client.Height
Previous Previous
 
Next Next
New Post 5/7/2009 7:59 AM
  hcduan
71 posts
No Ranking


a bit bumped by blank property window, HeaderedPanel.Header and HeaderedPanel.Client.Height 

Dear Guys,

Are there any suggestions on the above?
Sample application has been sent.
1. Property tool window becomes blank: From time to time, the property window becomes blank. There are dozens of  operations can cause this. An example: drag a button on the form, double click it to switch to its click handler code snippet, key in something, press ctrl+S to save. Press shift+F7 to return to the design window, you will find that the property window becomes blank. Although there is an workaround, that is, close/reopen the form, but it is really distracting and time wasting.
2. HeaderedPanel.Header is null at runtime: Run the application, click check header button, will display the case. I noticed that at design time, there are controls in the Header dropdownlist, but I cannot understand what that means.
3. HeaderedPanel.Client.Height == HeaderedPanel.Height == (Any Control that is contained in HeaderedPanel with Dock == DockStyle.Fill).Height: Run the application, press check height button.
4. To visually estimate the HeaderPanel.Header.Height: Run the application, press the Init button, then press the Shrink button. On my machine, I found that HeaderPanel.Header.Height=26.

I want my application, which is picture oriented, to be elegant, so accurate control of Controls' size is very much required.

BR
River

 
New Post 5/7/2009 1:38 PM
  palli
6076 posts
1st Level Poster




Re: a bit bumped by blank property window, HeaderedPanel.Header and HeaderedPanel.Client.Height 

Hi River,

First, your application has been received to the support mailbox and your request (or the rest of it) will be handled at the first available time.

Regarding your number 1. question: This has allready been reported here, and it is currently scheduled to version 6.4.

As for the rest of your questions, we will respond to them the same time we check your application.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 5/7/2009 4:53 PM
  palli
6076 posts
1st Level Poster




Re: a bit bumped by blank property window, HeaderedPanel.Header and HeaderedPanel.Client.Height 

Hi River,

Regarding your number 2, then to get a control up to the header of a HeaderedPanel you select the control at design time, that is supposed to be in the header. Problem is that there is an open issue on that one, that currently can make it hard to use. You can see the issue here.

About your number 3 & 4, can you give me a hint if this is just behaving like that within HeaderedPanel, and not other type of panels ?

What are the results you expect to get from the Height property when you doc fill control A within control B, what should be A.Height if not the same as B.Height ?

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 5/8/2009 3:15 AM
  hcduan
71 posts
No Ranking


Re: a bit bumped by blank property window, HeaderedPanel.Header and HeaderedPanel.Client.Height 

Hi, Palli,

Just give you an example.

I want to show an image in a PictureBox which is supposed to be a child control of a HeaderedPanel. Elegant programming tells that we should make good use of the available (client) space of the HeaderedPanel, say the picture needs to occupy the vertical space, or the horizontal space as much as it can. But what I got is a vertical space a little (say about 26 pixels) more than the actual availabe space, so if I use this height to zoom my picture, and then draw it with left top coordinate set to (0,0), then the very bottom part (say about 26 pixels in height) of the picture is invisible because it goes out of the reach of the HeaderedPanel.

Hope this can help you understand the case.

BR

River

 
New Post 5/8/2009 1:12 PM
  palli
6076 posts
1st Level Poster




Re: a bit bumped by blank property window, HeaderedPanel.Header and HeaderedPanel.Client.Height 

Hi River,

Ok, I think I'm getting close to know what you mean now. Please correct me if I'm wrong.

Your problem is that the HeaderedPanel's height properties is greater than what is visible in the browser and all the properties you named are giving you incorrect measurement of the visible area of the HeaderedPanel hdPnlPics. Correct ?

Before I start experimenting with this and even writing some issue(s), have you tried doing the same for other type of panels than the HeaderedPanel? Same results ?

Have you tried anything similar in WinForms ?

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  a bit bumped by blank property window, HeaderedPanel.Header and HeaderedPanel.Client.Height
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | Cloud applications | RIA Development | Silverlight Applications | Legacy Migration
The most popular open source Ajax applications framework for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners