How to save column widths in tag monitor and tag config editor?

how to save column widths in tag monitor and tag config editor?

The attached example may help.
After launching the editor, I locate a reference to the front panel control named "Tag List".
This is type cast as a multicolumn list box which then allows me to increment through all of the cells and set the widths as i go.
Trying to help,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
Set_Width2.vi ‏60 KB
SET_WIDTH.JPG ‏94 KB

Similar Messages

  • How to set column width in alvgrid

    hi
    how to set column width in alvgrid.
    thanks.

    Hi,
    Check this,
    REPORT  ztest.
    DATA: BEGIN OF i_scarr_tab OCCURS 0.
            INCLUDE STRUCTURE  scarr.
    DATA: END OF i_scarr_tab.
    DATA: i_scarr LIKE TABLE OF i_scarr_tab WITH HEADER LINE,
          w_scarr LIKE LINE OF i_scarr_tab.
    DATA: o_grid      TYPE REF TO cl_gui_alv_grid,
          o_container TYPE REF TO cl_gui_custom_container.
    DATA: lt_fcat     TYPE lvc_t_fcat,
          ls_layo     TYPE lvc_s_layo,
          ls_sort     TYPE lvc_s_sort,
          lt_sort     TYPE lvc_t_sort,
          ls_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    START-OF-SELECTION.
      CALL SCREEN 9000.
    *&      Module  status_9000  OUTPUT
          text
    MODULE status_9000 OUTPUT.
      SET PF-STATUS '9000'.
      SET TITLEBAR '9000'.
    ENDMODULE.                 " status_9000  OUTPUT
    *&      Module  user_command_9000  INPUT
          text
    MODULE user_command_9000 INPUT.
      CASE sy-ucomm .
        WHEN 'BACK' OR 'EXIT'.
          SET SCREEN 0.
          LEAVE SCREEN.
      ENDCASE.
    ENDMODULE.                 " user_command_9000  INPUT
    *&      Module  init_9000  OUTPUT
          text
    MODULE init_9000 OUTPUT.
      IF o_container IS INITIAL.
        SELECT * FROM scarr INTO CORRESPONDING FIELDS OF TABLE
           i_scarr UP TO 100 ROWS.
        IF cl_gui_alv_grid=>offline( ) IS INITIAL.
    Create a custom container control for ALV Control
          CREATE OBJECT o_container
              EXPORTING
                  container_name = 'CONTROL'.
    Create a ALV Control
          CREATE OBJECT o_grid
              EXPORTING i_parent = o_container.
          PERFORM build_field_catalgue.
          ls_layo-sel_mode = 'A'.
          CALL METHOD o_grid->set_table_for_first_display
            EXPORTING
              i_save          = 'A'
              i_default       = 'X'
              is_layout       = ls_layo
            CHANGING
              it_outtab       = i_scarr[]
              it_fieldcatalog = lt_fcat
              it_sort         = lt_sort[].
        ENDIF.
      ENDIF.
    ENDMODULE.                 " init_9000  OUTPUT
    *&      Form  build_field_catalgue
          text
    -->  p1        text
    <--  p2        text
    FORM build_field_catalgue .
      DATA: ls_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-cprog
          i_internal_tabname     = 'I_SCARR_TAB'
          i_structure_name       = 'SCARR'
         i_client_never_display = 'X'
        CHANGING
          ct_fieldcat            = ls_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      IF sy-subrc <> 0.
        MESSAGE 'FCAT Error' TYPE 'I'.
        EXIT.
      ENDIF.
      LOOP AT  ls_fieldcat.
        CLEAR ls_fcat.
        ls_fcat-fieldname = ls_fieldcat-fieldname.     "Fieldname
        ls_fcat-ref_table = ls_fieldcat-tabname.       "DDIC ref struct
        ls_fcat-inttype   = ls_fieldcat-inttype.       "Data type
        ls_fcat-outputlen = ls_fieldcat-outputlen.     "Column width
        ls_fcat-coltext   = ls_fieldcat-seltext_m.     "Column Header
        ls_fcat-seltext   = ls_fieldcat-seltext_m.     "Column Desc
        ls_fcat-ref_field = ls_fieldcat-ref_fieldname. "Reference field
        ls_fcat-ref_table = ls_fieldcat-ref_tabname.   "Reference table
        CASE  ls_fieldcat-fieldname.
          WHEN 'LUGGWEIGHT' OR 'FORCURAM'.
            ls_fcat-edit      = 'X'.
            ls_fcat-do_sum    = 'X'.
          WHEN 'URL'.
            ls_fcat-no_out = 'X'.
          WHEN OTHERS.
            ls_fcat-edit      = ' '.
            ls_fcat-do_sum    = ' '.
        ENDCASE.
        APPEND ls_fcat TO lt_fcat.
      ENDLOOP.
    ENDFORM.                    " build_field_catalgue
    check the programs bcalv_grid*.
    check this link for more detailed example.
    http://www.supinfo-projects.com/fr/2005/alv_display_fr/2/
    Regards
    Sruthi

  • How to save .pdf file using office word and excel

    Can someone help me how to save .pdf files using office word and excel?  I reinstalled my adobe 7.0 pro in my new pc and before I was able to do it but with my old pc.

    For anything after Office 2003, you have to print to the Adobe PDF printer. If you installed AA 7 on OS newer than XP, you may have to do a workaround to get it to work. With later versions of WORD you can always use the MS plugin for creating PDFs.

  • How to increase the width size between PROMPT and TEXT BOX?

    Hi Gurus,
    my page having MessageTextInputs. Normally page runs displays the Prompt name and one text box will displayed.
    my requirement is
    1) how to increase the width size between PROMPT and TEXT BOX?
    2)prompt name displays like
    elephant
    xxxxxant
    xxxxRose
    here xxxxx indicates SPACE
    but my client requirement is don't displays the SPACES in left side.
    so our requirement is in page PROMPT displays like
    elephant
    ant
    rose
    How to achieve this plz help me
    its very urgent
    Thanks

    Hi,
    Create a table layout region and under that use 'messageStyledText' for displaying the prompt and use 'messageTextInput' for text field without giving any prompt to that.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                           

  • How to set column widths in tables for selected table only, not globally throughout document?

    I've been utilizing the below script (thank you so much Ramkumar. P!) to set column widths throughout a sizable InDesign book with tables on every page and it is truly a time saver. At this point in time, I have three versions of it because there are different column widths throughout the book. Is it possible to augment the script to run only on a selected text frame (containing a table)? If so, would someone be kind enough to share the augmented script with me? I've been trying to figure out this seemingly simple change through trial and error with no success as yet. I realize this is a totally newbie request and I'm entirely at the mercy of the kindness of the Javascript gods that contribute within this forum. Seeing that in a different post related to this script, one such guru responded to a request as simple as "Where do I put the scripts in InDesign" gave me enough courage to ask for some help! Thank you in advance to anyone willing to provide a solution.
      var myDoc = app.activeDocument;
         var myWidths = [100, 100, 150, 150];
         for(var T=0; T < myDoc.textFrames.length; T++){
             for(var i=0; i < myDoc.textFrames[T].tables.length; i++){
                 for(var j=0; j < myWidths.length; j++){
                     myDoc.textFrames[T].tables[i].columns[j].width = myWidths[j];
         alert("Table width updated successfully...");

    Hello all
    I have the same problem in that I'm not a scripting person, but was able to get the above script working without problem, and it does set irregular table column widths perfectly, so thanks to Ramkumar. P for that.
    BUT, it changes the column width for ALL tables in the document, whereas I would like to just target the selected table.
    Any ideas as to how I might amend this script to achieve this?
    Thx, Christian

  • How to adjust Column width using SHD0 for FB60

    Hi,
    How can adjust ( i have to reduce the length) Assignment filed in the FB60 transaction using SHD0.
    Please help in this regard.
    Regards,
    Kishore

    HI,
    I think you can adjust the column width and save it as Screen Variant in the SHD0.
    When you create a screen variant for the MIRO, adjust your column width and position than save it the variant. Once you save and activate the variant, it will appear in the Layout dropdown box on MIRO.
    OR
    Please check in spro with ur functional consultant to explore if the field can be made not mandatory..
    menu path:
    AR and AP -> Customer Accounts -> Line Items -> Display line items -> display line items without ALV

  • How to resize column width in report?

    hi all,
    i read somewhere here that in order to resize column width in a report, you need to go to report attributes, then edit the column you wish to resize and then go to the CSS Style and place something like "width=600px". while this works very well in Internet Explorer, it somehow has no effect in Firefox 3.0. is there a way to make it work both browsers?
    thanks
    allen

    Hi,
    Sorry, I misunderstood. There are several methods you could use:
    1 - Use the span tags around the data itself - this would require adding the tags into the sql statement itself
    2 - Use javascript to set the column widths by adding a style to the TD tags for each cell
    3 - Create a new Report Template and use COL tags immediately after the TABLE tag in the Before Rows section to specify the widths of all columns
    Option 3 may be the easiest?
    Andy

  • How to controll column width in report ?

    Dear All,
    i have created Classic Report but here Column width is too large.
    i want to controll column width in report .
    How can i do this..
    Thanks

    Hi Vedant,
    There are two possibilities in your case.
    1.width of your column heading is too large.
    include break in your column heading
    for ex .. column heading is employee department number then write it as *[Employee(br)Department(br)Number]* // replace ( with < and ) with > in br
    2) Value is too large
    Go to Report Attributes->edit your column->column formatting->css style
    In CSS style put this display:block;width:100px;white-space:wrap
    Hope this will helps you,
    Thanks,
    Jitendra

  • How to increase column width in Table Maintanance (SE56)

    Hi,
    Can somebody tell me how I can adjust the column width permanently in SE56, so that when I use SM30 to enter data, the columns
    correctly adjusted.
    Thanks,
    mini

    Go to SE80 > Select Function Group > Enter your FG... select your Screen..
    Open the Screen Painter.. change the width of the required column.
    Regards,
    Naimesh Patel

  • How to control column width in table?

    I have a table with four columns, and they are all with same width.
    But I want to make one of them wider.
    How should I do?
    public void loadTable(){
    Vector infoList = myObj.getInfoList();
    Info info;
    DefaultTableModel dtm = (DefaultTableModel)myPanel.tblList.getModel();
    String[] columnNames = {
    "wider column",
    "Column B",
    "Column C",
    "Column D"};
    dtm.setColumnIdentifiers(columnNames);
    for(int i=0;i< infoList.size();i++){
    // add stuff to "data"
    dtm.addRow(data);
    myPanel.tblList.setModel(dtm);
    myPanel.tblList.getColumnModel().getColumn(1).setWidth(100);
    I also tried setPreferedWidth(), not working for me either.
    What should I do?
    Thank you

    Try setting all the column widths. Define values for normal and width columns:
            DefaultTableColumnModel tcModel = (DefaultTableColumnModel) myTable.getColumnModel();
            Enumeration columnEnum = tcModel.getColumns();
            while (columnEnum.hasMoreElements()) {
                TableColumn column = (TableColumn) columnEnum.nextElement();
                if (column.getModelIndex()  != 1) {
                    column.setPreferredWidth(narrowWidth);
                } else {
                    column.setPreferredWidth(wideWidth);
    Cheers
    DB

  • How to set column width based on header width?

    I have a column that will only hold 1 character. This is good, but I want the Column width to match the column header.
    For example,
    Currently I get:
    select * from table;
    I NAME
    1 ROBERT
    The problem is, I want the Column header spelled out (in this case it's just ID)
    ID NAME
    1 ROBERT
    Better Yet,
    if i did:
    select ID "ID NUMBER", NAME "FIRST NAME" from table;
    I'd like to see:
    ID NUMBER FIRST NAME
    1 ROBERT
    (Centering the ID within the Column width would be good too, but that is "gravy")
    Any thoughts? I've been trying:
    COLUMN ID FORMAT A10 (which obviously didn't work!)
    Thanks,
    KSL.
    Edited by: leonhardtk on Aug 23, 2010 11:55 AM

    If you use tags it'll be easier to see what formatting effects you're talking about.
    Does <a href="http://download.oracle.com/docs/cd/E11882_01/server.112/e10823/ch_six.htm"><tt>col id head "ID Number" format a9</tt></a> do what you want?
    Edited by: William Robertson on Aug 23, 2010 6:50 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to set column width in GridPane in FXML?

    I would like to set width, for ex, of column 4 in GridPane.
    I can do like this:
    <columnConstraints>
                <ColumnConstraints prefWidth="100"/>
                <ColumnConstraints prefWidth="200" />
                <ColumnConstraints prefWidth="200" />
                <ColumnConstraints prefWidth="200" />
    </columnConstraints>If i have 10 columns should i add 10 column constraints? (i need to set only width of 4th column)
    How can i do it easier?

    >
    Hi, Can someone please help on how to set the columnwidth in csv file using javacode.
    I used FileWriter class to upload data into the csv file but csv file is taking default width while showing content. Is there a way to set the fixed column width or set width dinamically based on value?
    >
    The fields in CSV (Comma-Separated-Value) files are separated by commas; they do not have a fixed width.

  • How to set column width in OBIEE

    hi ,
    I want to set the coumn width in table, my version is obiee 10.
    any one know how adjust the width of column?
    thanks.

    Use column properties->Additional Formatting Options
    and set width 10px or as per your req.
    Pls mark correct/helpful if helps

  • How to adjust column width Sheet to Go?

    Does anybody know how you can increase the column width in Sheet to Go?
    Eugene
    My PlayBook App: Checklists

    With the new Playbook 2.0 update and the docs to go app, I found that when in Excel, tap on the column header, (where it has the column identified as A, B, C, etc.), the whole column will be highlighted in blue and you will notice that on one side of the column header is a double line. Simply place finger on the header and slide to desired width. Tap outside of the column to return to the document.

  • How to set column width for Label in Form region?

    In the form region, the label value is a lengthy text, and it does not wrap. How do I make it wrap to a fixed column width?
    Under Home>Application Builder>Application>Page>Edit Page Item,
    i have set "HTML Table Cell Attributes" to width="300", but it still does not wrap. and pushes the field to the right end of the page.
    I am quite sure there are better ways of doing this.

    thanks Simakas for the reply.
    I had set the label template to "Optional" and that was forcing a "nowrap". After unsetting the template, I used your suggestion and it works like a charm. Thanks.

Maybe you are looking for

  • How can I use SSO from BI to BO Enterprise Server

    Hello, I have installed a BO Enterprise Server SR3 and I want to connect it to an SAP BI 7.0. I did the configuration of the Installation Guide "BusinessObjects XI Integration für SAP Solutions-Installationshandbuch" chapter 6 except of the last two.

  • "Update Termination" error when TECO is been done to Workorders in IW32

    Hi Everyone, I am facing some problem with IW32, what has happened is when I create a notifiaction and simulatenously do a TECO(technically completed) to a workoder in IW32, i get a error Update terminated. I problem is it is not cretaing th notifica

  • Listener for CheckBoxes in JTable

    Hi, I have a table that displays a checkbox in one of the fields. Which event handler/ listener should I use? Eg: Checkbox listener, List listener or otherwise? A change in the checkbox value (tick or untick) will trigger recalculation. Thanks.

  • ITunes Quits When Trying To Launch It

    I have a stock iMac (white plastic just before aluminum model) running Mac OS 10.5.6. iTunes 8.1.1 has become corrupted. I deleted it, and downloaded and installed a new version from the Apple website. I've done this repeatedly! Every time I try to l

  • When trying to run a Visual Studio 2010 program under Task Scheduler, it always gives a return code of 3762507597.

    I am trying to run a Visual Studio 2010 program under Task Scheduler. We were running the program under Scheduled Tasks in Windows XP with no problems. When it runs under Task Scheduler it always gives a return code of 3762507597. If I run the progra