How to make muliple row listbox using indesign cs4 plug-in creation

Hi,
In one scenario i want to create list box having muliple rows and columns .And there should  be an association between the row values(each row values should associate a unique value in that  row ).how is it possible in indesign CS4 ? Is it pssible in tree view? which is easy way to accomplish this?
Thanks
Arun

TreeView is the recommended way, while the flat listbox is phased out / deprecated. Neither would support columns, headers etc. out of the box, but you could do that by several means - subwidgets per column, or implement your own row IControlView.
CS4 brought the first multiple column tree view for links, based on TreeView. I have not yet revisited it in detail, but the source is in the SDK:
source/open/components/linksui.
Btw, the TreeView calls your unique value per row "NodeID".
Dirk

Similar Messages

  • How to make muliple column listbox using indesign cs3

    Hi,    
         I want to create list box having muliple rows and columns. I tried with one cloumn using tree view and that is working fine. How to create multiple column listbox using tree view. I need a code snippet for muliple rows and columns using treeview.
    Thanks
    K.Saravanan

    Download the CS6 SDK. Under the "open" folder you will find the code for the LinksUI panel. This is the closest you will get to a multicolumn list box in C++, if you want to stay in C++.
    The tree view widget support dynamic load of sub nodes in a tree. Also it will only request widgets to drawn when they are in view (as far as I remember).

  • How to make Multiple column listbox in CS4 using tree view

    Hi ,
    I am a beginer in Indesign Cs4 plug-in creation.In one scenario i want to create multiple column listbox,i tried with one cloumn using tree view and that is working fine.so suggest how to create multiple column listbox using tree view.
    thanks
    Arun

    InDesign does not have a native multi-column widget. You have three options:
    1) Use the treeview widget and align your widgets in the tree node to create the illusion of columns (stroke panel is an example - the Links panel in CS4 is a better example)
    2) Go the way of the CellPanel SDK example and tweek it to work like a listbox
    3) Create the User Interface in Flex

  • How to make different users to use different Plan_Tables?

    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?

    qkc wrote:
    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?Which version of Oracle - if you're on 10g or later you are already (effectively) doing this.
    If not, then copy the 10g strategy back to your version; in outline:
    <ul>
    drop all existing plan tables
    create a table (but call it plan_table$) in the SYS schema (you may prefer to use SYSTEM) as a global temporary table on commit preserve rows
    create a public synonym plan_table for plan_table$
    grant select insert update delete on plan_table to public
    </ul>
    Look in $ORACLE_HOME/rdbms/admin/catplan.sql in a 10g version of Oracle to check how it's done.
    Each user gets a private (temporary) table in their temporary tablespace whenever they use the plan_table
    Their private data disappears when there session ends.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to make first row as selected in af:table

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my application.
    In all the pages across my application we have multi select enabled for the table[af:table].
    But when the pages are displayed,the first row is not selected by default.
    My requirement is to display first row as selected across all the tables in my app.
    I have the selectionListenerset as for example selectionListener="#{bindings.RSCMapVO2.collectionModel.makeCurrent}" in all the pages.
    Please suggest on how to make first row as selected.
    Regards,
    Praveen

    Hi
    Put these codes in your selection listner method(You have to define a selectionListner method in your backing bean and put this code segment
    (Special thanks go to Franks how posted this code segment. threadID=1089583)
    RichTable yourTable = (RichTable) selectionEvent.getSource();
    //the Collection Model is the object that provides the structured data
    //for the table to render
    CollectionModel yourTableModel = (CollectionModel) yourTable.getValue();
    //the ADF object that implements the CollectionModel is JUCtrlHierBinding. It
    //is wrapped by the CollectionModel API
    JUCtrlHierBinding yourTableBinding = (JUCtrlHierBinding) yourTableModel.getWrappedData();
    //Acess the ADF iterator binding that is used with ADF table binding
    DCIteratorBinding yourTableIteratorBinding = yourTableeBinding.getDCIteratorBinding();
    //the role of this method is to synchronize the table component selection
    //with the selection in the ADF model
    Object _selectedRowData = yourTable.getSelectedRowData();
    //cast to JUCtrlHierNodeBinding, which is the ADF object that represents
    //a row
    JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding) selectedRowData;
    //get the row key from the node binding and set it as the current row in the
    //iterator
    Key rwKey = nodeBinding.getRowKey();
    tableIteratorBinding.setCurrentRowWithKey(rwKey.toStringFormat(true));
    Thanks
    Padma

  • How to lock a row by using 'for update'?

    how to lock a row by using 'for update'?

    Hi,
    SELECT * FROM <TABLE> WHERE <PK_COLUMN>=<VALUE> FOR UPDATE NOWAITThis will help in locking the row with the primary key value that you provide
    cheers
    VT

  • How to make a contact sheet using iPhoto

    how to make a contact sheet using iPhoto

    Which iPhoto version do you have?
    In iPhoto '11 you can make the Contact Sheet by selecting all photos you want on the sheet, press ⌘P, and in the Print panel select "Contact Sheet". Set the number of columns, adjust the margins, and select the captions you want.
    Then press the Print button.

  • Using InDesign CS4 on iMac. Had to restore computer from backup. Licensing has stopped working. Error code 150:30. How can I reestablish my license?

    Using InDesign CS4 on iMac. Had to restore computer from backup. Licensing has stopped working. Error code 150:30. How can I reestablish my license?

    You'll need to have a chat with Adobe Support. Here's a link:
    https://helpx.adobe.com/contact.html?step=ZNA_downloading-installing-setting-up_licensing- activation
    We can't help you with that here.

  • How to make the row as a hyperlink in Crystal 2008

    Hi,
    Could you give me advise on how to make the row as a hyperlink and call another report.
    Thank you in advance.
    Rose

    Hi Sastry,
    I was able to create the subreport and its working.
    Thank you so much.
    Regards.
    Rose

  • I previously used Indesign CS4. I now have recently purchased Indesign CC. I have a Mac Yosemite 10.10.3. When I print, I cannot select my paper stock, other than what is in the print dialogue box, i.e. art paper. In Indesign CS4, I could choose fine art

    previously used Indesign CS4. I now have recently purchased Indesign CC. I have a Mac Yosemite 10.10.3. When I print, I cannot select my paper stock, other than what is in the print dialogue box, i.e. art paper. In Indesign CS4, I could choose fine art paper etc. Where can I find this option in this new version?

    With Snow Leopard, the Printing of PDFs has changed. Try using the highlighted option

  • Building InDesign CS4 plug-ins once for both MAC PPC and MAC Intel

    Hi All,
    I would like to know if there is a possibility to build the indesign plugins once for both PPC and Intel on MAC. Right now I'm forced to build my plugins twice: on the PPC machine and on the Intel Machine.
    I tried to build the SDK example Basic Persist Interface on my MAC Intel machine and then i placed it on my MAC PPC and it failed to load.
    is there any configuration I need to specify so the XCode linker will link for both machines?
    I'm using:
    InDesign CS4
    Leopard 10.5.8
    XCode 3.0
    Architectures: i386
    Valid Architectures: ppc67 ppc7400 ppc 970 i386 x86_64 ppc
    Instruction  Sheduling Power pc G4
    thanks,
    Itamar

    thanks mfreitag
    it did the job.
    Itamar

  • How can I make an E-Book using InDesign?

    I initally assembled an ebook using Microsoft Word and uploaded the file to BookBaby along with the cover design as a separate image file. The E-book is a relatively simply layout, 100 color cartoons and a text "forward" on first page. However, BookBaby said NOT....I needed to resend the book in a "fixed format". Thus my decision to use InDesign. However, since I've never used InDesign for any work like this I am curious if anyone can help or at the very least, recommend decent links at how I could initially begin to restructure my entire book? As mentioned, it's a relatively simple layout from an asthetics standpoint - - 100 separate cartoons in full color that are 700 pixels wide in JPEG format. Then the "forward" and that full color cover with text already in the image for embedding as the cover design.
    Any insights, thoughts, feedback and / or constructive criticism would be greatly appreciated.

    Normally a paid-for book from the iBookstore can only be read on an Apple device, it tells you that in the requirements section of the purchase page.

  • How do you make the smallest pdf from InDesign CS4 but retain some sharpness?

    I have a 2 page brochure, front and back with layered photoshop files and when I make the small pdf I need to make a 100kb file like a client has done in the past. The smallest I can make the pdf file is 460kb.  It will not go smaller no matter what I do. Of course I can enter final resolution as 72 dpi but the photos become very fuzzy. I have even reduced the file sizes of the photos and replaced them in the document. The file size remains the same.  My client said that Illustrator reduced the size for him smaller in the past but I don't think that is the solution.  How do you retain some sharpness in a pdf but keep the file size at a very minimum?

    But InDesign CS4 outputs the file no matter what at 460 kb for me. 
    Still don't know why they got 100 kb.
    By not using InDesign. Scott is on the right track by mentioning Distiller - which makes PDFs that are smaller than what InDesign can export. Illustrator can be used (improperly*) in the same way. Both methods can strip out stuff that you don't need if you don't care about printing quality, don't care about reliable display across multiple platforms, don't care about precisely how your fonts are embedded, don't care about the lawsuit that the blind people using screenreaders are going to bring against you, and so on. I don't know which of the above is not in your client's 100k file, or which of the things in my above list will be stripped out by using Distiller or Illustrator, but I bet that one of the people who has already posted in your thread does know, and might be talked into telling us.
    But, if you're trying to make your client happy and aren't actually personally invested in making the smallest PDFs known to man, and if you're located in the US, then perhaps the phrases "screenreaders... blind... accessibilty... lawsuit" spoken together might induce your client to rethink this arbitrary desire for miniscule file size of PDFs.
    Alternately, you could just save postscript out of both PDFs and just look at the .ps files in your favorite raw-text viewer.
    * I'm surprised that Adobe Employee Dov Isaacs hasn't come along to tell us what a bad idea this is.

  • How to make a row as selected in output internal table in oops ALV

    Hi All,
    I have ALV grid output using oops ALV concept, in my output i have a checkbox as first column when i select this checkbox and press a push button 'Print' which is there above ALV grid that particular line in output table should get selected and i need to code some logic for printing selected row.
    how to make the particluar row in the output internal table to be selected and where to write the logic for print once it is pressed?
    Thanks in advance
    Srilakshmi.

    but the checkbox is not getting set in internal table when i select some checkboxes.
    can anybody explain y the checkbox in internal table not set?
    Hi Srilakshmi,
    As explained by Uwe, when we change a field ( say check box ) in ALV grid, the view (frontend) changes (showing the tick mark) but the changed data ( normally ) is not transfered to the backend.
    We can initiate this data transfer by just registering the cl_gui_alv_grid=>mc_evt_modified  edit event
      go_grid->set_table_for_first_display( CHANGING  it_fieldcatalog      = pt_fieldcat
                                                      it_outtab            = pt_outtab ).
      go_grid->set_ready_for_input( 1 ).
      go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
    Now as soon as we check a checkbox, the data_changed event is triggered.
    This initiates data transfer to the backend and the checkbox field in internal table is updated.
    check the below code for example.
    DATA: go_cont            TYPE REF TO cl_gui_custom_container,
          go_grid            TYPE REF TO cl_gui_alv_grid,
          gt_fieldcat        TYPE lvc_t_fcat,
          gv_language        TYPE spras VALUE 'E',
          gt_outtab          TYPE TABLE OF bus_loca_demo WITH HEADER LINE.
    START-OF-SELECTION.
      CALL SCREEN 100.
    *       MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'BASIC'.
      SET TITLEBAR  '001'.
      PERFORM create_and_init_alv CHANGING gt_outtab[]
                                           gt_fieldcat.
    ENDMODULE.                    "pbo OUTPUT
    *       MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN 'PRINT'.
          BREAK-POINT.
      ENDCASE.
    ENDMODULE.                    "pai INPUT
    FORM create_and_init_alv CHANGING pt_outtab LIKE gt_outtab[]
                                      pt_fieldcat TYPE lvc_t_fcat.
      CHECK go_cont IS NOT BOUND.
      CREATE OBJECT go_cont
        EXPORTING
          container_name = 'CUSTOM'.
      CREATE OBJECT go_grid
        EXPORTING
          i_parent = go_cont.
      PERFORM build_display_table.
      PERFORM build_fieldcat CHANGING pt_fieldcat.
      go_grid->set_table_for_first_display( CHANGING  it_fieldcatalog      = pt_fieldcat
                                                      it_outtab            = pt_outtab ).
      go_grid->set_ready_for_input( 1 ).
      go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
    ENDFORM.                               "CREATE_AND_INIT_ALV
    FORM build_display_table.
      FREE gt_outtab.
      DO 10 TIMES.
        gt_outtab-creation_partner = sy-index.
        gt_outtab-date_field       = sy-datum.
        APPEND gt_outtab.
      ENDDO.
    ENDFORM.                               "build_display_table
    FORM build_fieldcat CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = 'BUS_LOCA_DEMO'
        CHANGING
          ct_fieldcat      = pt_fieldcat.
      LOOP AT pt_fieldcat INTO ls_fcat.
        CASE ls_fcat-fieldname.
          WHEN 'CHECKBOX'.
            ls_fcat-checkbox = 'X'.
            ls_fcat-edit     = abap_true.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'ENTER_FIELD' OR 'DBLCLICK_FIELD'.
            ls_fcat-no_out  = abap_true.
            MODIFY pt_fieldcat FROM ls_fcat.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                               "build_fieldcat
    Cheers,
    Jose.

  • How to  make JTextArea rows and colums auto-increase?

    My test program is attached as below.
    The JTextArea can not enlarge itself when the text in a line is too long that some characters are hidden.When rows grows too many will also see the problem.
    How can I make the rows and columns auto-increase to meet the width or height of my text?
    -----My Test Demo----
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.color.*;
    import javax.swing.*;
    public class Test{
    public static void main(String[] args){
    JFrame f = new JFrame("My Editor");
    Container ct = f.getContentPane();
    JPanel jp = new JPanel();
    JTextArea ta = new JTextArea("My software.",10,30);
    JTextArea ta2 = new JTextArea("Hello,World!",10,30);
    jp.setPreferredSize(new Dimension(400,400));
    jp.setBackground(Color.green);
    jp.setLayout(null);
    jp.add(ta);
    ta.setBounds(100,100,150,200);
    ta.setOpaque(false);
    ta.setBorder(null);
    jp.add(ta2);
    ta2.setBounds(100,120,150,200);
    ta2.setOpaque(false);
    ta2.setBorder(null);
    // jp.addMouseListener(new MyMouseListener());
    ct.setLayout(new BorderLayout());
    ct.add(jp,BorderLayout.CENTER);
    f.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent evt) {
    System.exit(0);
    f.setVisible(true);
    f.pack();

    This link to the Java Swing tutorial will show you how to add the JTextArea to a JScrollPane:
    http://java.sun.com/docs/books/tutorial/uiswing/components/simpletext.html#textarea
    It appears to me that you are new to Swing so you should read the entire tutorial "Creating a GUI using JFC/Swing" before asking any more question. The tutorial can be read online or downloaded from:
    http://java.sun.com/docs/books/tutorial/
    The download link for all tutorials on this page is near the bottom.

Maybe you are looking for

  • Unable to do the restriction at Fund Center or FM Area when FM is not activ

    Hi, we have the following business requirement: Background of the issue: Field Status variant in Account Assignment category and GL: We are in the process of rolling out one of our company codes which is in a different instance(server). We already ha

  • Integration of Express Reports in Portal

    Hi .. I want to integrate express reports in portal. I wouid appreciate any help Cheers Gopi

  • LMS 3.2 RME 4.3.1 Inventory collection failing for switches

    I have 6 switches that inventory is failing for.  They do run the 12.2(33)SXI3 software but I have the CSCtb16925-1.0  patch installed.  I've tried to increase the SNMP timeout for the devices but they still fail. Ideas? Chris Jasztrab

  • Output Type changes

    hi Eperts,    I am using NEU1 output type for sending the FAX  using SAP script. Because of some issues now we are sending the FAX through SAP connect.    I want to know what changes I have to make in output type configurations as well as in Print pr

  • Call vi by reference

    Hi, I have a sub vi I need to execute, but I don't want the VI where it is in to wait until it is done. The only way I know to realize it, is opening a reference to this VI and use the 'run VI' invoke node and set 'wait until done' to false. Now I ge