Weird square like Tab Character in Multiline Text

ebs version 11.5
forms 6i
I have a multiline text item that allows the user to keep hitting an “add to text box” button to append to the text in the box. Every time they click the “add to text box” button, the new text should be placed on a new line. To accomplish this, I just do textitem:=textitem||CHR(13)||CHR(10);
This causes a tab character (little square) to be displayed on each line. What can I do to get rid of this? Is there a setting on the text item I can set or is there a different way to accomplish this?

The square is how the new line character (chr(13) or chr(10)) is shown. I don't think there is much you can do.
One thing to try is see if the following works
textitem := textitem || '
';Sandeep Gandhi

Similar Messages

  • How do I insert the tab character in a table cell in Pages 5.2?

    I'm typing text in a table cell.  I need to insert a tab in the text.  I've tried all of the modifier keys with the tab.  I read somewhere it would be CTRL>TAB, like Word, but that navigates to the Inspector.

    You will need to add a Unicode keyboard. System Preferences > Keyboard > Input Sources. Click the + button in the lower left. Scroll all the way to the end and select Others > Unicode Hex Input. Select and Add this. Check the box that says Show input menu in menu bar. Exit System Preferences.
    From the Finder menu, select your recent Unicode Hex Input source (it is a black box with white U+ in it). Now, position your cursor in your table cell between the characters where you want to insert a tab character. Press and hold your option key, then type 0009 (zeroes). This is the Unicode sequence for the tab control character. Space will open in your text. Tabs in table cells survive PDF export. The tab mark will not appear with Show invisibles enabled.
    Switch back to your normal country input source in that Finder input source menu.

  • How to change display width of TAB character in a TextArea?

    Is it possible to change the width of an insert TAB character in a Flex TextArea?
    I'm capturing FocusEvent.KEY_FOCUS_CHANGE events and manually inserting a "\t" into a text area styled with an embedded monospace font. By default, the TABs are being displayed two and a half monospace characters wide. I need them to display five monospace characters wide.
    Any ideas on how to do this?

    Try doing something like this:
    class MyJTextArea extends JTextArea {
        public boolean keyDown(Event evt,int key) {
            if(key == 13 || key == 10) { // or whatever ascii codes enter may have
                // move carret to next line
            } else {
                super.keyDown(evt, key);
    }which means you have got to catch the enter-key before the actutal JTextArea does this.
    p.s. look at my post, maybe you can help me, too.
    http://forum.java.sun.com/thread.jsp?forum=5&thread=465803&tstart=0&trange=100

  • 'Tab' character used in the Message Built-in

    Hi. I know you can concatenate a chr(10) function into the Message built-in, but is there a similar way to concatenate a 'tab' into the Message built-in or an Alert? Basically I want to pop-up a message and use the 'tab' character to seperate 2 columns of text. Like this:
    "This a message to the user:
    VarName1 <tab> VarValue1
    VarName2 <tab> VarValue2
    VarName3 <tab> VarValue3
    VarName4 <tab> VarValue4"
    Any help would be greatly appreciated.

    Hello,
    Can we see any example how in different ways/value you want to display in message?
    For keep the orignal formatting/spacing in the forum page you can use tags before and after the example/coding section.
    All small letters in curly brackets. See the FAQ on right corner of page for more clarification.
    -Ammad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • TAB character

    Hello Gurus.
    I am working with Oracle Reports 6i and I simply try to print a TAB char at the beginning of my paragraphs. Adding the chr(9) when needed does not work, it is replaced by a space. And space don't work for me as my text is justified.
    Is there really no way to have a tab character (indentation) with report?
    For example, how can I do this:
    (TAB here) Dear Mister Scott,
    (TAB here) I would like to indent the first line of my paragraph with Oracle Reports 6i. As the TAB character (chr(9)) does not work with Reports, how could I simply do this? My text is justified and each paragraph is linked to a field.
    Thanks in advance!
    Guille

    I tried it in Report Builder 6.0.8.23.0.
    DataModel
    1. Query
    select '*'||CHR(9)||'Dear Mister Scott,'||'*' My_Tab from dual;
    2. Formula Column --> CF_TAB01
    function CF_Tab01 return VARCHAR is
    begin
    RETURN('*'||CHR(9)||CHR(9)||CHR(9)||'Dear Mister Martin,'||CHR(9)||'*');
    end;
    3. Formula Column --> CF_TAB02
    function CF_Tab02 return Char is
    v_tab CONSTANT VARCHAR2(10):= CHR(9);
    v_string VARCHAR2(80):= '*'||v_tab||v_tab||'Dear Mrs. Willson,'||'*';
    begin
    srw.message(1.00,'v_string: '||v_string);
    RETURN(v_string);
    end;
    It works fine!
    But I could be a problem with the current_character_set.
    The following example assumes that the national character set is UTF16:
    SQL> select '*'||CHR(9 USING NCHAR_CS)||'Dear Mister Robinson,'||'*' my_tab from dual;
    MY_TAB
    * Dear Mister Robinson,*

  • Grep to add tab character after first character?

    Hello
    Are any GREP wizards able to help with a question?
    I am trying to add a tab character after the very first character in a line in a paragraph style. So for example I would like a tab after the I, D, O and N in the following poem ...
    Incy Wincy spider climbed up the spout
    Down came the rain and washed the spider out
    Out came the sun and dried up all the rain
    Now Incy Wincy spider went up the spout again
    Thanks!

    No worries, GREP is greedy by default as well
    Use the same 'find' but change to
    \t$0\t
    -- where each "\t" is a Tab and "$0" is 'the text just found', i.e., what gets highlighted when you press "Find next".

  • IPod Video Notes - Tab Character not interpreted

    Hello,
    I'm having some difficulty with the formatting of text displayed on the iPod Video.
    For some reason, my iPod refuses to interpret the TAB character. It simply omits it, concatenating the adjacent text into one long string. I created text files in nano, saving them in both the default and "mac" modes, as well as in the MAC application "textedit" and neither worked.
    An obvious solution would be to use spaces to replace the tabs, however for some reason the iPod appears to use a proportional font, which screws up the alignment.
    Can anyone tell me how to get the iPod to see the TABs or to change to a non-propotional font?

    Me again,
    James Lee, at Tropical Software was kind enough to respond to an e-mail and explain that this is an inherent flaw in the ipod's ability to render text.
    I'm really stunned that the iPod notes function can't display a tab character. That's just silly. The TAB has been a part of ascii since before FM radio was cool.
    C'mon Apple - fix this one!
    And let me plug Tropical Software. Anyone with customer service like they have, deserves it! Check out their Tropical Notes for iPod at www.tropic4.com
    I figured I'd answer my own question in case someone else googles for this...
    cheers
    iMac Mac OS X (10.4)
    iMac Mac OS X (10.4)

  • Gnome-terminal weird square

    Hello,
    I'm having a problem with gnome-terminal. I'm getting a weird square where it should just be a directory listing.
    http://i36.tinypic.com/aw49k3.jpg - Pictures are better than words.
    The character encoding is set to UTF-8, and my PS1="" line is:
    PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:(\033[01;34m\]\w\[\033[00m\])\$ "
    I don't have this problem in urxvt... Any ideas?

    Looks like an escape was missing. Not sure why urxvt wasn't affected...
    Does the following work as desired?
    PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:(\[\033[01;34m\]\w\[\033[00m\])\$ "
    cheers,

  • How do I make the pages larger with firefox? I like to use this but text is was to small. So I always go back to internet explorer. HELP

    I don't have any tool space on the top of the page. only home and favorites google too. I also don't have to bottom where I can press to get to my programs. I do like firefox. But the text is way to small. How do I fix these things?

    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: Command+Shift+F).
    *https://support.mozilla.org/kb/how-to-use-full-screen
    If you are in full screen mode then hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.
    Click the Maximize button (top right corner of the Navigation Toolbar) to leave full screen mode or right-click empty space on a toolbar and choose "Exit Full Screen Mode" or press the F11 key.
    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Integrate html tags in a string and display it in a multiline text area

    Hi ABAPers!!
    First of all let me tell you that I'm working in ACCENTURE Casablanca(Morocco) and this is my first Job in my career.
    I'm working on an ALV OO, the program consists on creating an ALV using OO, In my selection screen there's a parameter of type ddobjname I provide the name of table and it returns the table's fields in another dynpro (screen0100), To do this I used the FM: 'DDIF_FIELDINFO_GET' then I append the internal table returned in another one to add the field CB (CheckBox), and I add a button in the toolbar, the function of this button is to generate a MySQL script To create the table provided by the user in my parameter (Screen 1000), but the fields of this table(MySQL) in the generated script are only the selected ones by cheking the checkbox in the ALV.
    I store my script in a string.
    My problem is that I want to show my script in a text area, but I don't know how to create a multiline text area!!
    And I want to use HTML tags in my string.
    I don't want to my string like this :
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI ( CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY , FLTIME INT ( 10 ) , DEPTIME DATETIME ( 6 ) , DISTANCE DOUBLE ( 9 ) , FLTYPE VARCHAR ( 1 ));
    But I want it to be shown like  this:
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI (
    CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY ,
    FLTIME INT ( 10 ) ,
    DEPTIME DATETIME ( 6 ) ,
    DISTANCE DOUBLE ( 9 ) ,
    FLTYPE VARCHAR ( 1 ));
    Thanks in advance
    Regards
    SMAALI Achraf
    Edited by: SMAALI90 on May 11, 2011 7:12 PM

    Hi again!!
    You know what!! let's forget the HTML and focuse on what I want to show.
    As I told you, I've a string which contains my script.
    I don't want that it will be shown as a simple line like this :
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI ( CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY , FLTIME INT ( 10 ) , DEPTIME DATETIME ( 6 ) , DISTANCE DOUBLE ( 9 ) , FLTYPE VARCHAR ( 1 ));
    But I want it to be shown as follows:
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI (
    CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY ,
    FLTIME INT ( 10 ) ,
    DEPTIME DATETIME ( 6 ) ,
    DISTANCE DOUBLE ( 9 ) ,
    FLTYPE VARCHAR ( 1 ));
    and finally I want to show it in a multiline text area.
    Plz what shud I do?!!! If possible I need a piece of code.
    PS : I create a HTML Viewer using this code :
    DATA : go_conteneur          TYPE REF TO cl_gui_docking_container,
                 go_controle_html    TYPE REF TO cl_gui_html_viewer.                 
      CREATE OBJECT go_conteneur                     
        EXPORTING                                    
          repid     = sy-repid                       
          dynnr     = '0100'                         
          side      = go_conteneur->dock_at_bottom   
          extension = 1000                           
          name      = 'CONTENEUR'                    
        EXCEPTIONS                                   
          OTHERS    = 1.                             
      CREATE OBJECT go_controle_html                 
        EXPORTING                                    
          parent = go_conteneur                      
        EXCEPTIONS                                   
          OTHERS = 1.
    But when it's shown my ALV disappears!!!

  • My Mac won't read cyrillic in certain files and displays instead weird characters like this: "–í–µ-Ç–µ-Ä –ø-Ä–æ–¥–∏-Ä–∞–µ-Ç –¥–æ –∫–æ-Å-Ç–µ–π." Any ideas why this might be or how I can solve it?

    Yesterday I extracted the subtitles of an MKV file to try and print them. Unfortunately, when I open the .srt file with any text processor, it displays weird characters like the ones included in the title:
    "–û–±—ã–≤–∞—Ç–µ–ª–∏ –ø–µ—á–∞–ª—å–Ω—ã.
    –í–µ—Ç–µ—Ä –ø—Ä–æ–¥–∏—Ä–∞–µ—Ç –¥–æ –∫–æ—Å—Ç–µ–π."
    I thought this had to do with it being an .srt file, but just now I encountered the same problem with an Excel file.
    Any ideas why this might be or suggestions as to how to solve it?
    Thanks in advance,
    Mario

    It looks like an encoding problem.  You should try opening the file in a text editor where you can choose one of the various possible cyrillic encodings (utf-8, koi8-r, iso-8859-5, win-1251, MacCyrillic)

  • How to type "tab" character in terminal?

    Hi,
    In the terminal, I would like to be able to simply type a literal "tab" character. I know, by default, the tab key is used for auto-completion based on file system (I would like to keep it that way).
    I tried several things, nothing seems to work for me:
    - Copy-paste an existing tab character within the terminal
    - Add keyboard shortcut in the Terminal preferences > Settings > Keyboard (/011)
    - Insert 'LINE TABULATION' character from the Terminal > Edit > Special Characters... window
    Hopefully, someone has done this before?

    You can type any character that has a special meaning in the terminal by preceding it with ^V. So to type a tab character, just type ^V followed by the tab.

  • Problem with multiline text item return on query

    Hi there, I am a beginner in ORACLE, here when i write a query i engaged a weird problem,
    LOOP
    FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
    EXIT WHEN CSR_ODR2%NOTFOUND;
    END LOOP;
    this is the cursor version, I also tried SELECT statement, but have trouble about return more than 1 row.
    :Order_Record is a detailed-form with multiline text items,while execute this cursor, it always rewrite the 1st line and wont go to 2nd line, I wanna get some help about how to display different records in different line in a text item.
    btw, i tried next_record,next_item,next_field, but none of them works, the query is based on the record i filled on the master form, and show related record in detailed-form
    Kyle
    Edited by: user12234866 on 13-Jun-2010 00:32

    DECLARE
    CURSOR CSR_ORDER IS
    SELECT T.ORDER_DATE,T.WEIGHT,T.CUSTOMER,T.DRIVER_NO,T.INVOICE_NO,T.LICENSE_NR_TRUCK,T.PRODUCT,T.PRICE_PER_TON,T.TRAILER_NO
    FROM TRANSPORT_ORDER T
    WHERE T.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO;
    BEGIN
    OPEN CSR_ORDER;
    LOOP
    FETCH CSR_ORDER INTO :TRANSPORT_ORDER.ORDER_DATE,:TRANSPORT_ORDER.WEIGHT,:TRANSPORT_ORDER.CUSTOMER,:TRANSPORT_ORDER.DRIVER_NO,:TRANSPORT_ORDER.INVOICE_NO,:TRANSPORT_ORDER.LICENSE_NR_TRUCK,:TRANSPORT_ORDER.PRODUCT,:TRANSPORT_ORDER.PRICE_PER_TON,:TRANSPORT_ORDER.TRAILER_NO;
    EXIT WHEN CSR_ORDER%NOTFOUND;
    END LOOP;
    END;
    DECLARE
    CURSOR CSR_ODR2 IS
    SELECT O.OREDER_RECORD_NO,O.BILL_NO,O.ACTUALO_WEIGHT,O.OPERATION,O.PLACE,O.TRANSACTION_DATE,O.ORDER_NO
    FROM ORDER_RECORD O
    WHERE O.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO
    ORDER BY OREDER_RECORD_NO asc;
    BEGIN
    OPEN CSR_ODR2;
    GO_BLOCK(':ORDER_RECORD');
    LOOP
    FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
    EXIT WHEN CSR_ODR2%NOTFOUND;
    END LOOP;
    END;
    thats the stuff i wrote here to execute

  • Finding and Changing "first word character syle" in text

    I want to search spesific word and only replacing first founded word character style in text. Like this :
    "Transfer to Istanbul Airport for morning flight to Adana.  Meet and transfer to Antioch , the place where the followers of Jesus were first called Christians. Here you will visit the Church of St. Peter, a grotto discovered by the Crusaders and reputed to be the cave church where early Christians met in secret. At the Mosaic Museum in Antioch you will see an unusually rich collection of mosaics from this area. Following your visit at the museum, you will go to the Seleucia Pieria, the ancient port town of Antioch from which Paul and Barnabas set out on their first journey and where Paul returned afterwards.  Finaly, you will check into the hotel in Antioch for dinner and overnight. (B,D)"
    This paragraph contains 4 Antioch word. And I want to make BOLD first one.
    This is my code but this code change all of them to bold. Can anyone help me?
    var myDocument = app.documents.item(0);
    // Clear old preferences
    app.findTextPreferences = NothingEnum.nothing;
    app.changeTextPreferences = NothingEnum.nothing;
    //Set the find options.
    app.findChangeTextOptions.caseSensitive = false;
    app.findChangeTextOptions.includeFootnotes = false;
    app.findChangeTextOptions.includeHiddenLayers = false;
    app.findChangeTextOptions.includeLockedLayersForFind = false;
    app.findChangeTextOptions.includeLockedStoriesForFind = false;
    app.findChangeTextOptions.includeMasterPages = false;
    app.findChangeTextOptions.wholeWord = false;
    // This CharacterStyle set to BOLD FONT STYLE
    app.changeTextPreferences.appliedCharacterStyle = myCharacterStyle;  
    app.findTextPreferences.findWhat = "Antioch";
    app.changeTextPreferences.changeTo = "Antioch";
    myDocument.changeText();

    @cuneytoral – the explanation is:
    findText() ( or findGrep() ) are methods that return an array of found texts (formatted text objects).
    So the result with index 0 is the first one found. The last one is the length of the array -1.
    Since the result is of type Array and not Collection, we cannot define a range with the itemByRange() method.
    And also we cannot define the last item as allFoundItems[-1], but to have write this:
    allFoundItems[allFoundItems.length-1].appliedCharacterStyle = myCharacterStyle;
    to address the last found one.
    Say, we want to format the found texts from the second one found to the last one found, we have to loop through the found array:
    We do not start the loop with 0, but with 1:
    for(var n=1;n<allFoundItems.length;n++){
        allFoundItems[n].appliedCharacterStyle = myCharacterStyle;
    Formatting every other of the found texts would be:
    for(var n=0;n<allFoundItems.length;n=n+2){
        allFoundItems[n].appliedCharacterStyle = myCharacterStyle;
    Just to give you some ideas…
    Uwe

  • Replace tab character from string in ABAP

    hi experts,
    I have a string like this "a<tab character>b<tab character>c<tab character>d". for my processing i want the output like "abcd". How can i replace all occurances of this tab character from my string.
    tab character = a hexa decimal character. I dont know the hex value for this.
    regards
    Raghav

    hi you joined SCN in 2007 its a way long time to say.. ur new.. any ways.
    after declaring the lv_tab as I said...
    REPLACE ALL OCCURRENCES OF lv_tab in <string> with space.

Maybe you are looking for