logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: XRC resources: msg#00048

Subject: Re: XRC resources
On Sun, 18 Apr 2004 22:00:41 +0930, Darryl Ross wrote
> Hi Mattia,
> 
> Thanks for your response.
> 
> >   Use $frame->Layout;
> 
> I've tried (all without any success):
> 
> ->Layout()
> ->Show(0)
> ->Show(1)
> ->Refresh()
> 
> Plus every combination I can think of of the above. Sending an 
> ->Iconize(1) and then an ->Iconize(0) worked, but that was even more 
> obvious to the user than destroying the frame and recreating it.

Hi Darryl,

You could try:
  $frame->SetSize ($frame->GetBestSize);

You probably want to call that after calling $frame->Layout;

HTH
simonf


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>