Results 1 to 2 of 2
  1. #1
    Borneq is offline Member
    Join Date
    Jan 2010
    Posts
    8
    Rep Power
    0

    Default I can't drag sash

    I attach two project. In first is OK - I can drag sashes. But second has two buttons and sash between its. Mouse cursor over sash not changed and can't move sash. Why? how move sash?
    This examples are from book.
    Attached Files Attached Files

  2. #2
    Borneq is offline Member
    Join Date
    Jan 2010
    Posts
    8
    Rep Power
    0

    Default

    My error.
    instead
    sashData.bottom = new FormAttachment(0, 0);
    should be
    sashData.bottom = new FormAttachment(100, 0);

Similar Threads

  1. Drag and Drop
    By carderne in forum New To Java
    Replies: 0
    Last Post: 08-31-2009, 09:18 AM
  2. Drag and drop
    By thayalan in forum AWT / Swing
    Replies: 1
    Last Post: 02-16-2009, 03:04 PM
  3. Sash Example
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-02-2008, 08:05 PM
  4. How to create a sash in SWT
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-02-2008, 08:04 PM
  5. shadow effect in swt-sash
    By Jack in forum SWT / JFace
    Replies: 2
    Last Post: 07-02-2007, 05:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •