LinkedButton object in a text field

Hi all!
I want to create a text field with a linked button (the orange arrow). When I click the arrow I want to see the item list an when I double click an item in the list, I want to insert the itemcode in my text field.
I tried so
frm.Items.Add("link",it_LINKED_BUTTON)
frm.Items.Add("Edit", it_EDIT)
frm.Items.Item("Link").LinkTo = "Edit"
flecha = frm.Items.Item("link").Specific()
flecha.LinkedObject=lf_Items
but it doesn't work!
Can you help me?
Thank you very much in advance for your help.
Kind regards,
Veronica Vezzali

Hi Veronica,
unluckly i don't think that's the right way to do ehat you want.
The "linked button" is a navigation button, so if you have an item code in the text field you can click the arrow and open the item master data.
A "search form" must be created manually:
- create a "search button"
- catch the clink on the button and open a "search form"
- create the search form and fill it with the right query
- catch the "double click", close the "search form" and send the selected item code to the starting text field.
I think it's the only way to do it.
Hope this helps.
Kind regards,
Fabio Salucci

Similar Messages

  • Laying text fields on top of a graphic

    I thought the reason to use Fireworks was it's enhanced image
    compatibility with Dreamweaver.
    Is there a trick to laying a form object like a text field on
    top of a Fireworks image that was imported into dreamweaver as
    HTML?
    Thanks
    jerry H

    And either approach is troublesome, which is why you don't
    often see it done
    by experienced developers.
    Change the text size in the browser, and both methods can
    break your careful
    alignment.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "P@tty Ayers ~ACE"
    <[email protected]> wrote in message
    news:fluolr$d5m$[email protected]..
    >
    > "dream_kitchen" <[email protected]>
    wrote in message
    > news:flum2q$amb$[email protected]..
    >>I thought the reason to use Fireworks was it's
    enhanced image
    >>compatibility
    >> with Dreamweaver.
    >
    > It is. But once the image is brought into an HTML page
    (in Dreamweaver, or
    > any editor), it still has to fit within the way HTML
    works. You generally
    > can't just stack things on top of each other in HTML.
    >
    >> Is there a trick to laying a form object like a text
    field on top of a
    >> Fireworks image that was imported into dreamweaver
    as HTML?
    >
    > There are two ways I know of that you could do that. (1)
    Make the image
    > into a background image, or (2) put the text field in an
    absolutely
    > positioned div ("layer") on top of the image.
    >
    >
    > --
    > Patty Ayers | Adobe Community Expert
    > www.WebDevBiz.com
    > Free Articles on the Business of Web Development
    > Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    > --
    >
    >

  • How can I embed a text field inside a text object in a fillable form?

    I am a new user of LiveCycle and am slowly figuring things out.  I don't really understand any of the scripts-- thatlevel is way beyod me.  I am hoping that someone can tell me an easy way to insert a fillable text field into a text object.  I have been assigned a huge project of converting some very old Word forms into fillable PDF forms.  I have done okay with many of them, but ran into a snag with some of the form letters that our employees need to fill out.  Basically, there is a block of text (the body of the letter) in which employees will need to be able to type in a date that the recipient of the letter must respond by.  I have read up on floating fields and thought that was the solution to my problem, but it seems that floating fields are really just meant to be filled from a data source rather than having info typed into them.
    Can anyone help-- I am desperate at this point. There has to be an easy way to insert a fillable text field object or a Date/Time object into a block of text so that the surrounding text will expand and contract around the length of the date entered (this is important, as many of these letters pertain to legal matters and cannot have blank spaces in them).

    Hi,
    You can split your text object into different parts and place text fields inbetween the parts. With a little manuvering, you can make it look good.
    An alternative is to place text field(s) outside the letter body (and set the visibilaty to screen only). Use these to populate the floating field.
    or
    script the external text fields (or the subform containing them) to be "hidden" using the "Preprint" event, then revealing them ("visible") again using the "Postprint" event.
    Hope this helps, good luck!
    Stephen

  • Looking for a tool to search text fields in about 1000 reports installed on Business Objects Xi R3

    Hi,
    i am looking for a tool, program that can search all our reports installed on Business Objects Xi R3 for specific content in text fields and formulas.
    We used a couple of years ago .rpt inspector, that worked pretty well for our purpose.
    Unfortunately  this is Win XP & Win Server 2003 only, so we can't reuse it anymore.
    (I know there are way of getting WinXP that in a VMware, but that is not an option in our company.)
    So i am interested , if there is another tool out there, which can help us?
    regards Alex
    btw we are using Business Objects XI R3 (SP7) with reports deisgned on crystal reports designer 2008

    Hi,
    i am looking for a tool, program that can search all our reports installed on Business Objects Xi R3 for specific content in text fields and formulas.
    We used a couple of years ago .rpt inspector, that worked pretty well for our purpose.
    Unfortunately  this is Win XP & Win Server 2003 only, so we can't reuse it anymore.
    (I know there are way of getting WinXP that in a VMware, but that is not an option in our company.)
    So i am interested , if there is another tool out there, which can help us?
    regards Alex
    btw we are using Business Objects XI R3 (SP7) with reports deisgned on crystal reports designer 2008

  • Text Field String to Object problem

    Hi,
    i am trying to search a vector called mainStaffDataBase for a staff members name, found by getName();
    Now thats all good an well, but here is the tricky part (for me)
    i have another vector called mainUnitDataBase, in which unit names are stored. To create a new unit, the constructor needs to be used liked this Unit(String unitName, Staff staffName);
    What i am trying to do is by searching the mainStaffDataBase for a staff member, to reference that staff member's object in creating the new unit.
    In the code: staff_field is the name of a text field which the user inputs the name which they wish to associate the unit with.
    This is the code i currently have.
    1. for (int i = 0; i < Uni.mainStaffDataBase.size(); i++){
    2. Staff staffMem = (Staff)Uni.mainStaffDataBase.elementAt(i);
    3. if (staff_field.equals(staffMem.getName())){
    4. staffMem = staff_field;
    5. }
    6. }
    7. Unit newUnit = new Unit(unit_field.getText(), staffMem);
    8. Uni.mainUnitDataBase.add(newUnit);
    The error i am getting is "incompatible types" on line 4.
    Im not too sure how to go about changing the name of the staff member because the constructor requires a Staff object be passed, and not a string.
    Any help would be much appreciated.
    cheers
    AnniHilatE
    Edited by: AnniHilatE on Oct 18, 2007 7:04 PM

    1) staffMem is a Staff object. staff_field is a String. You can't try to set one equal to the other.
    2) If staff_field.equals(staffMem.getName( )) you don't have to set staffMem = to anything. It already references the correct Staff object. You may want to set something else = to staffMem though, another Staff variable that is declared outside of the for loop. This is what you should use in your Unit initialization code.
    something like so:
            Staff staffFound = null;
            for (int i = 0; i < Uni.mainStaffDataBase.size(); i++)
                Staff staffMem = (Staff)Uni.mainStaffDataBase.elementAt(i);
                if (staff_field.equals(staffMem.getName()))
                    // staffMem already == the correct object. 
                    // now just have to be able to use it.
                    staffFound = staffMem; 
            if (staffFound != null)
                Uni.mainUnitDataBase.add(new Unit(unit_field.getText(), staffFound));
        Also, when posting your code, please use code tags so that your code will be well-formatted and readable. To do this, either use the "code" button at the top of the forum Message editor or place the tag &#91;code&#93; at the top of your block of code and the tag &#91;/code&#93; at the bottom, like so:
    &#91;code&#93;
      // your code block goes here.
    &#91;/code&#93;

  • Repeat Text Field Value on Master page

    This might be a really simple question. I have a form with two master pages. The second is applied to all but the first page. On the second master page I have a text field that I populate with user entered data from a text field. I want this value to show on all pages after the first page (page 2 to n). It shows up with the value on page 2, but all the rest have a blank value. Do I need to script something to make it repeat for all pages? Any help would be appreciated.

    The simpliest method would be:
    Under the Object tab, select Binding, and change the Default Binding to Global. The TextFields you create must have the same name, and Global binding will populate all the fields.

  • Unable to clear text Field in Multi Screen JFrame GUI Application

    i am working with a Swing GUI project where I want to accept user input in a
    text field
    I have used singleton pattern which will create only one instance of object
    due to this when i move from one scree to another the input of textfield
    doesnt updated I have used setText method to clear the JTextField but it wont
    works
    Program one -- 1st screen
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    import java.awt.event.*;
    import javax.swing.JTextField;
    public class Frame1 extends JFrame
    public static Frame1 frame1;
    public JButton button;
    public JTextField input;
    public static Frame1 getInstance()
    if(frame1==null)
    frame1 = new Frame1();
    return frame1;
    public JButton getJButton(String mytext)
    JButton button = new JButton();
    button.setText(mytext);
    button.setBounds(450,450,150,50);
    return button;
    public void myGUI()
    JPanel panel = new JPanel();
    panel.setLayout(null);
    button = getJButton("1st Frame");
    addActionListener(button);
    input = new JTextField(10);
    input.setBounds(200,300,100,30);
    panel.add(input);
    panel.add(button);
    add(panel);
    setUndecorated(true);
    setSize(1024, 768);
    setVisible(true);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    public void addActionListener(Object obj)
    try{
    JButton button1 = (JButton)obj;
    button.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae)
    String text = "";
    input.insert("", 0);
    Frame2.getInstance().myGUI();
    Frame2.getInstance().repaint();
    dispose();
    catch(Exception e1)
    System.out.println("Exception==> "+e1.toString());
    public static void main(String[] args)
    Frame1.getInstance().myGUI();
    Frame1.getInstance().repaint();
    program 2 - 2nd screen
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    import java.awt.event.*;
    import javax.swing.JTextField;
    public class Frame2 extends JFrame
    static Frame2 frame2;
    public JButton BackButton;
    public JTextField input;
    public static Frame2 getInstance()
    if(frame2==null)
    frame2 = new Frame2();
    return frame2;
    public JButton getJButton(String mytext)
    JButton button = new JButton();
    button.setText(mytext);
    button.setBounds(450,450,150,50);
    return button;
    public void addActionListener(Object obj)
    try{
    JButton BackButton1 = (JButton)obj;
    BackButton.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    input.setText("");
    Frame1.getInstance().myGUI();
    Frame1.getInstance().repaint();
    dispose();
    catch(Exception e2)
    System.out.println("Exception==> "+e2.toString());
    public void myGUI()
    JPanel panel2 = new JPanel();
    panel2.setLayout(null);
    BackButton = getJButton("2nd Screen");
    addActionListener(BackButton);
    input = new JTextField(10);
    input.setBounds(200,300,100,30);
    panel2.add(input);
    panel2.add(BackButton);
    add(panel2);
    setUndecorated(true);
    setSize(1024, 768);
    setVisible(true);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    In this application the status of TextField input remain same means it shows
    the earlier input in the textfield wnen I come to earlier or next screen.
    what is the solution to clear the TextField input while moving from 1st
    scrren to 2nd screen.

    multiple screens = multiple posts
    well done indeed - just another farking cross-poster
    [http://www.coderanch.com/t/492998/Swing-AWT-SWT-JFace/java/unable-clear-text-box-Multi#2218566]

  • Adding user-defined number of text fields.

    Okay I am having problems, obviously. I am developing a program where the user will enter X and Y values and the program will calculate the relational data. However, I can't even get a start.
    First of all, the user defines the number of pairs of points they want to define. For example, they have 20 points, each with its own X and Y, so they click on 20 and then okay in the first window.
    The next window will then take their answer and display X and Y text fields for as many points as they defined. However, I can't figure out any way to do this.
    Feel free to run the program, the problem lies in the method setTextFields(). Help please!
    import javax.swing.*;               //FOR SWING COMPONENT CLASSES
    import java.awt.*;                  //FOR CONTAINER CLASS
    import java.awt.event.*;            //FOR EVENT HANDLING
    public class RegressInput extends JFrame
        private JComboBox listJComboBox;        //COMBO BOX TO HOLD HOW MANY PAIRS OF DATA POINTS THE USER HAS TO ENTER
        private JButton answerButton;           //BUTTON TO CLICK AFTER SELECTING PAIRS OF DATA POINTS
        private JPanel textFieldTopPanel;       //TEXT FIELD TOP PANEL
        private JPanel textFieldBottomPanel;    //TEXT FIELD BOTTOM PANEL
        private JPanel textFieldPanel;           //TEXT FIELD PANEL   
        private CardLayout cardSelector;        //DECLARE CARD LAYOUT OBJECT   
        private JPanel cardDeck;                //DECLARE CARD PANEL OBJECT
        public RegressInput(String title)
            super(title);               //CALL SUPERCLASS CONSTRUCTOR
            //CREATE A CONTAINER
            Container container = getContentPane();
            //INSTANTIATE CARD LAYOUT OBJECT
            cardSelector = new CardLayout();
            //INSTANTIATE PANEL OBJECT
            cardDeck = new JPanel();
            //SET LAYOUT OF CARD DECK PANEL TO CARD LAYOUT
            cardDeck.setLayout(cardSelector);
            //DEFINE LABEL FOR FIRST CARD
            Label question = new Label("How many PAIRS of data would you like to enter?");
            //BUTTON TO SUBMIT NUMBER OF POINTS TO PLOT
            answerButton = new JButton("OK");
            listJComboBox = new JComboBox( getArray() );//USE getArray() METHOD TO SET ITEM LIST OF THE COMBO BOX
            listJComboBox.setMaximumRowCount(10);       //SETS THE VISIBLE NUMBER OF ITEMS TO THE USER
            Label xValues = new Label("X Values");      //LABEL FOR X values
            Label yValues = new Label("Y Values");      //LABEL FOR Y values
            //BUILD CARD DECK
            JPanel comboBoxCard = new JPanel();     //CREATE FIRST CARD
            comboBoxCard.add(question);             //ADD question LABEL TO FIRST CARD
            comboBoxCard.add(listJComboBox);        //ADD listJComboBox TO FIRST CARD
            comboBoxCard.add(answerButton);         //ADD answerButton TO FIRST CARD
            textFieldTopPanel = new JPanel();       //CREATE TOP PANEL OF SECOND CARD
            textFieldTopPanel.add(xValues);         //ADD xValues Label TO SECOND CARD
            textFieldTopPanel.add(yValues);         //ADD yValues Label TO SECOND CARD
            textFieldBottomPanel = new JPanel();    //CREATE BOTTOM PANEL OF SECOND CARD
            textFieldBottomPanel.setLayout(new FlowLayout(FlowLayout.CENTER,10,10));    //SET LAYOUT FOR BOTTOM PANEL
            textFieldPanel = new JPanel();          //CREATE PANEL FOR SECOND CARD
            textFieldPanel.setLayout(new BorderLayout(10, 10)); //SET LAYOUT FOR SECOND CARD
            textFieldPanel.add(textFieldTopPanel, "North"); //ADD textFieldTopPanel TO NORTH
            textFieldPanel.add(textFieldBottomPanel, "South");  //ADD textFieldBottomPanel TO SOUTH
            cardDeck.add(comboBoxCard, "Step 1");       //ADD FIRST CARD TO DECK
            cardDeck.add(textFieldPanel, "Step 2");     //ADD SECOND CARD TO DECK
            container.add(cardDeck);                    //ADD CARD DECK TO CONTAINER
            //DEFINE BUTTON HANDLER OBJECT
            ButtonHandler buttonHandler = new ButtonHandler();
            //ADD ACTION LISTENER FOR BUTTONS
            answerButton.addActionListener(new ButtonHandler());
        }//END RegressInput() CONSTRUCTOR
        //METHOD TO CREATE AND RETURN AN ARRAY OF VALUES FOR JComboBox
        private String[] getArray()
            //CREATE ARRAY TO HOLD 30 VALUES
            int numbers[] = new int[29];
            //CREATE int IN ORDER TO START THE ARRAY AT 2 INSTEAD OF 1
            int number = 2;
            //ASSIGN VALUES FROM 2 TO 30 TO numbers[] ARRAY
            for(int count=0; count < 29; ++count)
                numbers[count] = number;        //SETS EACH INDEX TO number
                number++;                       //INCREMENTS number
            }//END for LOOP
            //CREATE pairs[] ARRAY TO HOLD 30 STRINGS
            String pairs[] = new String[29];
            //ASSIGN VALUES 1 TO 30 IN STRING ARRAY FOR COMBO BOX
            for(int count = 0; count < 29; ++count)
                pairs[count] = "" + numbers[count];
            }//END for LOOP
            return pairs;//RETURNS pairs[] ARRAY FOR THE LIST ITEMS IN listJComboBox
        }//END getArray() METHOD8
        //RETURNS THE ITEM SELECTED BY THE USER FROM THE JComboBox
        private int getValue()
            //ASSIGNS STRING VALUE OF THE JComboBox TO A WRAPPER
            Integer v = new Integer((String) listJComboBox.getSelectedItem());
            //ASSIGNS WRAPPER VALUE TO int
            int value = v.intValue();
            //RETURN VALUE OF SELECTED ITEM
            return value;
        }//END getValue()
        private void setTextFields()
        {//HERE LIES THE PROBLEM! WHAT GOES IN THIS METHOD????
            for(int count = 0; count < (2 * getValue()); ++count)
        }//END setTextFields()
        //BUTTON EVENT HANDLER CLASS
        private class ButtonHandler implements ActionListener
         //PROCESS EVENT
            public void actionPerformed(ActionEvent e)
                //WHICH BUTTON CAUSED THE EVENT?
                if(e.getSource() == answerButton)
                    cardSelector.last(cardDeck);
                    cardDeck.setSize(600,600);
                }//END if STATEMENT
            }//END actionPerformed()
        }//END ButtonHandler CLASS
    }//END RegressInput CLASSHere is main:
    import javax.swing.JFrame;
    public class TestSharpStats
         public static void main(String[] args)
            //DEFINE FRAME OBJECT
            RegressInput window = new RegressInput("Hi");     //SETS TITLE BAR
            window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);      //CLOSES WINDOW
            window.setSize(400, 600);    //SET FRAME SIZE
            window.setResizable(true);  //PREVENTS USER FROM RESIZING WINDOW
            window.setVisible(true);     //SETS window TO VISIBLE
        }//END main()
    }//END TestSharpStats CLASS

    muit-post: http://forum.java.sun.com/thread.jspa?messageID=4442652

  • Expanding text fields not co-operating

    I created a new form that spans over 2 pages and saved it as a dynamic PDF. I'm trying to allow for the text fields to expand as the user types beyond the intial size of the field. The field is set to "Expand to Fit". I have several sections of the form all separated by text headings. I have tried to wrap each section in a subform (set to "Flowed"), then wrap all the subforms to a larger subform (set to "Flowed").
    The problems that I'm encountering is each section that is wrapped in a subform looses the placement and whitespace between fields of all the fields and brings them in tight to each other. Then when i wrap all the subforms into one larger subform (set to "flowed"), my text headings and other text get rearranged and I can't change the order of reposition them with the white space.
    Below is a picture of my form in the nice tidy format that I'd like to keep. Then a picture of how it looks with each section in a subform and all of those subforms in a larger subform.
    Any help would be greatly appreciated!
    Before
    After

    Hi,
    Moving to Flowed layouts can be a pain. When you change to Flowed type, all of the objects are positioned from top left, based on the order in the hierarchy.
    You will need to adjust the objects margins in order to space them out.
    First I would adjust the content area on the Master Page, so that you have your margins in the right distance from the left (and top, bottom and right).
    See some examples here:
    Objects in flowed forms: http://assure.ly/e2jR0C
    Explore difference between flowed and positioned subforms: http://assure.ly/eSGQMt
    Some aspects for laying out objects: http://assure.ly/ewrLMo.
    Master pages and content areas: http://assure.ly/g0Wx7r.
    Another thing, when working with textfields (and other objects) you can set the caption to appear above the value area (go to the Layout palette). This means that you will only be dealing with one object instead of two (currently you have a text object and a textfield).
    If things are still out of order, then drag them into the correct order in the hierarchy and they will be in the right order on the page.
    Hope that helps,
    Niall

  • Expanding text field to hold data

    This sounds like a pretty simple problem, but... I have created a form using Designer that consists for 4 text boxes that span the width of the page. We are using a middleware product, LogiXML, to populate the form. We have successfully accomplished getting the data to appear in the text fields, but the data is being cut of because of the size of the boxes. I have selected the check box to allow the box to expand and to allow mutiple lines. This doesn't seem to have any effect. Am I missing something here?
    Thanks.

    The only field type that'll let you have multiple lines of text is a text edit. With that object, you can check the
    Allow multiple lines property on the Object palette's Field tab and check the
    Expand Height (in your case since the text fields are side-by-side) property on the Layout palette.
    The combination of these two properties should get you text fields which display their content in total visibility.
    If that still doesn't work, then it's possible you haven't saved your form as a
    Dynamic PDF form (or, if you've saved your form as XDP, that you aren't previewing it as a Dynamic PDF form).
    If you think your problem is the preview type (i.e. you're not previewing as a dynamic PDF), the following entry on my blog should help you out:
    Previewing as Dynamic PDF.
    Stefan
    Adobe Systems
    You can set the default preview type (for unsaved files) in the "Tools | Options" menu on the
    page and you can set the preview type for saved files in the "File | Form Properties" menu's
    Defaults page.

  • Expanding text field in table

    Hi,
    I’m pretty inexperienced with Live Cycle and was hoping I could get some help using text fields within a table.
    I’m creating a form with a table into which the user enters information. I’d like the row height in the table to adjust to the amount of text entered into the text field so as that if necessary the table will expand onto a subsequent page.
    The table exists within a subform and the text fields exist with in the table. In searching this forum I seen talk of dynamic tables but not sure how to achieve this.
    Any help would be much appreciated.
    Thanks
    Graeme

    To make the textfields grow you need to select 'Expand to Fit' under height in the Layout tab. In terms of going onto another page you need to select 'Allow Page Breaks within Content' in the Object>Field tab and make sure your subform is flowed not positioned.

  • Expanding text fields to fit text

    I have a customer who would like to be able to put large amounts of text into a text field and have it all print. The amount of text can vary, so he would like to have a box where he can enter the text and have the box size adjust to the amount of text entered, even to the point of adding extra pages if necessary. I have tried using the Expand to Fit option, but all that seems to do it allow the text to scroll while the box stays the same size. Is this something that is even possible? If so, how? Thanks.

    Hi there,
    Usually the "Expand to Fit" option under the Height property of the object is what you need.
    You also would have to make sure that your text field is "Allow Multiple Lines" & Field Format set to "Rich Text"
    Parents objects (subforms & page) are "Allow Page Breaks Within Content" and the Content set to "Flowed"
    And once those settings are set make sure that your text field is Expand to Fit on the Height property!
    Hope this help!

  • Expanding text fields side-by-side in a 2 column layout

    Hi,
    I've been trying to create a form that is a 2-column layout. This form contains expanding text fields that are side-by-side with additional form elements underneath. I managed to get the expandable fields to work, however, if the user writes too much in the text field in the left-hand column and it wraps onto a second page, the text field in the right-hand gets pushed to the second page. I am wondering if someone has experience with this and could help me figure out how to make sure the text field in the right-hand column stays in place as the text field in the left-hand column expands onto 2 pages.
    I've tried to wrap each text-field in their own subform that stays fixed, but that seemed to cause the field to expand over the elements below it.
    Take care,
    Carolyn

    Luke23ae wrote:
    for my bachelor-thesis I'm trying to create a 2 column layout in pages. The left column should contain all contents, the right column should only contain notes and additional information supporting the 'main' column. So the right column only contains a little text every now and then. Using the Layout Inspector and setting up 2 columns fills the right column automatically withe the contents overflowing the left column. What I'm hoping to archive is to create a 2 column layout leaving the right column blank, allowing me to insert Text-fields (unless there's a better way) wherever I need to add an annotation.
    Hi Lukas,
    Welcome to Apple Discussions and the Pages '09 forum.
    Since you want the text to flow from page to page in the left column, it would appear best to use a single column for the main text, and to limit the width of that column using the right margin stop.
    That leaves the right half of the page open for a series of text boxes (or shapes, as shown) to contain the notes and additional information.
    I would start with a single text box or shape, resize it to the width you want, then duplicate that one each time you need a new box. That way all your text blocks have a common width to begin with, and if you take care to use only the handle at the center of the bottom edge to resize them, you will not disturb that width setting.
    As noted earlier, the floating objects will not automatically travel with the text they apply to if editing causes that text to move.
    Regards,
    Barry

  • Acrobat javascipt problem with text field

    Hello.
    I work in hospital and I create a PDF with some javascript, to help us working with our patients. This PDF now need some upgrade and I m stuck. Im not a programmer, so its even more difficult to me.
    Let me describe my problem. I have three buttons in my PDF with this code: on mouse up run javascript (I replace actual names in menu with options)
    var cChoice = app.popUpMenuEx
       {cName: "Option1", oSubMenu:
          [ { cName: "A", cReturn: "A" },
            { cName: "B", cReturn: "B"},
            { cName: "C", cReturn: "C" }
       {cName: "Option2", oSubMenu:
          [ { cName: "D", cReturn: "D" },
            { cName: "E", cReturn: "E" },
            { cName: "F", cReturn: "F" }
    if(cChoice != "" && cChoice != null)
    this.SetFieldValues(cChoice);
    else if(cChoice != null)
                 this.print({bUI:true,bSilent:false});
    I also have four text fields in PDF, fields "d1", "d2", "d3" and field "kat".
    Inside document javascript I have setFieldValues script:
    // Place all pre-population data into a single data structure
    var DeptData = { "":{  diagnoza: "", kat: "" },
    "A":{ diagnoza: "A", kat: "KAT III" },
    "B":{ diagnoza: "B", kat: "KAT II" },
    "C":{ diagnoza: "C", kat: "KAT I" },
    "D":{ diagnoza: "D", kat: "KAT III" },
    "E":{ diagnoza: "E", kat: "KAT II" },
    "F":{ diagnoza: "F", kat: "KAT I"}};
    function SetFieldValues(cDeptName) {
        // Populate fields with values from the Department Data Object
        this.getField("d1").value = DeptData[cDeptName].diagnoza;
        this.getField("kat").value = DeptData[cDeptName].kat;
    function SetField1Values(cDeptName) {
        // Populate fields with values from the Department Data Object
        this.getField("d2").value = DeptData[cDeptName].diagnoza;
        this.getField("kat").value = DeptData[cDeptName].kat;
    function SetField2Values(cDeptName) {
        // Populate fields with values from the Department Data Object
        this.getField("d3").value = DeptData[cDeptName].diagnoza;
        this.getField("kat").value = DeptData[cDeptName].kat;
    Now my problem. This code work perfect for my d1, d2, and d3 fields. When nurse click first button and open menu, then select options, the value that she select print in field d1, value from second button print in d2 and value from last button in d3. But each selection has also second value, named "kat". This value must be printed in text field named "kat", but...here is some catch. If all three selected options have different "kat" values - all three values must be in text field "kat". If one or two values are equal, I need that just one of them is printed.
    Something like that:
    If
    "d1" field has "A" value
    "d2" field has "B" value
    and "d3" has "C" value
    then field "kat" has all three kat values.
    but if
    "d1" field has "A" value
    "d2" field has "D" value
    and "d3" field has "E" value
    then field "kat" print only one of two equal (A and B) kat values and E kat value, that is different.
    Anyone understand my bad english and my problem and has a solution for this?

    Use hidden text fields for the various "kat" values ("kat1", "kat2", etc.) and then a separate custom calculation script for the real "kat" field that looks at the values of those fields and decides what value it should have.

  • Unable to define Radio Button Text field & unable to change column position

    Hi,
    While designing a screen in Screen Painter, I am unable to define Radio Button Text field as this option is not there in Graphical Element. And also I want to specify the starting position of column of that element different from the default value, but I am unable to define that because the field is non-editable.
    Can any one please help me out.
    Regards,
    Koushik

    Hi,
    Please find below the sample program from ABAP docu :
    PROGRAM demo_dynpro_input_output.
    DATA: input  TYPE i,
          output TYPE i,
          radio1(1) TYPE c, radio2(1) TYPE c, radio3(1) TYPE c,
          box1(1) TYPE c, box2(1) TYPE c, box3(1) TYPE c, exit(1) TYPE c.
    CALL SCREEN 100.
    MODULE init_screen_100 output.
      CLEAR input.
      radio1 = 'X'.
      CLEAR: radio2, radio3.
    ENDMODULE.
    MODULE user_command_0100 input.
      output = input.
      box1 = radio1.
      box2 = radio2.
      box3 = radio3.
      IF exit NE space.
        LEAVE PROGRAM.
      ENDIF.
    ENDMODULE.
    Here radio1(1) TYPE c is defined within the program but in the element list there are RADIO1 element exist. One is actual radio button and the other is Radio Button Text.
    I am not able to create that radio button text using same object name.
    Please suggest.
    Regards,
    Koushik

Maybe you are looking for