|
|
Re: How to create a vertical toolbar? [message #371673 is a reply to message #371665] |
Mon, 14 July 2003 15:26 |
Eclipse User |
|
|
|
Originally posted by: steve_northover.ca.ibm.com
This was just fixed for 3.0. SWT.VERTICAL for toolbars didn't work quite
right on Windows until just recently ...
"Grant Gayed" <grant_gayed@ca.ibm.com> wrote in message
news:beu71m$ngs$1@eclipse.org...
> Yuri,
>
> Your ToolBar creation line looks right. I've verified that if you get
> snippet
>
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/sn
ippits/snippet36.html
> and add SWT.VERTICAL to its creation style bits that it will display
> vertically. If this example doesn't help you then you'll have to post a
> more complete snippet since the problem likely resides elsewhere.
>
> Grant
>
> Yuri Magrisso wrote:
>
> > How can I create a vertical toolbar? I mean a toolbar that displays on
> > the left or right side of the window vertically.
> > I tried the following code, but the toolbar is always displayed
> > horizontally.
>
> > toolBar = new ToolBar (shell, SWT.BORDER | SWT.FLAT | SWT.VERTICAL);
>
> > ToolItem item = new ToolItem(toolBar, SWT.PUSH);
item.setImage(imgOrders);
> > item.setToolTipText("View Orders");
> > ....
> > toolBar.pack();
> > ....
>
>
|
|
|
|
PDA Mouse RightClick Event [message #436217 is a reply to message #371652] |
Thu, 13 May 2004 11:53 |
Eclipse User |
|
|
|
Originally posted by: gabollado.gabollado.com
Hello,
Is there a way to detect the RightClick on the Mouse on a PDA? holding the
pencil for a while, the way to do a rightmouse click in a PDA, I get the
same mouse event values that doing the normal click.
Thanks a lot.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03206 seconds