Dynamically change frame title

Hi all,
Depending on 'environmental issues' I would like to change the title of one or more frames. As far as I am aware there is no built-in to achieve this goal. Can anyone suggest a way to get this done ? Your help is greatly appreciated.
Regards,
Gerrit Breebaart

Thank you for the quick response !
The 0x0 item is definitely a neat work-around. But before I will try it, I will browse the web for available PJC solutions. We currently generate programs from designer with preset titles on them. I would like to change the frame titles with minimum changes to the designer modules.
If you have any good suggestions for info on available PJC's that may be of help, I would love to hear it !
Thanks again.
Gerrit

Similar Messages

  • Support MIDI and dynamic change FRAME RATE

    What MACROMEDIA says about support by FLASH, midi files and
    dynamic change FRAME RATE of the movie?
    this is two nuances that does not suffice me.
    And what about macromedia FLASH 9? When it comes?

    For dimension changing use something like this (is a part of a bash script for video edition so ...) :
    # Le quitamos el over-scan al ancho. OJO!! debe seguir siendo MULTIPLO de OCHO
    WIDTH_SCALED=$(($OUTPUT_V_WIDTH-$OUTPUT_OVS*8)) #multiplicamos el overscan por 8(4 pixeles a cada lado)
    # Obtenemos relacion de aspecto de forma mas precisa
    if [ "$OUTPUT_V_ASPECT" == "1.7777" ]; then # formato panoramico
    ASPECT_PRECISE=`echo "16/9"| bc -l`
    else
    ASPECT_PRECISE=`echo "4/3"| bc -l` # y el formato normal
    fi
    HEIGHT_SCALED=`echo "(${INPUT_V_HEIGHT}*${OUTPUT_V_HEIGHT}*${ASPECT_PRECISE})/${INPUT_V_WIDTH}"| bc -l`
    # Necesito que el alto sea MULTIPLO DE CUATRO para que la longitud del PADDING sea PAR y simplificar el codigo... introduzco un error de 3.999999 pixels (en el peor de los casos)
    HEIGHT_SCALED=$((`echo "scale=0 ; $HEIGHT_SCALED/4"| bc -l`*4))
    # Calculo el Padding
    OUTPUT_V_PAD_WIDTH=$(($OUTPUT_OVS*4))
    OUTPUT_V_PAD_HEIGHT=`echo "scale=0 ; ($OUTPUT_V_HEIGHT-$HEIGHT_SCALED)/2"| bc -l`
    Don't bother about the comments . Is spanish .
    What you want is :
    HEIGHT_SCALED=`echo "(${INPUT_V_HEIGHT}*${OUTPUT_V_HEIGHT}*${ASPECT_PRECISE})/${INPUT_V_WIDTH}"| bc -l`
    About frame rate - this is video edition and i think you can not do this in java . Is more complicated than a simple calc . Under linux i'm using ffmpeg to change fps and encode from avi to mpeg2 .

  • Dynamically changing Grid title  in alv using class

    Hi all,
    I need to get grid title dynamically for single screen for user actions through buttons.What is the option available in cl_gui_alv_grid.
    in reuse_alv_grid_display one field grid_title is  available .but here i could not able to find anything like this .how to solve this issue.
    thanks in advance,
    raja

    When user presses a button on the application toolbar....with function code ( say TITL ) then the grid_title field can be changed manually and can be reflected in the display by refreshing the table using the method below..
    please try this....
    flag = 1.
    FORM user_command USING u_ucomm   LIKE sy-ucomm
                         us_selfield TYPE slis_selfield.
        CASE u_ucomm.
         WHEN 'TITL'.
            IF flag EQ 1.
               flag = 2.
               grid_title = 'ALV_DISPLAY_1'.
               CALL METHOD grid->refresh_table_display
                 EXPORTING
                   IS_STABLE      =
                 I_SOFT_REFRESH =
                 EXCEPTIONS
                   FINISHED       = 1
                   others         = 2.                 
             elseif flag eq 2.
               flag = 1.
               grid_title = 'ALV_DISPLAY_2'.
               CALL METHOD grid->refresh_table_display
                 EXPORTING
                   IS_STABLE      =
                 I_SOFT_REFRESH =
                 EXCEPTIONS
                   FINISHED       = 1
                   others         = 2.
              endif.
         ENDCASE.
    ENDFORM.

  • Dynamically changing frame target

    hi
    i want set the frame target of a form -tag depending on the value selected from the user. is this possible by setting the response header appropriatly ( and how should i set it).
    another possibility should be using javascript and onSubmit in the form, but i use jakarta struts framework and i do not know how i could do this with javascript.
    please help me

    aha you want the javascript...
    I presume you defined something like this:<html:select property="mySelect" ...>
    </html:select>Here is how you access it:...
    theForm = document.forms[0];
    selValue = ziForm.mySelect.options[theForm.mySelect.selectedIndex];
    var dynamicAction;
    if (selValue == <choice 1>)
        dynamicAction = '<url 1>';
    else if (selValue == <choice 2>)
        dynamicAction = '<url 2>';
    else if (selValue == <choice 3>)
        dynamicAction = '<url 3>';
    theForm.action = dynamicAction;
    ...Could have some errors but that's the idea...
    Regards,
    Anton

  • How Can you dynamically change a canvas frame title?

    I am looking for a way to dynamically change the title of a frame on a canvas.

    Jim,
    frames on a canvas are graphic objects that cannot be controlled using properties. To obtain dynamic frame labels, all you can do is to have a Display Item instead of the frame label.
    Frank

  • Change Html Title dynamic from Flash

    Hi,
    I want to change the Title of the Html page dynamically from
    the embedded Flash.
    The Title, that appears on Browser bars etc.
    Could I do this?
    On init I can load the Html source code in with LoadVars, and
    onData (src) change the Title with subString method, but, how then
    could I pass the new value back to the Html page, so the Browser
    Title changes?
    Thank you.
    Luciewong

    Thank you both GWD and Dave for the help.
    I know your code works under normal circumstances, just in my
    case, I can't get it to work.
    Because, on a subsequent Frame, called after the
    ExternalInterface.call,
    I have a getURL(javascript) to change the doc. background
    color.
    Now, either the Title changes or the background color
    changes, but both after each other, can't make it.
    I have tried Ext,CallBack function, so when the Title changes
    and callBack is true, move on, but still then it changes the BG,
    but not the title anymore.
    I must do something wrong with the callBack function?
    Thank you for your help.
    Regards,
    Luciewong

  • Changing the titles of all frames in a running application

    Hi All,
    I've got a 50+ frame application. I have realized that I need to update the frame titles for all the frames based upon some event that can be initiated by any of the frames. Each frame title will be different but will incorporate a bit of knowledge about the event. (Note that when I use the term "event", I'm using it in the normal English language sense, not a Java language sense!)
    I've been considering a few approaches and most look either stupid or a whole lotta' work! I'm looking for how to do this the "right way." ...I don't have a broad enough experience to know what's "common" regarding application architecture, but here's what I've got:
    A "Master" class kicks things off. It instantiates a few things like a database connection and so forth, and then it starts a MainFrame that appears on the users screen. The MainFrame, and all of its children, are actually of a class that's an extension of JFrame.
    It's my supposition that I'd like to create some kind of frame pointer holder in the Master, and all frames "register" themselves. When an event occurrs that warrants changing the frame titles, the Master walks the collected frame pointers and directs the titles be changed, as appropriate. ...OR... Is there already a collection of "children" of the master? How would I get that list and how would I walk it looking for a frame?
    Another idea is to be able to send some kind of notification to each frame and say, "Go Update Your Title!"
    Example code GREATLY appreciated!
    Thanks much,
    Richard

    ... While looking into doing this EventObject thing, I noticed that EventObjects are a heavyweight version of what I want... What it really boils down to is:
    Master defines:
    private static Master M = null;
    Vector myChildren = new Vector();
    Then in the constructor:
    M = this;
    Then in a method:
    Vector v = (Vector)myChildren.clone;
    for (int i=0; i<v.size(); i++;)
    ((JFrame)v.elementAt(i)).updateTitle();
    In each JFrame (in my case, in the class that extends JFrame):
    M.addElement(this);
    and in the right place
    M.removeElement(this);
    Oh yeah, and don't forget a method to set the frame title!...
    public void updateTitle()
    this.setTitle("whatever");
    ...That's it! WAY easier than all that foolishness with declairing your own event listeners and everything... For my needs, this was the way to go!
    Regards,
    Richard

  • How to change the frame title

    hello
    i m using oracle forms varsion 9.0.4.0......
    in the formsweb.cfg i hv set the parameters seperate frame=true
    also given the pagetitle=my application
    but when i run form in the browser ....the browser title is coming and then again a seperate window or frame appears whose title is Oracle developer forms runtime-web....i want to change the title of the second frame which appears after loading the applet in the browser...
    thanks

    You could use:
    SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, TITLE,'your title');

  • Programmatic to change the Frame title

    Hi all
    It's not possible programmatic to change the Frame title. Is there any way (not-documented) to change it?

    If I am understanding your question, you could do this:
    Set_Window_Property('WINDOW NAME', TITLE, 'ANY TITLE');
    I have used this on the When-New-Form-Instance trigger.
    Edit: Sorry I miss-read your question. My solution is for the window's title not the frame.
    Sure wish there was a way to delete my incorrect post.
    Edited by: Darksky on Mar 18, 2010 10:53 AM

  • Changing a title frame size?

    I have a client that wanted their final product exported at 1920x1080 but now want it changed to 1280x720. I will be doing more work in the futrue with this client, so I made templates. The templates are all set to 1920x1080. Is there and easy way to change the titles sequences and regular sequences' frame size. Or do I have to start over and make a template that is 1280x720?
    Any guidence will be much appreciated. Thanks.

    Maybe I'm missing something but why not simply render your 1920x1080 sequence to 1280x720?  Or copy your timeline to a 1280x720 sequence and scale to fit.  I must be missing something.

  • Human Task change task title dynamically

    Hi,
    I have a BPEL Human Task with several steps in SOA 11.1.1.7.
    I try to change dynamically the task title according to the Participant Name or stage .
    I tried different solutions(swicth, updateTask service) but I am unable to get the participantName or the stage name before entering in the initiateTask function.
    Please can you give me a clue of how it could be done?
    Thank you!

    Hi,
    Could you please check in wftask and wftask_tl tables whether the title has been updated?
    Also, could you please check "Reevaluate the translation every time" in HT and try again?
    You should try this.

  • JPanel repaint in an ActionListener and Frame title change

    I have been trying to repaint a JPanel from a method in a nested class. The JOption pane works that retrieves the string for the color and I believe the string is being converted to a color properly, however when the repaint takes place nothing happens. The JPanel sits in a Frame.
    My other issue is that I am supposed to in this assignment change the title text of the Frame after it has been instantiated? and I read somewhere else on the forum that the only time this can be done is when the frame is being initialized.
    Any thoughts? Mind you this is the third real program I have ever tried and most of it was already written and in a book, we are just supposed to cahnge a few things.
    private class SetBackground implements ActionListener
    private String whatColor;
    public void actionPerformed (ActionEvent event)
    whatColor = new String();
    whatColor = JOptionPane.showInputDialog("Type red, blue, yellow, or green to change the color.");
    whatColor = whatColor.toLowerCase();
    panColor = Color.getColor(whatColor);
    panel.setBackground(panColor);
    panel.repaint();
    Is it because the ActionEvent is 'void', should I pass the panColor back up to main class as a variable for the color?

    nope, if i set the color initially the panel just goes back to the default color
    this tells me that my code is not being understood, like java is expecting some other value, i looked in some references and found that the 'Color' is a class and likes three values for the r,g,b in either floats or ints should i try passing these three values back or try it right here in the method?
    any suggestions?

  • Change the title of a report dynamically

    Hi all,
    I have a report which does both download and upload activities.
    Then we have two TCODES based on which download and upload happen.
    My requirement is based on the two TCODES, I need to change the title of the report dynamically.
    Thanks and regards,
    Anishur

    Hi ,
    Set your title bars based on the condition.
    Created 2 title bars and use it
    INITIALIZATION.
      IF tcode = 'TCODE1'.
        SET TITLEBAR 'TCODE1'.
      ELSE.
        SET TITLEBAR 'TCODE2'.
      ENDIF.
    reward if usefull.
    Taher

  • Dynamically changing internal table in 'gui_download'

    Hi Experts,
                     i have to download 4 internal tables, each with different structures, to the presentation server using 'gui_download', based on which radio-button is selected in the selection screen. I am hoping to use a single 'form' and 4 'perform' calls. how can I dynamically change the tables in the 'gui_download' function modules.
    plz help.....................

    Hi ,
    Build the field catalog dynamically based on the internal table structure based on the radio button selected.Use the dynamic internal table generated from the filedcatalog and use in GUI_DOWNLOAD.
    See the below code:
    *& Report  ZRAJESH02
    REPORT  zrajesh02.
    Dynamic internal table
    TYPE-POOLS: slis.
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                  <dyn_wa>.
    DATA: alv_fldcat TYPE slis_t_fieldcat_alv,
          it_fldcat TYPE lvc_t_fcat.
    DATA: lv_monate TYPE f,
          lv_months TYPE i,
          lv_date TYPE sy-datum,
          p_check1 type n value '1'.
    lv_date = sy-datum + 360.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_check TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      CALL FUNCTION 'MONTHS_BETWEEN_TWO_DATES'
        EXPORTING
          i_datum_bis   = lv_date
          i_datum_von   = sy-datum
          i_kz_incl_bis = ' '
        IMPORTING
          e_monate      = lv_monate.
      lv_months = lv_monate.
      PERFORM f_fcat USING 'AUFNR' 'CHAR' '12'.
      PERFORM f_fcat USING 'POSNR' 'CHAR' '06'.
      while p_check1 LE p_check.
      PERFORM f_fcat USING p_check1 'CHAR' '1'.
      p_check1 = p_check1 + 1.
      endwhile.
      PERFORM build_dyn_itab.
      LOOP AT <dyn_table> INTO <dyn_wa>.
        WRITE:/ <dyn_wa>.
      ENDLOOP.
    FORM f_fcat USING fieldname dattyp length.
      DATA:wa_it_fldcat TYPE lvc_s_fcat.
      CLEAR wa_it_fldcat.
      wa_it_fldcat-fieldname = fieldname.
      wa_it_fldcat-datatype = dattyp.
      wa_it_fldcat-intlen = length.
      APPEND wa_it_fldcat TO it_fldcat .
    ENDFORM.                    "f_fcat
    *&      Form  build_dyn_itab
          text
    FORM build_dyn_itab.
      DATA: new_table TYPE REF TO data,
      new_line TYPE REF TO data.
    wa_it_fldcat TYPE lvc_s_fcat.
    CLEAR wa_it_fldcat.
    wa_it_fldcat-fieldname = 'AUFNR'.
    wa_it_fldcat-datatype = 'CHAR'.
    wa_it_fldcat-intlen = 12.
    APPEND wa_it_fldcat TO it_fldcat .
    CLEAR wa_it_fldcat.
    wa_it_fldcat-fieldname = 'POSNR'.
    wa_it_fldcat-datatype = 'CHAR'.
    wa_it_fldcat-intlen = 6.
    APPEND wa_it_fldcat TO it_fldcat .
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fldcat
        IMPORTING
          ep_table        = new_table.
      ASSIGN new_table->* TO <dyn_table>.
    Create dynamic work area and assign to FS
      CREATE DATA new_line LIKE LINE OF <dyn_table>.
      ASSIGN new_line->* TO <dyn_wa>.
    ENDFORM.                    "build_dyn_itab
    Thanks,
    Rajesh.

  • Dynamic change the ALV layout

    Alle experts:
    In ALV layout report, how to dynamic change the layout int ABAP porgram?
    e.g. I have save 5 layout, I need to change them base the my selection in ABAP program? How to do this?
    Thanks in advance!

    Try to call fieldcatlog dymnamically. Refer tofollowing code. Reward if helpful.
    REPORT  zfir0001 MESSAGE-ID ztax.
                               Tables
    TABLES : glt0, t001, skat.
                          Internal Tables
    DATA: BEGIN OF itab OCCURS 0,
            racct               LIKE   glt0-racct,    "Account number
            txt20               LIKE   skat-txt20,    "G/L account short text
            co_1000          LIKE     glt0-hslvt,     "Balance carried forward for company code 1000
            co_1100          LIKE     glt0-hslvt,     "Balance carried forward for company code 1100
            co_1200          LIKE     glt0-hslvt,     "Balance carried forward for company code 1200
    DATA : BEGIN OF itab1 OCCURS 0,
             bukrs LIKE glt0-bukrs,
             waers LIKE t001-waers,
           END OF itab1.
    DATA : BEGIN OF it_itab1 OCCURS 0.
            INCLUDE STRUCTURE glt0.
    DATA : END OF it_itab1.
                          Data Declarations
    DATA : w_total   LIKE glt0-hslvt,
           w_count   LIKE glt0-bukrs,
           w_flg     TYPE c,
           lv_count  TYPE i.
          w_slash   TYPE c VALUE ' '.
                          Selection screen
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE tit1.
    SELECT-OPTIONS : s_bukrs FOR glt0-bukrs OBLIGATORY,
                     s_racct FOR glt0-racct OBLIGATORY,
                     s_ryear FOR glt0-ryear OBLIGATORY,
                     s_rldnr FOR glt0-rldnr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
      tit1 = 'Please select:'(004).
      TYPE-POOLS: slis.                                 "ALV Declarations
      DATA: i_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
            gd_tab_group TYPE slis_t_sp_group_alv,
            gd_layout    TYPE slis_layout_alv,
            gd_repid     LIKE sy-repid.
    ********Geting the selected company code in table itab1****
    START-OF-SELECTION.
      IF NOT s_bukrs-high IS INITIAL.
        itab1-bukrs = s_bukrs-low.
        APPEND itab1.
        w_count = s_bukrs-low.
        DO.
          IF s_bukrs-high = w_count.
            EXIT.
          ELSE.
            w_count =  w_count + 1.
          ENDIF.
          SELECT SINGLE * FROM t001
              WHERE bukrs = w_count.
          IF sy-subrc = 0.
            itab1-bukrs = w_count.
            APPEND itab1.
            CLEAR itab1.
          ENDIF.
        ENDDO.
      ELSE.
        itab1-bukrs = s_bukrs-low.
        APPEND itab1.
      ENDIF.
      SELECT * FROM glt0 INTO CORRESPONDING FIELDS OF TABLE it_itab1
              WHERE rldnr   IN s_rldnr
              AND   bukrs   IN s_bukrs
              AND   ryear   IN s_ryear
              AND   racct   IN s_racct.
      SORT it_itab1 BY bukrs.
      LOOP AT it_itab1.
        AT END OF racct.
          w_flg = 'X'.
        ENDAT.
        SELECT SINGLE txt20 INTO (itab-txt20) FROM skat
                  WHERE spras = sy-langu
                  AND   saknr = it_itab1-racct.
        PACK it_itab1-racct TO it_itab1-racct.
        itab-racct = it_itab1-racct.
        w_total = it_itab1-hsl01 + it_itab1-hsl02 + it_itab1-hsl03 + it_itab1-hsl04 +
                  it_itab1-hsl05 + it_itab1-hsl06 + it_itab1-hsl07 + it_itab1-hsl08 +
                  it_itab1-hsl09 + it_itab1-hsl10 + it_itab1-hsl11 + it_itab1-hsl12 +
                  w_total        + it_itab1-hslvt.
        IF w_flg = 'X'.
          READ TABLE itab1 WITH KEY bukrs = it_itab1-bukrs.
          IF sy-subrc = 0.
            SELECT SINGLE * FROM t001
                WHERE bukrs = itab1-bukrs.
            IF t001-waers = 'JPY' OR
               t001-waers = 'HUF'.
              w_total =  w_total * 100.
            ENDIF.
            CASE it_itab1-bukrs.
              WHEN '1000'.
                itab-co_1000 = w_total.
              WHEN '1100'.
                itab-co_1100 = w_total.
              WHEN '1200'.
                itab-co_1200 = w_total.
            ENDCASE.
            COLLECT itab.
            CLEAR: itab, w_flg, w_total.
          ENDIF.
        ENDIF.
      ENDLOOP.
      SORT itab BY racct.
      IF NOT itab[] IS INITIAL.
        PERFORM field_cat1.
        lv_count = 1.
        LOOP AT itab1.
          PERFORM field_cat USING itab1-bukrs.
        ENDLOOP.
        PERFORM display_alv_report .
      ELSE.
        MESSAGE s000 WITH 'No records Found'(003).
      ENDIF.
    *&      Form  display_alv_report
          text
    FORM display_alv_report .
      gd_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = gd_repid
          is_layout          = gd_layout
          it_fieldcat        = i_fieldcat[]
          i_save             = 'X'
        TABLES
          t_outtab           = itab
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    ENDFORM.                    "display_alv_report
    *&      Form  field_cat1
          text
    FORM field_cat1 .
      i_fieldcat-col_pos     =  0.
      i_fieldcat-fieldname   = 'RACCT'.
      i_fieldcat-seltext_m    = 'Account'(001).
      i_fieldcat-fix_column = 'X'.
    i_fieldcat-emphasize   = 'X'.
      APPEND  i_fieldcat TO i_fieldcat.
      CLEAR  i_fieldcat.
      i_fieldcat-col_pos     =  1.
      i_fieldcat-fieldname   = 'TXT20'.
      i_fieldcat-seltext_m    = 'Description'(002).
      APPEND  i_fieldcat TO i_fieldcat.
      CLEAR  i_fieldcat.
    ENDFORM.                                                    "field_cat1
    *&      Form  field_cat
          text
         -->XV_BURKS   text
    FORM field_cat USING xv_burks TYPE char4.
      lv_count = lv_count + 1.
      i_fieldcat-col_pos     = lv_count.
      CONCATENATE 'CO_' xv_burks INTO i_fieldcat-fieldname.
      i_fieldcat-seltext_m    = xv_burks.
    i_fieldcat-just = 'C'.
    i_fieldcat-no_zero = 'X'.
    i_fieldcat-do_sum = 'X'.
      APPEND  i_fieldcat TO i_fieldcat.
      CLEAR  i_fieldcat.
    ENDFORM.   "field_cat
    Edited by: dhanashree wadkar on Apr 30, 2008 6:00 AM

Maybe you are looking for