ViewForm Close Button [message #465366] |
Sat, 10 December 2005 18:26  |
Eclipse User |
|
|
|
Hi,
If I wanted a close button on the TopRight for a viewform, do I need to
write a custom close button? Or is there some default implementation of
this?
Also, if I close a viewform, how can I make it visiable again, short of
reinstantiating it?
The reason I'm asking is that I'm looking for something that is similar to
the sidebar feature of FireFox, where you could close the sidebar, but
make it visible again easily.
Any ideas?
Thanks.
|
|
|
Re: ViewForm Close Button [message #465368 is a reply to message #465366] |
Sun, 11 December 2005 05:34  |
Eclipse User |
|
|
|
Hi,
a possible way to reproduce this close button is to use a ToolItem that holds a close (cross) image and put it inside a ToolBar component. The ToolBar again has to be set as top right component in the applied ViewForm instance.
I guess it's not very efficient to instantiate the ViewForm each time it is made visible again so you better just switch the ViewForm's visibility status. To achive a Firefox like behaviour you'll have to use an adequate layout which fills up free layout space if the ViewForm becomes invisible. I hope this helps.
Regards
Sebastian
|
|
|
Powered by
FUDForum. Page generated in 0.03811 seconds