How to move node in treeView using two buttons ?

Hello ,
Am starter , and am working on a Winforms application.
I browse an XML file , then I populate treeview in my interface. I want to move selected node in the two sens ( up and down)  using two button ( so not with events , normal drag and drop with mouse ) .
- I select the nod 
- I click on the up button , then the node take the new place ( something like , drop and insert maybe )
I don't know if is possible to affect this events to button or they are another way to do this 
this is my code concerning populating treeView :
private void browseSourceFileBtn_Click(object sender, EventArgs e)
var openSourceFile = openSourceFileDialog.ShowDialog();
if (openSourceFile == DialogResult.OK)
fichierSourcePath.Text = openSourceFileDialog.FileName;
// Connect the XML FILE DATABASE to the application interface
private void button1_Click(object sender, EventArgs e)
if (openSourceFileDialog.FileName == String.Empty)
MessageBox.Show("u should open a file", "Erreur de chargement", MessageBoxButtons.OK, MessageBoxIcon.Error);
else
try
MessageBox.Show("plz wait ");
statusLabel.Text = "Début de chargement du fichier";
var doc = new XmlDocument();
doc.Load(openSourceFileDialog.FileName);
sourceTreeView.Nodes.Clear();
var rootNode = new TreeNode(doc.DocumentElement.Name);
sourceTreeView.Nodes.Add(rootNode);
sourceTreeView.CheckBoxes = true;
sourceTreeView.AllowDrop = true;
DateTime starteTime = DateTime.Now;
BuildNode(doc.DocumentElement, rootNode);
DateTime endTime = DateTime.Now;
TimeSpan duree = endTime - starteTime;
sourceTreeView.ExpandAll();
sourceTreeView.Nodes[0].EnsureVisible();
string chargementTemps = "" + duree.Minutes + "min : " + duree.Seconds + "s : " + duree.Milliseconds + "ms";
statusLabel.Text = "Chargement effectué avec succés en :" + chargementTemps;
catch (Exception)
sourceTreeView.Nodes.Clear();
statusLabel.Text = "Echec de chargement";
thanks u a lot 

Hi Nico68er,
According to your description, you'd like to move up or down the node in TreeView.
By reseraching, I found this post in StackOverFlow is similar with your issue.http://stackoverflow.com/questions/2203975/move-node-in-tree-up-or-down
From this answer.
You can use the following extensions
public static class Extensions
public static void MoveUp(this TreeNode node)
TreeNode parent = node.Parent;
TreeView view = node.TreeView;
if (parent != null)
int index = parent.Nodes.IndexOf(node);
if (index > 0)
parent.Nodes.RemoveAt(index);
parent.Nodes.Insert(index - 1, node);
else if (node.TreeView.Nodes.Contains(node)) //root node
int index = view.Nodes.IndexOf(node);
if (index > 0)
view.Nodes.RemoveAt(index);
view.Nodes.Insert(index - 1, node);
public static void MoveDown(this TreeNode node)
TreeNode parent = node.Parent;
TreeView view = node.TreeView;
if (parent != null)
int index = parent.Nodes.IndexOf(node);
if (index < parent.Nodes.Count -1)
parent.Nodes.RemoveAt(index);
parent.Nodes.Insert(index + 1, node);
else if (view != null && view.Nodes.Contains(node)) //root node
int index = view.Nodes.IndexOf(node);
if (index < view.Nodes.Count - 1)
view.Nodes.RemoveAt(index);
view.Nodes.Insert(index + 1, node);
Child nodes will follow their parents.
You could use this class in your program.
If you want to move the node up. Call the Extensions.MoveUp(this.treeView1.SelectNode)
private void button1_Click(object sender, EventArgs e)
            if (this.treeView1.SelectedNode != null)
                Extensions.MoveUp(this.treeView1.SelectedNode);
