File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

window resize as per number of elements

 
Prasad Babu
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i have to set the window size(actually its popup) as per number of elements in the form. The popup contains only the form.

My request is, if the number of elements are fitted in less area than default size of the window, the window size should be less i.e. the windown should be shrinked. if the elements occupy more space than default size of the window its not a problem.

Anybody has idea?

Thanks in advance
Prasad
[ July 24, 2006: Message edited by: Prasad Babu Dandu ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I ask why would this matter. I am assuming it is a pop up window?

Eric
 
Prasad Babu
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eric,

Yes you are right.

With regards,
Prasad.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic