Can I insert a new text at the cursor's position In Formatted-Text-Edit?

Hi Everyone,
    I am doing a task to enhance Formatted-Text-Edit,
    The task's goal is: simultaneously edit/display text and image.
    I decide to use Formatted-Text-Edit and Formatted-Text-View to realize the task.
    In Formatted-Text-Edit, user can edit the text and input URL for image,
    In Formatted-Text-View, the text and image can be displayed simultaneously.
    I add a button "Insert Image" besides the Formatted-Text-Edit,
   This is the key point:
   When user click the button, I want to insert a new text(URL of the image) at the cursor's position in Formatted-Text-Edit,
   But how can I get the cursor's position, and insert a new text at the cursor's position in FTE.
   Can anyone give me some suggestion or solution?
   Many thanks in advance.
Best Regards,
Derek

I don't believe that you can get the cursor position yet with the FormattedTextEdit UI element. The best you could do currently is to place the insert at the end of the current text.
Note duplicate thread/question to;
Set cursor on the table column inherited with text edit UI element
Please don't double post your questions in the forum.

Similar Messages

  • HT3226 My iphone 4s fell down on the floor and a very very small bit on the edge of my iphone were broken. Can I insert a new iphone body panel with replace the old one

    My iphone 4s fell down on the floor and a very very small bit on the edge of my iphone were broken. Can I insert a new iphone body panel with replace the old one.. ???

    I think I had it on the iCloud, I just changed computers and had part of my old computer backed up, where are the default iTunes info saved like the pictures and I know my contacts were backed up cuz I kept getting updated stuff that I wasn't sure about, but it was contacts where some belonged to my wife's contacts....but anyway, if the cloud backed up contacts, it should have grabbed pictures too? Like I asked before, if they were backed up to the computer, is there a default iTunes folder they are saved to? I had a crap load of pictures on there that I usually could really access if I was connected to wi-fi. I turned off my data stuff as I only have 4GB and between me and my 2 kids, we seemed to use up a lot of it. My son would play music from Pandora during work, and use up all our data til I limited him to only 3GB, my daughter and I barely used 1GB. Anyway, thanks to everybody that is answering. I thought I might have done good finding the dang sim card, but pointless I guess.
    Ralph - F.Y.I. I would be happy to back up the iPhone if I could turn it on LOL......I am pretty positive I did, but what about Text messages? ANY of those saved too or not? Sorry guys, I don't know a **** of a lot about cell phones, but I do know about memory cards, but not sim cards that act like memory cards or look like them anyway. What is the purpose of a sim card if I may ask a stupid question since they don't hold any data from my phone stuff. I just hope my stuff comes back on the new replacement phone once I get it up and running. Again, thanks to everybody for the edumucation.

  • Can't insert a CD/DVD into the disc drive.  Recently installed a new harddrive, and the CD/DVD drive hardware is no longer recognized. Also, with new harddrive,  OS was updated from Snow Leopard to Mt. Lion 10.8.5 on late 2007 MBP.

    Can't insert a CD/DVD into the disc drive.  Recently installed a new 1 tb hard drive, and the CD/DVD drive hardware is no longer recognized. Also, with new hard drive,  OS was updated from Snow Leopard to Mt. Lion 10.8.5 on late 2007 MBP (2.2 GHZ Intel Core 2 Duo.  4 GB 667 MHZ DDR2 SDRAM)

    Also, when I check out the hardware list, under Disc Burning - the following is reported:  No disc burning device was found. If the device is external, make sure it’s connected and turned on.
    The disc drive worked fine prior to the HD upgrade and OS update to Mt. Lion.

  • I can't register my new nano. The online form asks for serial number but does not supply a box in which to insert it

    I can't register my new nano. The online form asks for the serial number but there is no box in
    which to insert the number.

    Have you tried restarting your computer?
    Register by phone:  Apple Customer Relations 1-800-767-2775

  • How can I insert multiple page contents in the page layout properly?

    I wanted to create 4 columns on the page layout. These 4 columns are of page contents.
    After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4 columns.
    Then, the result (from all columns) becomes the same.
    Image - edit the web page based on 4 columns page layout:
    Image - after edit & save:
    How can I insert multiple page contents in the page layout properly?

    First, I copied the HTML snippet for the Page Content on Sharepoint's Design Manger. The code of Page Content HTML snippet is shown below:
    <div data-name="Page Field: Page Content">
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField"
    Namespace="Microsoft.SharePoint.Publishing.WebControls"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField
    FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="ctl02_label" style="display:none">Page Content</div>
    <div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field"
    style="display:inline" aria-labelledby="ctl02_label"><div align="left"
    class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
    nowrap="nowrap"><span class="ms-formfieldlabel"
    nowrap="nowrap">Page Content</span></div>
    <div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">
    Page Content field value. Lorem ipsum dolor sit incididuntet dolore.</div>
    </div></div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet-->
    </div>
    After I published the page layout, I found the code for Page Content from its ASPX page. The code is shown below:
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/></div>
    So, I attempted to create 4 columns by using 4 HTML snippets of Page Content on the same page layout. The page layout is generated from HTML file to ASPX file.
    Then I edited some parts in ASPX page layout:
    <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain">
    <table>
    <tr>
    <td style="width:70px;">&nbsp;</td>
    <td style="width:250px; text-align:right;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:40px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:175px;">&nbsp;</td>
    </tr>
    </table>
    </asp:Content>
    The 4 columns for Page Contents appeared on the web page when I created new page using that page layout. But the problem is that all 4 columns displayed the same result from 4th column.

  • How can I start a new paragraph within the same table cell?

    In Numbers, when adding text within a table frame, how can I start a new line within the same frame (rather than advancing to the next cell)?  I'd like to enter a mini-list of several items of various lengths of data.

    While Wayne's answer solves your problem, another possibility is to uncheck the box at the bottom of the Table inspector for "Return key moves to next cell." If that is unchecked, the return key types a paragraph return within the cell (the same as Option Return with the box checked).
    With that box unchecked, Shift Return types a soft return (new line without a paragraph break).

  • BAPI to insert a new row in the AUSP table

    Hi all,
    I am in search of a BAPI to insert a new row in the AUSP table... with the fields of the object and
    characteristic values.
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    hi,
    from best of my knowledge  here is list of bapi through you can insert ausp table.
    check it.
    CLSE_SELECT_AUSP
    CLVF_INSERT_AUSP
    BAPI_CLASS_CREATE
    C14K_AUSP_CHANGE_VALUE
    CLSE_SELECT_AUSP
    CLVF_UPDATE_AUSP
    C14K_AUSP_ADD_UPD
    BAPI_CLASS_CREATE
    regards,
    vipul

  • How can I download a new text alert from i tunes?

    I have an Iphone 4, How can I download a new text alert from I tunes?  I can download a ringtone, but not a text alert?

    ok thanks for that, it just seems daft that for such an advanced phone it wont let you do anything as basic as changing a text alert
    on a similar gripe, would you be able to tell me why the bluetooth doesn't appear to work either?

  • How can u insert and retrieve text files in any format using forms6i.

    how can u insert and retrieve text files in any format using forms6i.
    can u give me an example of an insert statement, let's assume the file is located in the a:drive.
    and retrieving the files, i would give the user a list of all the files that are in the database, the user would select one, but what command(or piece of code) would open the file in its apppropriate editor.
    e.g .pdf formatted file would open in acrobat.
    any help would be appreciated.
    Thanks
    Hussein Saiger

    the filereference class is for downloading and uploading files.
    if you want to load xml, use the xml class.
    and, if you want to write to an xml file and don't want to use server-side code, wait.

  • I downloaded a digital copy of a movie and when I went to play the iTunes special features lines of code appeared instead? Can I get a new download of the iTunes special features?

    I downloaded a digital copy of the film Hanna and the digital copy was supposed to come with itunes extras (special features) but when I click on it a bunch of code appears as follows in stead of the special features:
    <!doctype html>
    <html>
    <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="hdtv-fullscreen" content="true" />
    <meta name="hdtv-cursor-off" content="true" />
    <title>Hanna</title>
    <!--      TuneKit      -->
        <script type="text/javascript" src="TuneKit/src/TuneKit.js" charset="utf-8"></script>
    <!--      Styles      -->
    <link rel="stylesheet" href="css/shared.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/home.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/chapters.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/features.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/gallery.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/more.css" type="text/css" media="screen" />
    <!--      Controllers      -->
    <script type="text/javascript" src="controllers/data.js" charset="utf-8"></script>
    <script type="text/javascript" src="controllers/home.js" charset="utf-8"></script>
    <script type="text/javascript" src="controllers/chapters.js" charset="utf-8"></script>
    <script type="text/javascript" src="controllers/features.js" charset="utf-8"></script>
    <script type="text/javascript" src="controllers/gallery.js" charset="utf-8"></script>
    <script type="text/javascript" src="controllers/more.js" charset="utf-8"></script>
    </head>
    <body>
    <div id="bleed">
    <div id="navigation">
    <div id="vid" class="vid_bg">
    </div>
    </div>
    </div>
    </body>
    </html>
    Can I get a new download for the special features?

    andrewfromcarmel,
    I experienced a similar issue with 10.6.8 and iTunes 11.
    Several questions:
    1. What version of iTunes are you using?
    2. Is your iTunes library located on a network drive or a local drive?
    3. What error are you getting during the download?
    4. Do you have the ability to try and download the extras file on a different computer?
    Regards,

  • How can I get a new copy of the Voicemail app for my LG Spectrum?

    How can I get a new copy of the Voicemail app for my LG Spectrum?  It no longer works....the screen say Loading please wait....the
    !Visual Voice Mail - A Visual Voice Mail error has occurred.  Please try again. OK   I've tryed several times with the same message.  I've
    deleted the app from my screen and replaced it from the Apps Library....still the same message.
    I cannot find an answer on MyVerizon.  Any ideas?
    Thank you,
    Dee

    OK, at least 3 is working.
    I don't know how you have a Tape Recorder icon on your Home Screen. I cannot add one myself. But, I am running Holo Launcher in replacement of the default LG "Optimus" User Interface. It's much better in my opinion.
    Try long pressing the icon and select Edit and maybe you can change some attribute of the icon.
    Another thing you could do, is long-press an empty area of your desktop, to add an icon. Select Shortcut, then Select Contact, and scroll through your contact list and choose the contact that you added for *86.
    You realize if you have voice mail you haven't heard, there is a tape recorder icon in the notification bar, which you touch and pull down, then press it to dial voicemail.
    If that functionality doesn't work, you MIGHT want to consider doing a factory data reset on your device, but that is going to nuke all your personalizations and cause you work to set up again.

  • Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdow

    Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdowCan't

    There are some keyboard commands (shortcuts) you can use instead of having to go to the Apple menu -
    Control-Eject          This brings up the Restart-Sleep-Cancel-Shutdown window.
    Command-Option-Eject          This puts the machine to sleep.
    Command-Control-Eject          This closes all apps and restarts the machine.
    Command-Option-Control-Eject          This closes all apps and shuts the machine down.

  • On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

    On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?
    In my current Firefox, the "new tab" icon/item from the "customize" pop-up window menu of items is placed next to my home, back, forward buttons near the top-left of my header (Button 1 for "new tab"). Then, the tab bar automatically come with a small tab (with a + sign) to the right of your last tab opened (so you click on + and a new tab opens. Button 2 for "new tab"). I like to have this "new tab" button twice (as a + mini tab, and next to my "home icon".
    When I upgraded to Firefox 4, I seemed to be only able to "customize" or use the "new tab" in one place. Either as an icon next to home button, or as a "+ minitab", but NOT both.
    What can I do to put this button in Firefox 4 on BOTH places???
    Your help is really appreciated. I want to upgrade, but I want my buttons on both places...
    I upgraded to FF 4, but downgraded again just because this feature... that's just me of coarse :-)

    *New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • How can i create a new item in the app "health"?

    how can i create a new item in the app "health"? I need a field for documentation of "Waist-to-height ratio", exactly for "circumference".
    It's a matter of common knowledge, that the Waist-to-height ratio (WHtR) has more significance then the Body-Mass-Index (BMI).

    If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.

  • How can I (automatically) import new photos of the photostream on my local disc (Mac)? Don't want to use new icloud service. Simply import.

    New Photo app on Mac.
    How can I (automatically) import new photos of the photo stream on my local disc (Mac)? Don't want to use new icloud service. Simply import.
    With iPhoto every new photo was automatically imported and saved on my local disk (with "full resolution" that's what I only need). In the new photo app I have still my photo stream and when I move a photo (drag and drop from the photo stream) to a new album it indicates a (plus). My understanding is that the photo is now copied to my local disk. But when I deleted the photo in the photo stream it was also deleted in the album !?
    If that is the case I can use the photo stream only until I reach the max of 1.000 photos, then I have to delete photos and I will have no copy left.
    How can I "physically" copy a photo of the photo stream to my local disk? I just want to "transfer" all pictures taken with Ipads, Iphones to my central storage on the Mac. Please don't propose to connect it via iTunes (cable) to the Mac.
    Any other suggestions?
    thx
    -Tom

    The amazing device cannot do it because no amazing developer has written an app for it.  There is some interest, others have asked, but i have a hunch that the market is fairly limited, and no developer has jumped at the chance just yet.
    Any sort of tethered approach means try to feed the material to the pad thru the cck.  Which means the app would have to use the allowed/existing cck pathway in a manner that does not violate the sandbox rules.  That may be the problem.

Maybe you are looking for

  • Why WLS do not refresh the class in CLASSPATH?

    as title, and I have set development mode.

  • Macbook Connected To Playstation 3

    Is there any way to set my Macbook and my Playstation 3 upp threw bluetooth or anyhting. Want I want it to do is share music and such. Please help if you can in anyway. I try to pair them together and they never find eachother

  • Printing item text smartforms

    Hai friends, In my invoice i have 7 line items and some materials are "Duty Paid". For this they are maintaining a text in "Item Text" tab in VF01 transaction for each materials. I have to print the text one by one in the footer. How can i do this. H

  • ALV Report  Format Problem

    Hi Experts I am writing an ALV report for the following report below , I am not getting the output in the internal table can anyone correct please regards Piroz REPORT Z_ROLE LINE-SIZE  220 LINE-COUNT 75          NO STANDARD PAGE HEADING. TABLES : ag

  • Capturing Outbound Interface (In UDF)

    Hi, I have designed a Outbound Interface: <?xml version="1.0" encoding="UTF-8"?> <MT_DMS_FINAL>    <Record>       <Row>          <FirstName/>       </Row>    </Record> </MT_DMS_FINAL> Now i write a Adapter Module to get the File name when the Sender