Draw custom selection frame(dashed rectangle), while mouse dragging is moving

Hi All,
Maybe anyone has experience of drawing custom selection frame(dashed rectangle) for selected page items.
I have to draw a custom selection frame(dashed rectangle), when I drag mouse cursor, while left mouse button is pressed.
Thank you!
Regards.

There are two possible answers:
1. If you use the getGraphics() in your event dispatching code, then the rectangle disappears because the component you paint on gets repainted, and it has no idea about your rectangle it should paint. The painting routine should ALWAYS be written in paintComponent(Graphics gr) method. (I wish they made the getGraphics() method protected).
2. If you paint it in the write way, it might disappear because the components that it overlaps might cover it.
Now a fix:
Because you need to paint on TOP of everything in the JPanel, you can either:
1. The dirty way: overwrite the paint(Graphics gr) method of your JPanel, first call super.paint(gr) then paint the rectangle.
2. A proper way: Add a non-opaque JPanel on top of you JLayeredPane (similar to GlassPane), and paint the rectangle on it (in it's paintComponent method).
Regards,
Marcin
You're probably doing some getGraphics() drawing which is usually wrong. If a component gets repainted by the system it loses all the information
Now to the question:
Your rectangle disappears beacause the Components that are overlapping it

Similar Messages

  • How to draw AI annotation on document view during mouse drag

    I created a AI tool plugin, when use the tool, I hope press mouse left key and drag in document view, AI will draw a rectangle, when mouse up, the rectangle disappears, just like ordinary select tool. So I wrote a class to implement AIAnnotation, during mouse drag, just let the annotation been invalidated. but I see nothing displayed. In the draw funtion I just use DefineClipStart() and then draw a rectangle using AIAnnotation drawer, at last call DefineClipEnd(). After mouse up call ClearClip(). Could anyone tell me if I made something wrong? Thanks in advance.

    Hello,
    At the begining of ToolMouseDrag(AIToolMessage* message)
    add the five following lines, so toolAnnotate(AIAnnotatorMessage *message) will be called each the mouse will be dragged.
    AIDocumentViewHandle view;
    AIReal zoomview;
    AIErr error=kNoErr;
    //To call toolAnnotate.
    error=sDocView->GetNthDocumentView (0, &view);
    error=sDocView->GetDocumentViewZoom(vue, & zoomview);
    I used this method in my tools for Illustrator JLG.Dimension for instance and it works well.
    JLG.

  • Move tool issue : Command key + mouse dragging for moving any layer not working in PS CC

    I'm trying to move a layer within the document by holding command key and mouse dragging (mouse cursor not above the layer) is not working at all while using move tool. Suddenly this functionality stopped working. Now I have to place my cursor on layer to be move and drag with mouse. Also pressing command key changing auto select option from layer to group.
    Please help.

    Usually when a tool is not working as expected, a Reset of that tool might be the answer.
    Select the move tool in the toolbox,
    Go to the move tool icon on the top left of the screen (just above the toolbox in its' Option bar) and Ctrl-click on it to get the Reset menu.
    Click on Reset Tool.

  • Draw multiple rectangles with mouse and allow exclusion of individual rectangles

    Hi,
    I have the following AS code to draw a single rectangle using mouse, but I need a different code that allows drawing multiple rectangles and the selection/exclusion of individual rectangles like a modeling tool (eg.: MS Visio).
    Can you help me?
    Thanks.

    What if I use MovieClips as the rectangle? When the click occurs, a new MovieClip is added dynamically to stage and when the user clicks right in a MovieClip's border it can be deleted.
    I'll try this way. And if you have any suggestions please let me know.
    Thanks.
    PS: This is the code I just forgot to include in the past post.
    const CANVAS:Graphics = graphics;
    var _dragging:Boolean = false;
    var _corner:Point;
    stage.addEventListener(MouseEvent.MOUSE_DOWN, setAnchor);
    stage.addEventListener(MouseEvent.MOUSE_UP, completeRect);
    function setAnchor(e:MouseEvent):void{
        if(!_dragging){
            CANVAS.clear();
            _corner = new Point(e.stageX, e.stageY);
            _dragging = true;
            stage.addEventListener(MouseEvent.MOUSE_MOVE, liveDrag);
    function completeRect(e:MouseEvent):void{
        if(_dragging){    
            _dragging = false;
            stage.removeEventListener(MouseEvent.MOUSE_MOVE, liveDrag);
            CANVAS.lineStyle(0, 0, 0);
            CANVAS.beginFill(0x222222)
            CANVAS.drawRect(_corner.x, _corner.y, e.stageX - _corner.x, e.stageY - _corner.y);
    function liveDrag(e:MouseEvent):void{
        CANVAS.clear();
        CANVAS.lineStyle(0, 0x999999);
        CANVAS.drawRect(_corner.x, _corner.y, e.stageX - _corner.x, e.stageY - _corner.y);

  • While selecting Frame for Table in Smartform

    hi
      While i am selecting Frame for Table in Smartform , it displaying very Bold frame.
    wat is the reason,
    guide me

    hi,
    do this steps,
    ->first in the shading of the table select white color
    ->provide the saturation as 100
    ->select the pattern and select any one of the pattern
    ->and then check the output
    you will get the required do this in the same fashion i explained
    Thanks,
    Nethaji.

  • JTable custom selection and mouse drag events

    Hello
    I am currently experiencing a problem when using a JTable and a custom selection. I have made a small example to demonstrate the probem. Selection works for this example by listening for when the user clicks or clicks and drags (button held down) and moves the mouse across cells in the table. For each MouseEvent received in the MouseMotionListener mouseDragged method I store the coordinates of that cell at the point of the mouse and render the cell at those coordinates with a line border allowing a more versatile cell selection. The problem that occurs is when you click+drag and move the mouse fast, it looks MouseEvents are created every x milliseconds so when you move fast there isn't a MouseEvent raised for each cell in the click+drag from A -> B. If you run the following example then click and hold down the mouse button and move fast downwards from the top of the table to the bottom you can see that not all the cells are selected vertically.
    Is there someway of increasing the mouse poll (if this is indeed the problem) during the click+drag or a better solution to this problem that any one knows!?
    I have tried attaching the example but it exceeded the message length for the forum post here is a link to code
    [http://www.oneandonlyluppy.pwp.blueyonder.co.uk/TableTest.java]
    [http://www.oneandonlyluppy.pwp.blueyonder.co.uk/TableTest.zip] <-- Contains the source and compiled classes
    I'll try adding the code again as a separate post
    Thanks
    Edited by: oneandonlyluppy on Jan 8, 2009 2:44 AM
    Edited by: oneandonlyluppy on Jan 8, 2009 2:45 AM

    AFAIK the mouse polling rate is OS dependent (being interrupt driven), and may even be affected by processor load. What you could do is store the mouse location (Point) of the last mouseDragged event, and compute a line to the current location, then use some coordinate geometry to identify any intervening cells which are presently being skipped.
    db

  • PO line item delete while saving ( based on custom selection)

    Hi ,
    We are trying to implement PO line item auto delete while saving the PO ( based on auto conversion or though me21n manual ) and this should work based custom selection / custom table  . We had tried to implement through exit and BADI but it’s not working .
    Let me know if anyone having idea on this or implemented same scenario in past .
    Thanks ,
    RB

    Hi Raghavendra,
                           I understand that you are facing problems due to non-availibility of Header data in PROCESS_ITEM. But the same can be pulled live from the program. Sample pseudo code and reference link provided below. Hope it helps your ABAPer gain an insight.
    REF: Getting Header Data in ITEM_PROCESS
    DATA: ls_item TYPE mepoitem,
    ls_header TYPE mepoheader,
    ls_header_obj TYPE REF TO if_purchase_order_mm.
    *Get PO Header data
    CALL METHOD im_item->get_header
    RECEIVING
    re_header = ls_header_obj.
    CALL METHOD ls_header_obj->get_data
    RECEIVING
    re_data = ls_header.

  • Error while transporting the Custom  Selection Screen to Production

    Hi All ,
    I have created a custom selection screen based on selecting the HR REPORT CATEGORY which gets selected under attributes section of an Executable Program.
    Every selection  screen got replicated till quality  but  at Production unable to see the same selection screen
    Please provide any suggestion to resolve my probs...
    Regards,
    Dheeraj

    Hi,
    This happened to me once.
    I have checked my transport logs and found that everything was successfully transported in order and without errors. But the selection screen was not coming in Productio system. So i have tried activaing and generating the program once which solved my problem.
    Hope it helps you too.
    Thanks,
    Venkatesh.

  • Drawing a Selection Box.

    Hello forum,
    Is there an easy way of drawing a selection box or do I have to draw it myself? I have been trying to do it myself but I'm having trouble erasing the previous boxes. All I'm doing is drawing a rectangle, how do I undraw it when the user moves the mouse?
    Selection Box = The user presses the selection tool. When the mouse button is pressed, I start drawing the selection box. As the user moves the mouse, the box gets bigger and smaller.

    found it....what you want to do is use setXORMode.
    public DrawSelectionBox(Rectangle RVRect)
    g2.setXORMode(Color.white);
    g.drawRect(RVRect.x,RVRect.y,RVRect.width,RVRect.height);
    }call this method to draw and erase the rectangle. you can change the color...using white gives you a black box.

  • Custom internal frames

    Hello,
    I have written some custom internal frames, along with their UI's, title panes, and desktop icons. Everything seems to work fine when I'm in JBuilder and I use the "run" command, but when I compile the program and run it as a batch file, my internal frames appear as gray boxes that can't be moved or resized.
    package KComponent;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import Theme.*;
    import java.io.*;
    import javax.swing.border.*;
    public class KInternalFrame extends JInternalFrame {
      private JLabel titleLabel;
      private String title;
      public static Color titleColor = Color.white;
      public static Color titleBarColor = Theme.DARK;
      private KButton maximize, minimize, normalize;
      private static final String PATH = "pics" + File.separator;
      public KInternalFrame(String title) {
        super(title, true, false, true, true);
        this.title = title;
        this.titleColor = titleColor;
        this.titleBarColor = titleBarColor;
        //getContentPane().add(content, BorderLayout.CENTER);
        //setContentPane(content);
        //LineBorder line = new LineBorder(titleBarColor, 2);
        //setBorder(line);
        setBorder(BorderFactory.createRaisedBevelBorder());
        this.getDesktopIcon().setUI(new KDesktopIconUI(title, titleBarColor, titleColor));
        setUI(new KInternalFrameUI(this));
    package KComponent;
    import javax.swing.plaf.basic.*;
    import javax.swing.*;
    import java.awt.*;
    import Theme.*;
    public class KInternalFrameUI extends BasicInternalFrameUI {
      public KInternalFrameUI(JInternalFrame frame) {
        super(frame);
      protected void installDefaults(){
          Icon frameIcon = frame.getFrameIcon();
          frame.setFrameIcon(null);
          /* enable the content pane to inherit background color from its
             parent by setting its background color to null. Fixes bug#
             4268949. */
          JComponent contentPane = (JComponent) frame.getContentPane();
          if (contentPane != null) {
            Color bg = contentPane.getBackground();
          else {
            Color bg = null;
          //LookAndFeel.installBorder(frame, "InternalFrame.border");
      protected JComponent createNorthPane(JInternalFrame w) {
        titlePane = new KInternalFrameTitlePane(w, w.getTitle(), Theme.DARK, Color.white);
        return titlePane;
    package KComponent;
    import javax.swing.plaf.basic.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.File;
    import Theme.*;
    public class KInternalFrameTitlePane extends BasicInternalFrameTitlePane implements ActionListener {
      private JInternalFrame frame;
      private final String PATH = "pics" + File.separator;
      private KButton maxButton;
      private KButton minButton;
      private KButton normButton;
      private JLabel titleLabel;
      private File maxIcon = new File(PATH, "maximize.gif");
      private File maxOver = new File(PATH, "maximize_rollover.gif");
      private File minIcon = new File(PATH, "minimize.gif");
      private File minOver = new File(PATH, "minimize_rollover.gif");
      private File norIcon = new File(PATH, "normal.gif");
      private File norOver = new File(PATH, "normal_rollover.gif");
      String title;
      Color activeTitle;
      Color activeTitleText;
      Color inactiveTitle;
      Color inactiveTitleText;
      public KInternalFrameTitlePane(JInternalFrame frame, String title, Color activeTitle, Color activeTitleText) {
        super(frame);
        this.frame = frame;
        this.title = title;
        this.activeTitle = activeTitle;
        this.activeTitleText = activeTitleText;
        //this.inactiveTitle = inactiveTitle;
        //this.inactiveTitleText = inactiveTitleText;
        installTitlePane();
      public void installTitlePane() {
        titleLabel = new JLabel(" " + title + " ");
        titleLabel.setFont(new Font("verdana", Font.PLAIN, 11));
        titleLabel.setForeground(activeTitleText);
        titleLabel.setBorder(null);
        titleLabel.setOpaque(false);
        File icon = new File(PATH, "maximize.gif");
        File rollover = new File(PATH, "maximize_rollover.gif");
        maxButton = new KButton(icon, rollover, rollover, false);
        maxButton.setOpaque(false);
        maxButton.setToolTipText("Maximize window");
        maxButton.setActionCommand("maximize");
        //maxButton.addActionListener(this);
        icon = new File(PATH, "minimize.gif");
        rollover = new File(PATH, "minimize_rollover.gif");
        minButton = new KButton(icon, rollover, rollover, false);
        minButton.setOpaque(false);
        minButton.setToolTipText("Minimize window");
        minButton.setActionCommand("minimize");
        //minButton.addActionListener(this);
        icon = new File(PATH, "normal.gif");
        rollover = new File(PATH, "normal_rollover.gif");
        normButton = new KButton(icon, rollover, rollover, false);
        normButton.setOpaque(false);
        normButton.setToolTipText("Normalize window");
        normButton.setActionCommand("normal");
        //normButton.addActionListener(this);
        JPanel buttonHeader = new JPanel(new GridLayout(1, 3, 0, 0));
        buttonHeader.setOpaque(false);
        buttonHeader.add(minButton);
        buttonHeader.add(normButton);
        buttonHeader.add(maxButton);
        JPanel titlePane = new JPanel(new BorderLayout());
        titlePane.setBackground(activeTitle);
        titlePane.add(titleLabel, BorderLayout.WEST);
        titlePane.add(buttonHeader, BorderLayout.EAST);
        setBackground(activeTitle);
        setLayout(new BorderLayout());
        //add(titleLabel, BorderLayout.WEST);
        //add(buttonHeader, BorderLayout.EAST);
        add(titlePane, BorderLayout.CENTER);
        //installDefaults();
        createActions();
        enableActions();
        //createActionMap();
        assembleSystemMenu();
        createButtons();
      protected void createButtons() {
          minButton.addActionListener(iconifyAction);
          minButton.setActionCommand("minimize");
          minButton.addActionListener(this);
          maxButton.addActionListener(maximizeAction);
          maxButton.setActionCommand("maximize");
          maxButton.addActionListener(this);
          normButton.addActionListener(restoreAction);
          normButton.setActionCommand("normal");
          normButton.addActionListener(this);
          //setButtonIcons();
      public void setButtonIcons() {}
      public void actionPerformed(ActionEvent e) {
        String command = e.getActionCommand();
        if (command.equals("maximize")) {
          maxButton.setEnabled(false);
          minButton.setEnabled(true);
        else if (command.equals("minimize")) {
          //maxButton.setEnabled(true);
          //minButton.setEnabled(false);
        else if (command.equals("normal")) {
          maxButton.setEnabled(true);
          minButton.setEnabled(true);
    package KComponent;
    import javax.swing.plaf.basic.BasicDesktopIconUI;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.File;
    import javax.swing.border.*;
    public class KDesktopIconUI extends BasicDesktopIconUI {
      private final String PATH = "pics" + File.separator;
      private File norIcon = new File(PATH, "normal.gif");
      private File norOver = new File(PATH, "normal_rollover.gif");
      JComponent iconPane;
      String title;
      Color activeTitle;
      Color activeTitleText;
      KButton norButton;
      MouseInputListener mouseInputListener;
      public KDesktopIconUI(String title, Color activeTitle, Color activeTitleText) {
        this.title = title;
        this.activeTitle = activeTitle;
        this.activeTitleText = activeTitleText;
      protected void installComponents() {
          frame = desktopIcon.getInternalFrame();
          norButton = new KButton(norIcon, norOver, norOver, false);
          norButton.setOpaque(true);
          norButton.setBackground(activeTitle);
          iconPane = new JPanel(new BorderLayout());
          JLabel jlTitle = new JLabel(" " + title + " ");
          jlTitle.setFont(new Font("verdana", Font.PLAIN, 11));
          jlTitle.setForeground(activeTitleText);
          jlTitle.setBackground(activeTitle);
          jlTitle.setOpaque(true);
          iconPane.add(jlTitle, BorderLayout.CENTER);
          iconPane.add(norButton, BorderLayout.EAST);
          desktopIcon.setLayout(new BorderLayout());
          desktopIcon.add(iconPane, BorderLayout.CENTER);
          desktopIcon.setBackground(activeTitle);
          desktopIcon.setForeground(activeTitleText);
          iconPane.setBorder(BorderFactory.createRaisedBevelBorder());
          desktopIcon.setBorder(null);
      protected void installListeners() {
          mouseInputListener = createMouseInputListener();
          desktopIcon.addMouseMotionListener(mouseInputListener);
          desktopIcon.addMouseListener(mouseInputListener);
          norButton.addMouseListener(new MouseAdapter() {
            public void mousePressed(MouseEvent e) {
              deiconize();
      public Dimension getMinimumSize(JComponent c) {
          return iconPane.getMinimumSize();
      public Dimension getMaximumSize(JComponent c){
          return iconPane.getMaximumSize();
      public Dimension getPreferredSize(JComponent c) {
          JInternalFrame iframe = desktopIcon.getInternalFrame();
          Border border = iframe.getBorder();
          int w2 = 157;
          int h2 = 18;
          //if(border != null)
              //h2 += border.getBorderInsets(iframe).bottom +
                //    border.getBorderInsets(iframe).top;
          return new Dimension(w2, h2);
      protected void uninstallComponents() {
          desktopIcon.setLayout(null);
          desktopIcon.remove(iconPane);
    package KComponent;
    import javax.swing.*;
    import java.awt.*;
    import Theme.*;
    import javax.swing.plaf.metal.*;
    public class KDesktop extends JDesktopPane {
      ImageIcon icon;
      boolean isWatermark;
      JInternalFrame gb, proj, stat, cal;
      boolean gbOpen, projOpen, statOpen, calOpen;
      public KDesktop(boolean isWatermark) {
        this.isWatermark = isWatermark;
        icon = Theme.getBackground();
        setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
      public void setBackgroundImage(ImageIcon i) {
        icon = i;
      public ImageIcon getBackgroundImage() {
        return icon;
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        if (!isWatermark) {
          if (getWidth() > icon.getIconWidth() || getHeight() > icon.getIconHeight()){
            g.drawImage(icon.getImage(), 0,0, getWidth(), getHeight(), null);
          else {
            if (getProportionalHeight(getWidth()) < getHeight()) {
              g.drawImage(icon.getImage(), 0, 0,
                          getProportionalWidth(getHeight()), getHeight(), null);
            else
              g.drawImage(icon.getImage(), 0,0,
                          getWidth(), getProportionalHeight(getWidth()), null);
        else {
          int w = icon.getIconWidth();
          int h = icon.getIconHeight();
          if (w == '\u0000' || h == '\u0000') {
            super.paint(g);
          else {
            int currX = 0;
            int currY = 0;
            boolean keepPainting = true;
            while (keepPainting) {
              if (currX < (getWidth()+w/2)) {
                g.drawImage(icon.getImage(), currX, currY, null);
                currX += w;
              else if (currY < (getHeight()+h/2)) {
                currX = 0;
                currY += h;
                g.drawImage(icon.getImage(), currX, currY, null);
              else keepPainting = false;
      public int getProportionalHeight(int width) {
        double percentage = (double)width/icon.getIconWidth();
        return (int)(percentage*icon.getIconHeight());
      public int getProportionalWidth(int height) {
        double percentage = (double)height/icon.getIconHeight();
        return (int)(percentage*icon.getIconWidth());
    }Any ideas? I don't see how everything could work fine within the JBuilder environment and then screw up when I compile the code.
    Thanks for any help.

    And this is how I call up the UI from my main function:
    displayFrame.setUI(new MyInternalFrameUI(intFrame));Thanks!

  • From iMovie I select share iDVD, and then mouse spins forever in iDVD

    from iMovie I select share iDVD, and then mouse spins forever......
    Note: this only occurs for one of my movies, because the other iMovie projects open iDVD ok. I have also tried an archived copy of this movie and the same problem occurs. I notice in the backgound that iMovie is access iDVD for a long time (2-3 minutes), and then I can access iMovie again. However iDVD spins the mouse forever until I Option-Apple-Escape and end iDVD.
    I am running:
    iMovie Ver.# 6.03(267.2) and
    iDVD Ver.# 6.04(797)
    1) Is the problem iMovie or iDVD or the specific iMovie file which could be corrupted? Should I try and export this corrupted iMovie file into another file name?
    2) Can I reset the preferences for iMovie and iDVD? And how do I do that?
    3) Can I re-install iMovie and/or iDVD, and do I use my original DVD?

    Hi
    a. I don't ever use the Share/Export to iDVD from within iMovie.
    I do.
    • close iMovie
    • open iDVD
    • Import or just drop the movie into iDVD
    b. Clearing iDVD
    • Delete iDVD pref file
    • Start iDVD
    • Start a new project
    Else read.
    *Not knowing the origin to Your problem - General approach when in trouble is as follows:*
    • Free space on internal (start-up) hard disk if it is less than 10Gb should rather have 25Gb
    • Hard disk is untidy: Repair Permissions, Repair Hard disk (Apple Disc Util tool)
    • Delete iDVD pref file - *or rather start a new user/account* - log into this and re-try
    • Program miss-match: iDVD 5.0.2, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK - DON’T work under Leopard
    • Program miss-match: iDVD 6.0.4, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK (might work under Leopard)
    • Program miss-match: iDVD’08 v. 7.0.1, Mac OS X.4.11 AND QuickTime 7.4.1 - is OK (might work under Leopard)
    • iDVD (08) v7 Locate theme folder. Move out iDVD1, iDVD 2 and eventually iDVD4 folders to desktop - re-try
    • Try a Cleaning CD/DVD that cleans the laser lens on the DVD burner/player
    iDVD 6.0.4 and iDVD 7.0.1 are compatible with Mac OS X 10.5 Leopard
    iDVD pref file resides: Mac Hard Disk (start-up HD)/Users/"Your account"/Library/Preferences and is named:
    com.apple.iDVD.plist
    While iDVD is NOT RUNNING - move this file out to desk-top.
    Now restart iDVD.
    Last resort: from Craig: Solved the problem!! Finally!!
    I deleted every iDVD application and folder from my boot drive,
    emptied the trash and then installed iDVD 08 using the customize option
    and I am up and running.
    Yours Bengt W

  • How to make a rectangle in a XY graph & this rectangle can be Drag and Zomm by Mouse

    I have a curve display in a XY graph, that is simple.
    But
       My customer want one or tree rectangle display in this graph also, these rectangle can be drag, Zoom,  such as below pic,
    the problem is how to use mouse control these Rect, Drag to move, Drag corner to Zoom.  thanks a lot

    Hi,
    First learn how to plot your rectangles (several segments).
    Then use a structure event with XYGraph => mouse down to check when user begin the drag
    Use the same structure event with XYGraph => mouse move to update your graph during movement.
    Best Regards
    V-F

  • Remove gaps when drawing custom items into column data browser

    I am drawing custom controls in a column-view data browser, and find that there are margins on each side the drawing region. This is especially annoying when I need to draw the highlighted background for selected items because then the selection bar has gaps between columns.
    The browser has "variable width columns" enabled, and the columns in question have min and max widths set to 50 pixels. The drawing region that I am passed in the callback is 26 pixels wide, meaning there are 12 pixel margins on each side. Anyone know how to get rid of these so that I can make my own decision about margin size and properly fill in the background for selection highlighting? Thanks in advance.
    (See sites.google.com/site/polyritmo/gaps-in-column-view for a picture)

    Never did get an answer on this one. Does that mean it's not possible to make this work properly?

  • Selecting frames in a stack...

    I understand that when you have a stack of frames on top of each other you can cycle through them by Command Clicking on the Mac. But is it only possible to move a selected frame that is buried beneath a load of other frames by clicking and dragging the center point of the selected frame?
    If I am zoomed in very close, the center point might be a long way from my current viewing area and I'd have to go and find it. I realize that I can Cmd Click through and if I know that my desired frame is next in the stack I can keep my mouse button pressed and be able to move the frame, but that could take one or two cycles of the stack in order to determine when my required frame will next be selected. If I Cmd Click down to my required frame so that it's selected, Cmd Clicking again will select the frame below that and single clicking will select the frame at the top of the stack.
    Is this how it works or am I not quite understanding a selection principle here?
    David

    Thanks for the advice. I do already use the nudge feature with the arrow keys but as recommended I do already prefer to use layers. This was really a very small problem that had been bothering me for some time. I'm using CS3 but I seem to recall that way back in version CS1 or maybe even v2.0 I think it was possible to click through the stack, select the item, release the mouse, then click again to move it around. I might be mistaken and I might even be remembering the bad old days of using another DTP program that I won't mention here (but it begins with Q). Am I right in my memory or has ID always operated in the way it does now?
    Personally I would prefer to be able to Cmd Click through the stack and once the item was selected then be able to click again and move it around. Do you think it's possible for a scripting expert to write a script for this command to work? It sounds to me like a core issue for the bods at Adobe to implement but it might only be for me!
    Dj
    PS. The Cmd Shift clicking doesn't enable to the ability to click through the stack as it just selects and then deselects the top frame. No combination of keys and modifiers could get that to work.

  • Keyboard shortcuts not working while mouse over title-bar

    most of the time, while mouse is over the top title bar, keyboard shortcuts (like Ctrl+W, Ctrl+T, Alt+D) are not working.
    This is a strange behaviour that happens only after i migrated to linux (ubuntu 10.10)
    Sometimes, after i try the shortcuts a few times, on middle of the screen also, then suddenly it works also when the mouse is on the title bar. It's pretty strange...

    Well, that's not the case here.
    I tried to focus on text field, and the keyboard shortcuts does work, so that's obviously not the case here.
    Sometimes the address bar is selected and i can write there, but when the mouse go over the top title, it suddenly stops reacting.
    And the Alt+D and Ctrl+T are not working doesn't matter if a text field is selected.
    BTW, sometimes it does work, it almost seems like an intermittent problem.

Maybe you are looking for

  • Adobe Acrobat 9 Pro - Multiple Monitors

    Is it possible to display two documents side by side on a second monitor?  (i.e. showing an exhibit to a jury that shows two documents/side by side in full screen without the toolbars showing.)

  • In ios 8 my messages did'nt sort by time

    WHen i updateed my iPhone 4s to iOS 8 my messages did not sort by time please help me

  • I unchecked all the songs in my library, how can I get them checked back?

    I was trying to uncheck some songs in my library so that they would not transfer to my ipod. I guess i held down shift or control to uncheck the group when I had a few songs selected. Now all my songs in my library are unchecked. I want to update my

  • Where can I get a new hard disk in the UK?

    I have a Hitachi 80Gb internal hard disk (Hitachi HDS722580VLAT20) which TechTool tells me is failing. I can't afford to have a new one fitted, so I think I'm going to have to do it myself. The trouble is that I can't find one anywhere. Apple don't s

  • Returnable Packaging - Handling ASN's for their return delivery

    Two of our customers are sending us ASN's when they ship the empty returnable containers back to us.  Unfortunately, the ASN IDoc's Red-Light because there is no MM Order for them. The normal process is working - when the truck arrives, we process a