Display a text with many lines

is within WD UI Element availablw where by I can display a text with many lines ?
Regards
Marco M

Hi,
TextEdit uielement is available, which is like a text area; user can enter free text in para's,multiple lines ,etc.
Steps:
Like any other uielement, right click and insert the textedit uielement on your view.
Create an attribute 'CA_TEXT'  type string and bind it with the value property of your text edit. 
Change the cols and row property to adjust your text edit width and height.
Use the following code to read the contents entered in the test edit,
Data: l_elem type ref to if_wd_context_element.
Data: l_text type string.
l_elem = wd_context->get_element( ).
l_elem->get_attribute( exporting name = 'CA_TEXT'
importing value = l_text }. "l_text will now have  the contents of your text edit.
Regards,
Radhika.

Similar Messages

  • Display a text in multiple lines inside a button

    I have a toggle button bar containing many buttons as follows:
    <mx:ToggleButtonBar id="menu"               
         itemClick="clickButton(event)"
         styleName="myToggleButtonBarStyle"/>
    The styles apllied are :
    <mx:Style>
              .myToggleButtonBarStyle {
                   button-style-name: "buttons";  
                   vertical-center:0;
         .buttons {
              text-selected-color: #14476c;
              text-roll-over-color: #14476c;
              up-skin: Embed(source="/phase_grey.png");
              over-skin: Embed(source="/phase_blue.png");
              down-skin: Embed(source="/phase_blue.png");
              selected-up-skin: Embed(source="/phase_blue.png");
              selected-over-skin: Embed(source="/phase_blue.png");
              selected-down-skin: Embed(source="/phase_blue.png");
              padding-left:45;
              padding-right:30;
         </mx:Style>
    My problem is that when I have a long text, it is displayed in one ligne so the button get larger. I do not want my button to get larger it has to keep the initila size (my button is an image). I want indeed to display the text in multiple lines rather than only one.
    How to do this?
    Thank's in advance

    These links on multi-line buttons in Flex should answer your question:
    http://blogs.adobe.com/aharui/2007/04/multiline_buttons.html
    http://www.igorcosta.org/?p=73
    http://www.nabble.com/Is-it-possible-to-make-multiline-Button--td7508988.html
    http://electro-bunny.blogspot.com/2009/02/creating-multiline-button-in-flex.html
    If this post answers your question or helps, please mark it as such.

  • Printing Text with multiple Lines

    Hello,
    i want to print a list and in that is text with multiple lines.
    In the PrintPreview and in the Printout i get only one line.
    How is the best way to do this?
    Thank you,
    Markus
    Private Function Print_Remarks_Control_Get(ByVal pstrText As String) As TextBox
    Dim TextBox_Out As New TextBox
    With TextBox_Out
    .Text = pstrText
    .HorizontalAlignment = Xaml.HorizontalAlignment.Left
    .VerticalAlignment = Xaml.VerticalAlignment.Top
    .FontSize = 16
    .Margin = New Thickness(15)
    .AcceptsReturn = True
    .MinWidth = 800
    .MinHeight = 600
    End With
    Return TextBox_Out
    End Function
    Sub PrintPageList_Prepare()
    Dim i As Integer
    Dim objVM As clsTextVM
    Dim lstText_List As ObservableCollection(Of clsText)
    Dim ctrPrint_StackPanel As StackPanel
    Dim ctrPrint_Title As TextBox
    Dim ctrPrint_Description As TextBox
    Dim ctrPrint_Remarks As TextBox
    Dim objText As clsText
    mPrintPageList.Clear()
    objVM = DirectCast(Me.DataContext, clsTextVM)
    lstText_List = objVM.CustomClass_List
    ctrPrint_StackPanel = Print_StackPanel_Get()
    For i = 0 To lstText_List.Count - 1
    objText = lstText_List.Item(i)
    If objText.Name.Length > 0 Then
    ctrPrint_Title = Print_Title_Control_Get(objText.Name)
    ctrPrint_StackPanel.Children.Add(ctrPrint_Title)
    End If
    If objText.Description.Length > 0 Then
    ctrPrint_Description = Print_Description_Control_Get(objText.Description)
    ctrPrint_StackPanel.Children.Add(ctrPrint_Description)
    End If
    If objText.Remarks.Length > 0 Then
    ctrPrint_Remarks = Print_Description_Control_Get(objText.Remarks)
    ctrPrint_StackPanel.Children.Add(ctrPrint_Remarks)
    End If
    Next
    mPrintPageList.Add(ctrPrint_StackPanel)
    End Sub
    Private Sub OnGetPreviewPage(sender As Object, e As GetPreviewPageEventArgs)
    ' Das ist die MessageBox
    ' Windows.UI.Popups.MessageDialog()
    PrintPageList_Prepare()
    mPrintDok.SetPreviewPage(e.PageNumber, Me.mPrintPageList(e.PageNumber - 1))
    End Sub

    Yes, not only RichEditBox but also RichTextBlock can also do this. Besides TextBox also have TextWrapping functionality.
    -James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Scripts : want to display the text in one line

    Dear Friends,
    i want to dispaly the below text in one line,but its displaying in next line.
    ITEM   MATERIAL  DESCRIPTION ORDERQTY  UNIT PricePerUnit NETVALUE
    i am using the following code
    IL           <K>Item,,Material,,Description ,,  Order qty.  ,,Unit   ,,    Price per unit   ,, Net value </>
    Thanks & Regards
    Shaik

    Hello Hussain,
    Remove the TAB Spacing ',,'. Instead u give the Space.
    Reduce the length of fonts.
    These are the ways to display the text in a line.
    If useful reward points.
    Regards,
    Vasanth

  • When i turn my imac on it displays a circle with a line thru it why

    When I turn my imac on it displays a circle with a line going threw it and says its loading but nothing appears on the screen. What should I do?

    If your data isn't backed up, get one of these tools to see if it can recover data from your drive to an external hard drive at least as large as your internal:
    https://discussions.apple.com/docs/DOC-1689
    If your data is backed up, and you are running 10.7 or later, boot with command-R.
    If your data is backed up, and you are running 10.6.8 or earlier, find the disk that either shipped with the Mac if it is matching
    the system you are running, but just an earlier version, (i.e. 10.6.8 users can use the 10.6.x bundled installer from the same Mac),
    or the retail installer that installed the operating system on the Mac.
    And select the Utilities menu after selecting the language, and select Disk Utility.
    From there select First Aid.
    And then see if the hard drive is selectable.
    If it is, Repair Disk.  If it isn't, or Repair Disk is not able to repair it, go to the store and purchase Alsoft Disk Warrior.  It may be able to make your machine bootable again.
    If it can't, you may have to replace the hard drive.

  • Fail to use Jeditorpane to display a text with big5 encoding

    Hi All,
    I fail to use Jeditorpane to display a text with big5 encoding correctly.
    It only show machine code.
    I am using jre1.6.0_17. Yet it works well with earlier version of jre like jre 1.6.0_15, and jre 1.6.0_16
    bcpscsin

    bcpscsin wrote:
    ..I can find it in javax.swing
    FFS! It is JEditorPane, not Jeditorpane. Count the freaking upper case letters in both of those!
    Convince yourself by following these two URLs
    [http://java.sun.com/javase/6/docs/api/javax/swing/JEditorPane.html] -> produces a web page.
    [http://java.sun.com/javase/6/docs/api/javax/swing/Jeditorpane.html] -> "Page Not Found"
    My point is - do not type 'something like' the class name - get it right so we can be sure. Programming is a technical business and programmers need to be very accurate. It is even more important to be very accurate when asking for help on an forum. People have very little time to 'hold your hand' about the correct spelling and capitalisation of class names - or anything else for that matter.
    You still have not answered my question about the bug database.

  • Display a text  with icon in a JTable cell and a textarea on click of icon

    Hello,
    I need to modify the JTable, so that in some cells I can display a text with a small icon or symbol, on click of the the icon or symbol a small JTextArea or a display should open exactly at the position of mouse click to display list of text values.
    I searched this forum, but could not find the right solution... a code example will be good....
    Eagerly waiting....
    Serj

    Are you using an annonymous inner class for your mouse listener? I think this coudl cause some problems in your case.
    Try creating your own listener class e.g.
    class myListener extends MouseListener(){....}
    in this class, add a field such as 'name' - set with the constructor. So when you create your "outer table" write something like..
    outerTable.addMouseListener(new myListener("outer"));
    And when you create the inner table, write something like
    innerTable.addMouseListener(new myListener("inner"));
    Then when you capture Mouse click events, you can work out whether the click came from an outer table or inner table:
    public void mouseClicked(MouseEvent e){
    if(this.name.equals("inner")).....
    else.....
    In this way you should avoid the problem of knowing which table was clicked on...and still us the same mouse listener.
    I hope this is what you mean!
    Chris.

  • Text with multiple lines limit each line to 10 digits

    Im trying to create a Numeric Field with multiple lines and limit the character per line to 10
    ideally I want the users to be able to paste in a 10 digit number similar to this:
    0001234567
    0001234568
    0001234569
    I can set my pattern to num{zzzzzzzzzz} but not sure how to allow multiple lines
    Im using Adobe LC ES2 Verison 9.0
    Thanks!

    better option is to use INCLUDE statement in SCRIPTS. its a script control command and you no need to use READ_TEXT and to loop it and send each line to script.
    if you use the above INCLUDE control command, SAP will take care of printing total text of that Object.
    here is the syntax :
    <b>/: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p] [NEW-PARAGRAPH np]</b>
    here /: indicates its an Control command.
    you have to use NAME, ID, LANGUAGE adn OBJECT here.
    if you give these details in the Text editor of script layout,automatically data will be printed on the screen.
    ex:
    /: INCLUDE &EKKO-EBELN& OBJECT EKKO ID X LANGUAGE E
    Hope you got the Idea.
    <b>here is brief help about INCLUDE:</b>
    Use INCLUDE to include the contents of another text into your text. The text to be included exists separately from yours and is only copied at the time of the output formatting. With INCLUDE, since the text is only read and inserted during the output formatting, the most current version of the required text is always available.
    and IF you are very specific about using READ_TEXT to display the contents,
    then you have to LOOP that table and call the WRITE_FORM to print the line on the layout.
    LOOP AT IT_TDLINES.
      CALL FUNCTION 'WRITE_FORM'
    ENDLOOP.
    Regards
    Srikanth
    Message was edited by: Srikanth Kidambi

  • How to input FI invoice with many line items using FB60

    Dear All,
    Currently the users are posting document consisting of 500 to 700 line items every period using transaction FB60. The line items that are posted every period are not repetitive in nature. It is consuming lot of time.
    Is there any efficient (simpler) way of posting the document with so many line items? could you please share your thoughts in this regard?
    Thanks & Regards
    Vasu

    Hi Vasu,
    Try to do a recording for a BDC program with Tcode SHDB.
    Then ask your ABAPer to developa program with this BDC recording.
    This will fix the purpose.
    Thanks,
    Srinu.

  • Problem in displaying total text in total line

    Hi...I am facing problem in displaying total text in first column of total line. Width of first column is sufficient to display text "TOTAL". But somehow its not getting displayed....Please Help...?
    code is as follows:
    ls_layout TYPE  slis_layout_alv .
    ls_layout-totals_text       = 'TOTAL'.
      ls_layout-colwidth_optimize = 'X'.
      ls_layout-no_vline          = 'X'.
      ls_layout-no_hline          = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program     = gv_repid            " Report ID
          i_callback_top_of_page = 'TOP_OF_PAGE'
          is_layout              = ls_layout
          it_fieldcat            = gt_fieldcat         " Field Catlog
        TABLES
          t_outtab               = gt_cost_output      " Output Table

    hi me to i have the same problem
       FORM create_layout .
      data: text(20) TYPE c.
      it_layout-window_titlebar   = text.
      it_layout-colwidth_optimize = 'X'.
      it_layout-totals_text       = text-013."'Totals'(013).
      it_layout-cell_merge        = 'X'.
      it_layout-zebra             = 'X'.
    ENDFORM.         
    but no output total in alv
    also i had another broplem i had unit i wanna show it in total line and calc value in header

  • How to Display Html Text with Image

    HI Frens,
    I am getting some html text from a source, Later i want to
    display that data, but it may happened that it has some images in
    it. Currently I am using text area to display it.
    Now My question is if there is any image will it show, as we
    can see it in our mails? if Not, Which component I should use for
    this?
    I also want that I need to select some file from, How can i
    get open dialog box here?
    Thks in Advance for replies frens:
    Ashish Mishra

    Hi Ashish,
    If I have understood your requirement properly, u want to
    display html text on a flex application.
    I think there its better if you use the html component to
    display the text. I have a sample code which will give you a
    direction to think on.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical"
    creationComplete="initApp( )">
    <mx:Script>
    <![CDATA[
    public function initApp( ):void
    var initHtml:String = "<html><head> \
    <title='Page Example'/> \
    <body bgcolor='#ccddee'><h1>Page
    Example</h1> \
    <p>This is a complete <b>HTML</b> \
    page as a
    <em>string</em>.</p></html></body>";
    this.html.htmlText = initHtml;
    ]]>
    </mx:Script>
    <mx:HTML id="html" width="100%" height="100%" />
    </mx:Application>
    Also do you want a file open dialog box??

  • How to display many Links like text with multi lines?

    I need to:
    1)display many links in one container like text
    2)each link have onClick event Handler
    Example:
    Link1 SomeLink2 Link3 \*
    Link4 AnatherLink5            \*
    AndOneMoreLink6              \*
    \* - right border of container
    i'v tried TileGroup, but it has colums.... Group - overlapped links in one place.... and so on.
    Any ideas how to do it?

    I think you overlooked some of the possibilities provided by Apex.
    For instance you can create a simple HTML region where you put the links as you prefer (makes sense if they are a fixed number and you need a special formatting).
    You can also create Lists (see shared components). Lists are specifically meant for links, like Task lists in the Apex Builder itself, but you cannot build them dynamically, so you must know in advance each and every static link.
    Or you can create a report if links come as result of a query which is good for building them dynamically.
    A fourth option is a PL/SQL region outputting HTP calls where you have total control over every aspect.
    Flavio
    http://oraclequirks.blogspot.com

  • When trying to edit or download a pdf document, it becomes too large or on screen or normal size with many lines of text blacked out. How do I get it to do the normal presentation of the document

    For years my pdf docs downloaded for viewing or editing as normally sized documents.
    Now when I pull up a pdf from file, it becomes too large or becomes normal page size but many of the lines of text are blacked out. How do I correct it to go back to the previous default page size?

    Hi wh4936,
    Are you opening those files in Acrobat or Reader? You can set the default page size in the Page Display preferences. Choose Acrobat/Reader > Preferences in Mac OS, or Edit > Preferences in Windows to access the preference settings. Do the black lines only appear when the PDF is zoomed in? Or are they there regardless of the page magnification?
    Best,
    Sara

  • Operating system not able to display some website or display with many lines. too sllow also.

    I just have a new HP pavillon .but am not able to access some of the website I was using wiht windows 7.What will happen if I change it to windows 7. Do I am going to loose my garanty ?

    I have a iMac and Macbook pro at work and at home also, all less than two years old, one two weeks old, and I have noticed the same behavior.  As in your case it has been going on for a couple of months or so. Depending on the download speed the page eventually loads and it never happens later in the evening or early in the am. Have a PC that has the same issue among others.  My ISP says it's a bottleneck problem that they have no control over.  Minor irritation, if yours is more than that it may be something else but I wouldn't try to fix something that might not be broken, give it some time my connection speeds have been better lately and haven't noticed it as much if at all.  

  • Cell.text with multi line content

    Hello anybody.
    Here is my code .
    story_title = [[NSMutableArray alloc] init];
    scripture_location = [[NSMutableArray alloc] init];
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    cell.text = [story_title objectAtIndex:indexPath.row];
    cell.lineBreakMode = UILineBreakModeWordWrap;
    cell.text = [scripture_location objectAtIndex:indexPath.row];
    return cell;
    How can i make multi line in single cell . My code is diplayed last array list content. The line break is not working.
    Please help me with example
    Nalan.

    Double click on the text box and look in properties. There are many different options there including text wrap.
    (of course I'm referring to a form field and not a bunch of text that was included in the original document)

Maybe you are looking for

  • Display particular plot legend

    Hi there, I have a listbox that has 100 items into it and I plot like 25 items at a time but the plot legend has all the 100 plots legends. How could I just display the 25 Plot legend selected from the list box. Thanks Solved! Go to Solution.

  • NullPointerException when JFrame.setVisible is called

    Hi, We are upgrading our app from JDK 1.2.2 to JDK 1.4. App used to work fine with JDK 1.2.2. Now it throws a NullPointerException on one of the calls to JFrame.setVisible method. Here is the error: java.lang.NullPointerException at javax.swing.text.

  • POWL showing incorrect Shopping Carts

    Hello, We are implementing SRM on Portal 7.3. When a User 1 logs into the Portal , he is able to View his Shopping carts. Now he logs Off from the Portal,and User 2 Logs in to access the POWL, he gets the Shopping Carts of User 1. Is this related to

  • Spinning, with blur effect

    Dear all I'm trying to create a 'spinning text effect' in Flash - a bit like a reel of a one armed bandit machine - going round counter clockwise, with a a bit of motion blur so you can't read the text whilst in the spin, with the spin slowly coming

  • Losing layers when saving

    I am currently creating template letters in photoshop due to the design required on the paper and have completed my designs. I am first saving as a PSD file, I am then exporting as a PDF with a different file name and in a different location. However