If you have any other concern regarding this issue, please feel free to let me know.
Best regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to create a unique key using two or more attributes?

    how to create a unique key using two or more attributes ?

    The following example illustrate how to create a unique key using two or more attributes/fields
    Scenario: Implementing Unique Key on ManagerID & Location ID in DepartmentEO(Department Table)
    Step#1: Open the Desired Entity Object “DepartmentEO”. Go to Overview tab & Click “General” Finger tab.
    Step#2: Expand “Alternate Keys” section & click “+”.
    Step#3: In the Pop-up wizard, Enter a name for alternate Key “Unique_Manager_X_Location”.
    Step#4: Select the desired attributes/fields from available list & Shuffle to right side.
    Step#5: Now go to “Business Rules” finger tab.
    Step#6: Select “Entity Validators” in the list & click “+” to add a new entity level validation rule.
    Step#7: In the Pop-up, Select “Rule Type” as Unique Key
    Step#8: In the “Rule Definition” tab select the key “Unique_Manager_X_Location”created.
    Step#9: Now go to “Failure Handling” tab, and click the Magnifier Icon .
    Step#10: If the key is not already created then in the “Select Text Resource” Popup, Using the functional design document, Enter display value, Key and Description. And click “Save & Select” Button.
    Step#11: Now Click “OK”.

  • Note:304522.1 How to Move Queue Tables without using export import

    Trying to use the pkg available in Metalink "Note:304522.1 How to Move Queue Tables without using export import"
    Using the 10.1.0.x and upwards Package, I'm getting the following error on a single consumer queue table with an xmltype payload:
    SQL> exec move_aqt.move('XFORM_TEST_INT','INTERFACE_XML_QUEUE','SMALLBLOCK');
    BEGIN move_aqt.move('XFORM_TEST_INT','INTERFACE_XML_QUEUE','SMALLBLOCK'); END;
    ERROR at line 1:
    ORA-20000: ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.MOVE_AQT", line 652
    ORA-06512: at line 1
    We've tried in multiple environments, always with the same results.
    Trace file shows:
    *** 2006-11-08 10:06:47.154
    *** SERVICE NAME:(SYS$USERS) 2006-11-08 10:06:47.147
    *** SESSION ID:(379.954) 2006-11-08 10:06:47.147
    qtable move procedure starting execution at 08-11-2006 10:06:47 for queue table XFORM_TEST_INT.INTERFACE_XML_QUEUE
    qtable move procedure experienced an exception at 08-11-2006 10:06:47
    qtable move error message ORA-06502: PL/SQL: numeric or value error
    qtable move procedure ended execution at 08-11-2006 10:06:47
    Can anyone help with this? Has anyone used this before successfully (or not successfully). We urgently need this working today to test moving our queue table into a tablespace with a smaller block size for performance reasons in production.
    Thanks for the help!
    Tony

    Thank you,
    Yes we've done that. They've confirmed a problem with the links/scripts on the note. The 10.1 and up version was not really 10.1 and up.
    As they would not have a new version available in time for the move we needed to perform, we switched our approach to using dbms_redefinition instead.
    Thanks for the reply,
    Tony

  • How to change color when I using delete button?

    Hi experts,
      When I using delete button on input schedule before enter any data, it display the same color on the data range, how can fix the color after using delete button? or is it a formatting problem?
    BPC ver : 7.5 sp3 for NW
    best regard
    Evans.

    Evans,
           Is delete button custom made? i think it is possible with Formatting Range.
          check the below for advanced formatting.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70573b01-657a-2b10-a2b2-ec54bb0a9c8c?quicklink=index&overridelayout=true
    I think you need use CHANGED  as value for CRITERIA.  I don't think NW doesn't support CHANGED value for CRITERIA i guess.
    Thanks,
    Ben.

  • How to extract node value by using xpath in orchestration shape

    i want extract the node value by using xpath in expression shape in orch, then assign to variable.
    then decide shape in if branch im using check condition based nodevalue .
    str = xpath(Message_3, ("string(/*[local-name()='Root' and namespace-uri()='http://BizTalk_Server_ProjectRNd2.Schema3']/*[local-name()='no' and namespace-uri()=''])"));
    but i got below error:
    xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'BizTalk_Server_ProjectRNd2.BizTalk_Orchestration1(f3c581d3-049f-8a8a-9316-fc1235b03f99)'.
    The service instance will remain suspended until administratively resumed or terminated. 
    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
    InstanceId: 020779be-713d-408c-9ff4-fd1462c2e52c
    Shape name: Expression_1
    ShapeId: b865a3e1-7ebe-410d-9f60-8ad2139ad234
    Exception thrown from: segment 1, progress 10
    Inner exception: There is an error in the XML document.
    Exception type: InvalidOperationException
    Source: System.Xml
    Target Site: System.Object Deserialize(System.Xml.XmlReader, System.String, System.Xml.Serialization.XmlDeserializationEvents)
    The following is a stack trace that identifies the location where the exception occured
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
       at Microsoft.XLANGs.Core.Part.XPathLoad(Part sourcePart, String xpath, Type dstType)
       at BizTalk_Server_ProjectRNd2.BizTalk_Orchestration1.segment1(StopConditions stopOn)
       at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
    Additional error information:
            <no xmlns=''> was not expected.
    Exception type: InvalidOperationException
    Source: System.Xml
    Target Site: System.Object Read_string()
    The following is a stack trace that identifies the location where the exception occured
       at System.Xml.Serialization.XmlSerializationPrimitiveReader.Read_string()
       at System.Xml.Serialization.XmlSerializer.DeserializePrimitive(XmlReader xmlReader, XmlDeserializationEvents events)
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

    Hi,
    as per your  code i got below error 
    Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'BizTalk_Server_ProjectRNd2.BizTalk_Orchestration1(f3c581d3-049f-8a8a-9316-fc1235b03f99)'.
    The service instance will remain suspended until administratively resumed or terminated. 
    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
    InstanceId: f5fffb05-e6d6-4765-83da-4e6c9696dd8a
    Shape name: Expression_1
    ShapeId: b865a3e1-7ebe-410d-9f60-8ad2139ad234
    Exception thrown from: segment 1, progress 10
    Inner exception: There is an error in the XML document.
    Exception type: InvalidOperationException
    Source: System.Xml
    Target Site: System.Object Deserialize(System.Xml.XmlReader, System.String, System.Xml.Serialization.XmlDeserializationEvents)
    The following is a stack trace that identifies the location where the exception occured
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializat
    this is my schema:
      <?xml version="1.0" encoding="utf-16"
    ?>
    <xs:schema xmlns="http://BizTalk_Server_ProjectRNd2.Schema3" xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
    xmlns:ns0="https://BizTalk_Server_ProjectRNd2.PropertySchema" targetNamespace="http://BizTalk_Server_ProjectRNd2.Schema3" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:annotation>
    <xs:appinfo>
    <b:imports>
      <b:namespace
    prefix="ns0" uri="https://BizTalk_Server_ProjectRNd2.PropertySchema" location=".\PropertySchema.xsd"
    />
      </b:imports>
      </xs:appinfo>
      </xs:annotation>
    <xs:element name="Root">
    <xs:annotation>
    <xs:appinfo>
    <b:properties>
      <b:property
    name="ns0:no" xpath="/*[local-name()='Root' and namespace-uri()='http://BizTalk_Server_ProjectRNd2.Schema3']/*[local-name()='no' and namespace-uri()='']"
    />
      </b:properties>
      </xs:appinfo>
      </xs:annotation>
    <xs:complexType>
    <xs:sequence>
      <xs:element
    name="no" type="xs:string" />
      <xs:element
    name="name" type="xs:string" />
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:schema>

  • How do I search a site using radio buttons

    I am trying to search a site using radio buttons. I have one table and 5 columns. I have 5 radio buttons marked like 01, 02, 03,04,05. I am using Dreamweaver cs5 php, when I click the radio button 01 I will like to get the response with all 01 files. I will like to mention that the file names are like 01-010-1, 01-010-2 and than 02-020-1 and so fourth I do not know how to write the advance query
    This is what I have
    SELECT QBF, ADDRESS, NATSO, TSOCNT, PDF (this re my db columns)
    FROM alldwgs (this is my table)
    WHERE QBF like %colname% (this is the column that contains the file names 01-010-1 etc)
    ORDER BY QBF ASC
    I don’t know what to write on the variable box
    Name: colname
    Type: text
    Default value: 01
    Run time value: $_GET['QBF']
    I hope that you understand my question I am new to this. Thank you very much for your response

    Thank you for your reply.  I am new to editing a pdf and using these programs. I have subscribed to Acrobat XI Pro.  When I try to edit the document it directs me to LiveCycle.  I cannot move the table in LiveCycle.  It won't let me, and I cannot make changes in XI Pro as I did in the trial as it directs me to edit in LiveCycle.  Am going in circles.

  • Help!  GUI using two buttons

    Hello all:
    I have created a class for reading and writing to a text file on my hard drive. Also, I have created another class for a GUI to use for opening the text file with a button labeled Display. As you will see in the code below, I have created another button labeled Update. I seek to be able to edit and save the text directly in the text area with the Update button after opening the file with the Display button. Any help would be greatly appreciated. Thanks!
    /** Class TextFile */
    import java.io.*;
    public class TextFile
        public String read(String fileIn) throws IOException
            FileReader fr = new FileReader(fileIn);
            BufferedReader br = new BufferedReader(fr);
            String line;
            StringBuffer text = new StringBuffer();
            while((line = br.readLine()) != null)
              text.append(line+'\n');
            return text.toString();
        } //end read()
        public void write(String fileOut, String text, boolean append)
            throws IOException
            File file = new File(fileOut);
            FileWriter fw = new FileWriter(file, append);
            PrintWriter pw = new PrintWriter(fw);
            pw.println(text);
            fw.close();
        } // end write()
    } // end class TextFile
    /** Class TextFileGUI */
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class TextFileGUI implements ActionListener
        TextFile tf = new TextFile();
        JTextField filenameField = new JTextField (30);
        JTextArea fileTextArea = new JTextArea (10, 30);
        JButton displayButton = new JButton ("Display");
        JButton updateButton = new JButton ("Update");
        JPanel panel = new JPanel();
        JFrame frame = new JFrame("Text File GUI");
        public TextFileGUI()
            panel.add(new JLabel("Filename"));
            panel.add(filenameField);
            panel.add(fileTextArea);
            fileTextArea.setLineWrap(true);
            panel.add(displayButton);
            displayButton.addActionListener(this);
            panel.add(updateButton);
            updateButton.addActionListener(this);
            frame.setContentPane(panel);
            frame.setSize(400,400);
            frame.setVisible(true);
        } //end TextFileGUI()
        public void actionPerformed(ActionEvent e)
            String t;
            try
                t = tf.read(filenameField.getText());
                fileTextArea.setText(t);
            catch(Exception ex)
                fileTextArea.setText("Exception: "+ex);
            } //end try-catch
        } //end actionPerformed()
    } //end TextFileGUI

    Swing related questions should be posted in the Swing forum.
    You are using the same ActionListener for both buttons, so you need to be able to tell which button was pressed. There are a couple of ways to do this:
    a) use the getSource() method of the ActionEvent and compare the source against your two buttons to see which one was pressed and then invoke the appropriate code.
    Object source = e.getSource();
    if (source == displayButton)
        //  do display processing
    else if (source == updateButton)
        //  do update processingb) Check the action command to determine which button was clicked. This approach is demonstrated in the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/button.html]How to Use Buttons
    Another option is to create separate ActionListeners for each button so there is no confusion
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    class TextAreaLoad
         public static void main(String a[])
              final JTextArea edit = new JTextArea(5, 40);
              JButton read = new JButton("Read some.txt");
              read.addActionListener( new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        try
                             FileReader reader = new FileReader( "some.txt" );
                             BufferedReader br = new BufferedReader(reader);
                             edit.read( br, null );
                             edit.requestFocus();
                        catch(Exception e2) { System.out.println(e2); }
              JButton write = new JButton("Write some.txt");
              write.addActionListener( new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        try
                             FileWriter writer = new FileWriter( "some.txt" );
                             BufferedWriter bw = new BufferedWriter( writer );
                             edit.write( bw );
                             edit.setText("");
                             edit.requestFocus();
                        catch(Exception e2) {}
              JFrame frame = new JFrame("TextArea Load");
              frame.getContentPane().add( new JScrollPane(edit), BorderLayout.NORTH );
              frame.getContentPane().add(read, BorderLayout.WEST);
              frame.getContentPane().add(write, BorderLayout.EAST);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }

  • How to make Visible and Invisible using a Button?

    hi!... I've a Text3D using Oriented3D object and I would like to know how to make it visible and invisible by clicking a button.
    I know there is a function, setVisible() in RenderingAttributes, which can be set by the object's Appearance.
    Since I want to use a button to change the object's appearance, I need to change it in the button's actionPerformed function, but it has thrown an exception:
    "Shape3D: no capability to set appearance".
    I'd tried using those setCapability flags... but still nothing...
    Could someone help me please?...
    Thanks

    When you create Shape3D, setAppearance to it and
    setCapability(ALLOW_APPEARANCE_READ).
    For the Appearance, you should setCapability(
    ALLOW_RENDERING_ATTRIBUTES_READ).
    For the RenderingAttributes, you should setCapability(
    ALLOW_VISIBLE_WRITE).
    So in the button event handler,
    shape.getAppearance().getRenderingAttributes().setVisible(true/false).
    Now you can control the visiblity of Text3D

  • How to move folders and files using UJFS

    Hi guys,
    I need to move from one environment to another the folders and files in the structure, cause the backup / restore (UJBR) doesn't move that part, now I need to know how to do it in the transaction UJFS . ( I'm using SAP BPC 7.5 NW Patch 8)
    Thanks for your help.
    Cheers,
    Rodrigo

    Thanks for your answer,
    In this case, I'm going to move the files and folders from one server to another, so it's not the scenario you mentioned.
    Cheers,
    Rodrigo

  • How to create a script logic using two applications and some conditions?

    Hi All,
    I am using BPC 7.0 MS
    I have two applications, one called RATE (Dimensions: Category, InputCurrency, Rate, RateEntity, Time) and one called GYP (Dimensions: Category, Entity, PL, Producto, RptCurrency, Time. In the GYP application for Revenues. I have the followings products:
    Product code
    1-808-912-433
    3-208-345-542
    11-869-789-946
    13-456-786-890
    I need to calculate a discount using the first digits to identify the product: 1, 3, 11 and 13, based on some percentages that are in the RATE application. 
    I have an element in the RATE application for each one of them.
    DPC1
    DPC3
    DPC11
    DPC13
    What I am trying to do in the script logic is:
    *XDIM_MEMBERSET PL=Revenues
    *XDIM_MEMBERSET PRODUCTO=<ALL>
    *XDIM_MEMBERSET ENTITY=<ALL>
    *XDIM_MEMBERSET CATEGORY=Budget
    *LOOKUP RATE
    *DIM D1:RATE ="DPC1"
    *DIM D11:RATE ="DPC11"
    *DIM D3:RATE ="DPC3"
    *DIM D13:RATE ="DPC13"
    *DIM RATEENTITY="Global"
    *DIM INPUTCURRENCY="VEB"
    *ENDLOOKUP
    *WHEN PL
    *IS Revenues
    *REC(FACTOR=LOOKUP(D1), PL=Discount)
    *ENDWHEN
    *COMMIT
    In the WHEN area, i would like to create some condition to identify the product and assign the correct percentage to it but i don't know how to do it?
    Do you have any suggestions?
    Also, because i need to key the values in the RATE application for the discounts, the logic should be run from this application?
    Using RUNLOGIC like this:
    *RUNLOGIC
    *APP GYP
    *LOGIC Discounts
    *ENDRUNLOGIC
    Best regards,
    Luisana

    Hi Nilanjan,
    Thanks for your prompt reply.
    The special characters ("-") cannot be used. The product codes use the special character ("_").
    I understand what you said about the property for the dimension Product but not for the dimension Rate. I have the lookup that has the four elements (DPC1, DPC11, DPC3, DPC13). It is not supposed to get the data from those elements directly when using the lookup?
    The script logic is still not working. I created the dimension property in the product dimension and the new script logic is as follows:
    *XDIM_MEMBERSET PL=Revenues
    *XDIM_MEMBERSET PRODUCT=<ALL>
    *XDIM_MEMBERSET ENTITY=<ALL>
    *XDIM_MEMBERSET CATEGORY=Budget
    *LOOKUP RATE
    *DIM D1:RATE ="DPC1"
    *DIM D11:RATE ="DPC11"
    *DIM D3:RATE ="DPC3"
    *DIM D13:RATE ="DPC13"
    *DIM RATEENTITY="Global"
    *DIM INPUTCURRENCY="VEB"
    *ENDLOOKUP
    *WHEN PRODUCT.TYPE
         *IS 1
              *REC(FACTOR=LOOKUP(D1), PL=Discount)
         *IS 11
              *REC(FACTOR=LOOKUP(D11), PL=Discount)
         *IS 3
              *REC(FACTOR=LOOKUP(D3), PL=Discount)
         *IS 13
              *REC(FACTOR=LOOKUP(D13), PL=Discount)
    *ENDWHEN
    *COMMIT
    Could you let me know what i am doing wrong?
    The calculation i would like to get is: Discount = Revenues(GYP) X DPCx(RATE)
    Also, when I sent the data from the rate application I get the message "ExecuteBaseLogic::invalid application:*APP GYP". I am using a RUNLOGIC in the application RATE with the following code:
    *RUNLOGIC
    *APP GYP
    *LOGIC Decto_en_vtas_pilot
    *ENDRUNLOGIC
    Kind Regards,
    Luisana

  • URGENT : how to change the report to use two date sets

    Hi,
    I have a summary report with the name of the sales agents and their total sales for the period from so and so. Now I need to run the same report to be able to see their total sales but from two set of dates, for eg. the same report for 2006 and 2007, side by side to compare the sales done by these agents.. to get an idea if their performance is improving, etc. How do I do this??
    The report already has two parameters date1 and date2, so in this I can give the date as from 01-JAN-2006 to 31-MAR-2006. But in the same report, I also need the total sales from 01-JAN-2007 to 31-MAR-2007, so that it can be compared.
    Please advise. Its urgent. Its for the chairman.
    Thx.

    Hi,
    I have a summary report with the name of the sales agents and their total sales for the period from so and so. Now I need to run the same report to be able to see their total sales but from two set of dates, for eg. the same report for 2006 and 2007, side by side to compare the sales done by these agents.. to get an idea if their performance is improving, etc. How do I do this??
    The report already has two parameters date1 and date2, so in this I can give the date as from 01-JAN-2006 to 31-MAR-2006. But in the same report, I also need the total sales from 01-JAN-2007 to 31-MAR-2007, so that it can be compared.
    Please advise. Its urgent. Its for the chairman.
    Thx.

  • How do I get my sections using two-page spreads to start on the right side of the spread?

    (I use Indesign CC 2014, on Windows 7)
    My book has multiple sections.
    Each section is a separate file.
    All pages use  2up master pages.
    If all sections had an even number of pages, there would be no issue. But some end on a left page (left side page of spread).
    Therefore, some sections needs to start their first page on the right side of spread.
    I need to output PDFs for production, and due to content fluctuation the quantity of pages in each spread is random.
    Do I have to manage whether each section starts on the left or right of the spread manually?
    Here's an example:
    Once the PDF is output, I need the first page of Section 2 to automatically be where the pink rectangle is.
    Instead, the last page of Section 1 and the first page of Section 2 both use the left facing page of my 2up master pages.

    FYI, in western left-to-right-reading languages, books are expected to be numbered with odds on the right and evens on the left. If you want to start a new section on a left page after a section that ends on a left page, what most people would do is add a blank right page. You will often see such a page labeled something like "This page has been intentionally left blank." or maybe just an ornament to show that it wasn't a misprint. That is preferred to numbering a left page with an odd number.

  • How to move to next keyframe using arrows?

    Hi all,
    I want to be able to use the UP and DOWN arrow keys (or any keys, really) to navigate to the next keyframe in the timeline, the same way I navigate to the next/previous clip on the timeline. Final Cut can do this, is it possible in Premiere Pro? Using CS6.

    The keyboard preferences and hence the existing available shotcuts are freely customisable by the user.
    You can make the keys you want the shortcuts provided keyframe navigation is listed, type keyframe in the search box
    If it is not there you are stuck, CS6 will not be updated with migration to the CC now the Adobe way

  • How can i set the space between two button?

    Hello,
    I have
    <mx:HBox>
    <mx:Button label="one" />
    <mx:Button label="two" />
    </mx:HBox>
    how can i set the distance between this two compotents?
    Thanks

    quote:
    Originally posted by:
    robinbouc77
    Hi,
    you can use horizontalGap property on HBox to change the
    space between your buttons. I think the default value is 6. You can
    also use <mx:Spacer/>, but changing the gap on HBox is
    probably the cleanest way ;)
    C U
    perfect!!! works fine

  • Is it possible to use two buttons on a master page to link to consecutive pages i.e. previous or next

    The easiest way to explain what I am attempting to achieve is to create a navigation template on the master page, with two identical arrows, one pinned to the left side, and one to the right, along with a basic 3 button navigation for; home - table of contents - end for example.
    The idea behind the arrows is that if on my "Plan" tab in Muse, I have all pages within the site in consecutive order from left to right and everytime I change the image that represents the previous or next, I have to go through every page, delete the source image, add the source image to every page (50+ pages) and then link each page individually to the next page in the order.
    Any help would be greatly appreciated.
    Jeff

    I produce a 300-page magazine twice a year that uses next/previous links. Unfortunately master items can't be edited on individual pages. My solution is to edit the HTML after the export. Too bad overrides don't work as they do in InDesign.
    In Muse you could create the arrows on an editable page, then copy/paste-in-place on the rest of the pages and edit the links on each page. Isolate them on a separate locked layer above the regular page content so they don't get moved accidentally.
    Julie

Maybe you are looking for

  • How to drag a file into a folder

    hi-this is kind of basic, but could someone please tell me the easiest and quickest way to drag a file [say a Pages document] into a folder. like if you write a draft of an email in Pages, and then you want to stash it in a folder called 'letters'. t

  • X11.app won't open

    I have a problem trying to use X11.app. When I double-click the icon, it looks as though the application will start, but nothing appears on my screen. X11 appears in the process list, but not in my dock or as a process I can command-tab to. Any thoug

  • 10.4.10 problem running with lid closed

    Installed 10.4.10 last night, and now I'm having a problem running with the lid closed. Every day at work, I connect my PowerBook G4 1.33GHz to an external display and USB keyboard/mouse (through a USB hub). I have plenty of room on the external disp

  • DropDown in run-time

    I need click in button and add in run-time text "XXXX" in dropDown Thank's

  • Componet changing by mousemotionlistener

    I am trying to make two JLabels text change to show the x and y coords of a JPanel. The program works in the System.out line, but shows errors when trying to change the JLabels. Can this be done? Below is my code: import javax.swing.*; import java.aw