Feature Request: A Way To Enter "New-Line" in an edit_field.

And, if there is a way, to make it obvious in the API and/or documentation.
Thanks,
Rob

Answer: set allow_newlines = true in edit_field, e.g.
vf:edit_field {
     allow_newlines = true,
Enter/return key will then have the effect hoped for: a newline instead of OK'ing the dialog box.
PS - credit to John Ellis for informing me/us of this undocumented feature.

Similar Messages

  • Safari 3 Beta - Windows  - Feature Request - Middle-click open in new tab

    I'm checking out the new beta... I have a quick suggestion for a feature.
    One thing I've noticed is that there is no option for middle-click to open a link in a new tab. I love this option in Mozilla and IE7, please implement it in Safari!
    Thanks!

    I can Middle click on any link, any bookmark an have it open in a new tab.
    (in the background). Or make the new tab current. Just go to the preferences & fingle around. I can also left or middle click a tab to close it. It must be your settings. You can also rearrange tabs by dragging them. Create new windows
    by dragging the tabs off the bar. Merge all windows by going to the Windows pull down menu. i cant really test if this works on a PC because i sold my last rig (PC) for pennies. another feature i like is (private browsing)
    KoolVicious
    p.s.
    Bill did this to me! My PC hated Netscape, & could only play audio from one
    program at a time. My PC kept driving into a wall, but i wasn't afraid i just
    got up & walked away.
    Quicksilver Dual 1GHZ, MacBook Pro 2.16 GHZ   Mac OS X (10.4.9)   Funny how some web sites work when they don't know you are on a Mac

  • Feature Request: a way to retrieve accurate plugin disable/enable state

    As it stands, LrEnablePlugin file is executed when plugin goes from disabled to enabled, and LrDisablePlugin is executed when plugin goes from enabled to disabled. Unfortunately its really hard to glean useful information because:
    plugin will go from enabled to disabled then back to enabled when new metadata is added and such stuff, and there is no way to tell whether plugin is enabled or disabled after a reload, since neither module is executed unless there is a change.
    It would be useful to me to be able to simply read an accurate status: enabled or disabled.
    Also, if Lr needs to disable for a moment to add metadata, I'd rather have the state not reflect the temporary disablement, unless reenabling fails and it becomes permanently disabled, or better still, have it reflect the temporary-ness of the disabled state, so maybe these states:
    disabled permanently
    disabled temporarily (e.g. to add metadata)
    enabled permanently
    enabled temporarily - for case when user attempts to enable but catalog neds updating, in which case if update fails it will be re-disabled.
    If this is too much, at least a minimal improvement could be had by simply having LrEnablePlugin and LrDisablePlugin not be called when Lightroom disables/enables for the sake of metadata / catalog updating, so they're only called when user clicks the buttons. This would not be as useful as accurate live status, but at least would eliminate disable / enable actions that assume the user did something he/she did not...

    HI Matt,
    Sorry - it was late...
    Anyway, I think you've got the jest of it. To help clarify further:
    There are two issues with the way things are enable/disable-wise:
    1.  there is no way for a plugin to tell if it is enabled or disabled.
    Here's a cut from the framework:
    --- Determine if plugin is enabled.
    --  @usage      Note: do not depend on this reporting correctly, since default value for 'enabled' is true
    --              even when plugin is disabled. Its only correct after plugin goes from enabled to disabled or vice versa after init...
    function App:isPluginEnabled()
        local ena = rawget( _G, 'enabled' )
        assert( ena ~= nil, "no ena" )
        return ena
    end
    2. The enabled / disabled modules are executed upon temporary disablement / reenablement as well as the more permanent flavor, so they cant really be used to prompt the user, or multiple confusing prompts get issued when the state is bouncing around...
    As usual, I'd like to see this improved in the next version, but I'm also open to suggestions for working around it in the mean time...
    PS - I just thought of a work-around for the first issue (which primarily arises in plugins that access plugin metadata) - just try and get a known-to-be-defined metadata item - iff successful, then the plugin is enabled.
    So, a possible solution:
    1. Have a readable (and preferrably writable too) enable/disable state that accurately reflects right-now enable / disable state - even if temporary.
    2. The ability to determine root cause of disablement, e.g. "temp-for-catalog-update", "permanent-since-catalog-update-failed", "user-initiated", ... I can imagine root cause for enablement to be useful too...
    *** UPDATE: Modified method:
    --- Determine if metadata-supporting plugin is enabled.
    --  @param      name (string, default dummy_) name of alternative plugin metadata item (property) to be used.
    --  @param      photo (lr-photo, default 1st photo of all) photo to use to check.
    --  @usage      This method presently only works when a metadata item is defined. Maybe one day it will also work even with no plugin metadata defined.
    --  @usage      Only works from an async task.
    --  @return     enabled (boolean) true iff enabled. Throws error if not called from async task.
    function App:isPluginEnabled( name, photo )
        assert( catalog, "No catalog." )
        name = name or 'dummy_' -- cant start with underscore.
        photo = photo or catalog:getAllPhotos()[1] -- getting all-photos takes ~16msec.
        assert( photo, "No photo." )
        local _dummy, msg = photo:getPropertyForPlugin( _PLUGIN, name, nil, true ) -- nil version, no-throw.
        if msg == nil then -- msg is nil if property defined and plugin enabled, even if property value is nil.
            return true
        else
            return false, msg
        end
        --local ena = rawget( _G, 'enabled' )
        --assert( ena ~= nil, "no ena" )
        --return ena
    end
    Rob

  • Is there a code to place an "enter" (new line)?

    I would like to place an "enter" in CRM 2007 making a survey. So something that looks like this:
    - piece of text
    - another piece of text
    - yet another one
    Except, when I type the text as it is written above, the result is this (I placed blanks in between the symbols to keep them from being transformed into a blank):
    - piece of text& # 0 1 3 ; & # 0 1 0 ;- another piece of text& # 0 1 3; & # 0 1 0 ;- yet another one
    Anyone know how to do this?
    Thanks very much in advance!

    Hi Peters,
    Explain a bit more...
    Have a look at the class CL_ABAP_CHAR_UTILITIES .
    Regards,
    Anubhav

  • Feature Request: A way for edit-field text to not be selected by default.

    edit_field text is selected by default, which means as soon as the user starts typing, pre-existing content is wiped out - not cool...
    Thanks,
    Rob

    I've found a partial workaround to this: Once the dialog is showing, if the you first assign the empty string and then assigned the desired value:
    edit_field.value = ""
    edit_field.value = desiredValue
    then the contents of the field are not left selected.  This works when setting the contents from, say, the result of a button push, but I haven't figured out how to initially show the contents unselected.

  • How to enter a new line or paragraph using voice recognition

    Hello,
    Does anyone know how to make the voice recognition enter new lines or paragraphs?
    When I first got my phone I could simply say "enter", "new line" or "new paragraph" rather quickly and it would advance to the next line, or in the case of paragraph it would be two new lines giving a space between the paragraph.
    However, in the last month or so this has stopped working. Now, when I say "enter", "new line" or "new paragraph" it will either spell out the words, or it will add a space.
    It's really frustrating, making the feature almost useless because I have to keep popping out to the keyboard to hit the return key.
    I'm using the voice recognition software to enter text for the applications "S.Memo" or "Google Drive Documents", on a Samsung Galaxy S3 phone with the 4.1.2 Android Version.
    -=John

    You cannot unintall "S.Memo", as it appears to be part of Samsung's base OS. I can do a force stop and disable on it as well as clear the data, but I cannot uninstall it. That is simply not an option for the app. I'm not going to clear the data because that deletes all the files I've made for it.
    I did a force stop on "S.Memo" and then started the app, and the problem persists.
    I power cycled the phone and the problem persists.
    I did uninstall and reinstall "Google Drive Document" but that did not resolve the problem either.
    Also it seems silly to remove and reinstall these apps, when it's the voice recognition software that is having the problem. This problem happens if you simply use voice input. It even happens when editing the phone's contact's information.

  • PHP MYSQL and DW Question: Invalid characters and new lines entry/viewing

    Hello all,
    I have followed David Powers' two php/dw/mysql books and I've
    set up PHP
    pages that insert, edit, delete, etc. listings. Everything
    works fine
    except for invalid characters being inserted into the
    database, and then
    displaying with a question mark in firefox.
    Is there a trick to cleaning up the data that a user may
    paste into a
    textbox on a web page for insertion in the database before
    the data is
    inserted or as it is inserted? Em dashes, en dashes, 'curly
    quotes' etc.
    are giving me problems.
    Also, when I enter new lines into the php page while I'm
    typing out
    information for a record, these new lines are not being
    displayed either
    in the database (using phpmyadmin to view) or on the
    resulting details
    pages, even though I'm using nl2br, etc. Is there a way to
    make this
    work reliably?
    Thank you for any help you may give me!
    -John

    Hello all,
    I have followed David Powers' two php/dw/mysql books and I've
    set up PHP
    pages that insert, edit, delete, etc. listings. Everything
    works fine
    except for invalid characters being inserted into the
    database, and then
    displaying with a question mark in firefox.
    Is there a trick to cleaning up the data that a user may
    paste into a
    textbox on a web page for insertion in the database before
    the data is
    inserted or as it is inserted? Em dashes, en dashes, 'curly
    quotes' etc.
    are giving me problems.
    Also, when I enter new lines into the php page while I'm
    typing out
    information for a record, these new lines are not being
    displayed either
    in the database (using phpmyadmin to view) or on the
    resulting details
    pages, even though I'm using nl2br, etc. Is there a way to
    make this
    work reliably?
    Thank you for any help you may give me!
    -John

  • Hello all, How do I enter two lines of texts from a excel cell to a illustrator text frame?

    Problem is , if I have a text in excel column as " line1 'alt ENTER' line 2 " and if I read this text using VBAscript and write it back to illustrator, it appears continuously like "Line1Line2" the line break does not happen.
    Mark Mcclure, please help me on this.
    First PNG shows the Excel column entry and the second shows the output u got in Illustrator and the third shows the script I am using to do this read from excel and write to illustrator.

    I don't understand your question, here's a sample on a way to enter 2 lines in illustrator, it has nothing to do with excel, you have to adapt it
    Sub multilineToIllustrator()
        Dim iapp As New Illustrator.Application
        Dim idoc As Illustrator.Document
        Dim iframe As Illustrator.TextFrame
        Set idoc = iapp.ActiveDocument
        Set iframe = idoc.TextFrames.Add
        For a = 1 To 2
            iframe.Paragraphs.Add "line " & a
        Next
        Set iframe = Nothing
        Set idoc = Nothing
        Set iapp = Nothing
    End Sub

  • Mail app bug with jumping to new line below signature

    Hi!
    Since day one of using Lion i have this incredibly annoying bug with Mail application.
    I have a formated signature in all my emails. Sometimes when I am composing a mail (or rather replying for one) and when I hit RETURN on keyboard, cursor moves BELOW signature and inserts new line below signature - not in place when it was when I hit RETURN.
    The same is when I have cursor in middle of my message and hit enter. Nothing happens - text ater place when cursor was when I hit enter is staying where it was but cursor moves below signature and enters new line in there.
    Anyone has solution for this?

    Triple-click the word "telnet" in the line below on this page to select the whole line:
    telnet imap.gmail.com 993
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You should almost instantly get three lines of output below what you entered, the last of which is this:
    Escape character is '^]'.
    If there's no output within ten seconds, consider that a failure. If you get something different from the above, please post it in a reply. You can then quit Terminal.

  • Can`t post replies in photoshop feature requests section

    the reason is probably obvious but not to me,
    I cannot post a reply to anyones comments or thread in the photoshop feature requests, it usually reads "reply" to be able to comment on anothers comment,
    but only reads "report abuse" in the photoshop features request thread.
    when I select "new"and search for the photoshop features request thread, its greyed out so you cannot select it,
    what am I getting wrong here,
    I am logged in by the way.
    cheers.

    They created a new feedback site. The feature request site is read only now.
    Read the text above the discussions sections. There you will find the link to the new site.
    Or click here:
    http://feedback.photoshop.com/photoshop_family
    :-) miss marple

  • Design Help! Add new lines

    Hi All,
    I need a design help for adding extra lines on an existing order.
    I have a page with 2 subtabs, first one is for order header info inputs and second one is for line info inputs. The line subtab base on user selection may generate mutile lines in lineVO (multiple rows). After user clicked an apply button on line subtab, a header row will be committed into header table and line row(s) will be in line table.
    I was trying to have another button to allow user enter extra lines after committed existing header and line VO. After user click the "add extra line" button, I retain AM to keep header VO but flush out line VO, with this way, framework will try to delete lines in line table.
    Since there are lots logic requirements, I can't keep adding lines after line VO.last() without committing first round line entering.
    How can I keep Header VO, clean line VO, then enter new line(s) info as ADD but not DELETE/UPDATE? any suggestion??
    Thanks & Regards,
    KJ

    Hi Shreya,
    I am not sure about giving new line in each and every page, but there is an alternate. You can show all data in one single page. That is how much ever records you have, they will be shown on one single page, instead of spanning across multiple pages. You can achieve this by changing the property "Number of Data rows displayed at once" from default 100 to 0.
    Hope it helps.
    Regards,
    Arunan.C

  • How to make new line in JButton.setText()?

    how to make new line in JButton.setText()?
    I want to set the text of jbutton in tow line ,as follows
    | jbutton-line1 |
    | xxxxxxx-line2 |
    i konw i can jbtton.settext("<html>line1<br>line2</html>");
    but i find it's ugly using html,
    is there anyother way to create new line in JButton's Text

    As for the above comment....
    I thought the question was well purposed. Using HTML was not acceptable in this instance, which was made clear, so why critisize his comments? "Using HTML" is a poor solution, it does NOT work in many instances due to browser, OS variations. Usually the "common answer" is never a COMPLETE answer.
    Possible Solution:
    Use JLabels to render the text on the button.
    import javax.swing.*;
    import java.awt.*;
    public class ButtonMaker {
    public static void makeButton(JButton jb, String[] titleList) {
    jb.setLayout(new FlowLayout());
    for (int i = 0; i < titleList.length; i++) {
    JLabel tmpLabel = new JLabel(titleList);
    tmpLabel.setForeground(Color.black);
    jb.add(tmpLabel);
    public static void clearButton(JButton jb) {
    Component[] cList = jb.getComponents();
    for (int i = 0; i < cList.length; i++) {
    if (cList[i] instanceof JLabel)
    jb.remove(cList[i]);
    Known Limitations:
    1. Flowlayout does not work well with single line text buttons... perhaps another layout manager may work better for various buttonsizes-linenumber combos.
    2. Mac OSX : The default UI for Mac OS X (and above it seems), is to have rounded edged buttons. These rounded edges are destoryed when using JLabels, leaving a square, blocky button in its place.
    POSSIBLE SOLUTION:
    (this is ugly and time consuming)
    - create images of the button with text on them.

  • New line character in soap body text

    Hi,
    Is there aby way to add new line character fir string message in soap body for text message output.
    like
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">string,3\nstring,3\n</soapenv:Body> whic is not working
    thanks

    Try this:
    concat('line1', "&#x0d;&#x0a;", 'line2')
    Ryan

  • New lines in a file

    I'm trying to find a good way to get new lines in a file, and while this works it also uses 100% CPU and is driving me nuts. At least the profiler says this is .run is using the most, and taskmanager gives it 100%. The file name changes every day.
    package net.st0rm.ss.loghandlers;
    import java.io.*;
    import java.util.ArrayList;
    import java.util.Calendar;
    import java.util.Timer;
    import java.util.TimerTask;
    import net.st0rm.ss.Log;
    import net.st0rm.ss.gamecmdhandlers.GameCommandHandler;
    import net.st0rm.ss.irc.IRC;
    public abstract class LogHandler {
         public static ArrayList<GameCommandHandler> gameCmdHandlers = new ArrayList<GameCommandHandler>();
         private BufferedReader reader = null;
         private File directory = null;
         private LogReadThread thread = null;
         private String thisLine = null;
         private boolean skip = true;
          * Time to wait between reads
         private Long delay = 100L;
          * Creates a new instance
          * @param directory Directory of the files used
          * @param skip Should the reader skip lines already existing?
         public LogHandler(File directory, boolean skip) {
              this.directory = directory;
              this.skip = skip;
         public String getFileName() { return ""; };
         private class LogReadThread extends Thread {
              public boolean stop = false;
              public void run() {
                   Calendar c = Calendar.getInstance();
                   c.set(Calendar.HOUR_OF_DAY, 23);
                   c.set(Calendar.MINUTE, 59);
                   c.set(Calendar.SECOND,59);
                   StringBuilder sb = new StringBuilder(1000);
                   new Timer("Restart Timer").schedule(
                             new TimerTask() {
                                  public void run() {
                                       try {
                                            Thread.sleep(3000);
                                       } catch (InterruptedException e) {
                                            // TODO Auto-generated catch block
                                            e.printStackTrace();
                                       IRC.getInstance().msg("Restarting reader \"" + this.getClass().getSimpleName() + "\" for the new day.");
                                       LogHandler.this.restartReader();
                             ,c.getTime(), 3600000*24);
                   try {
                        reader = new BufferedReader(new FileReader(directory.getAbsolutePath() + "/" + getFileName()));
                        if (skip) while ((reader.readLine()) != null);
                        while (!stop) {
                             try {
                                  Thread.sleep(delay);
                             } catch (InterruptedException e) { System.out.println("Thread Interupted!"); }
                             while ((sb.append(reader.readLine())).toString() != null) { onNewLine(sb.toString()); sb.delete(0, sb.length()); }
                        reader.close();
                   } catch (IOException e) {
                        Log.log(e);
          * Call to re-start the file stream
         public void restartReader() {
              if (thread != null) thread.stop = true;
              thread = new LogReadThread();
              thread.start();
          * Called when a new line is added to the file
          * @param line The line added
         public void onNewLine(String line) { }
    }

    I don't know what anybody can say other than "debug and profile your code".
    It's weird that you have a Thread.sleep in the run method of a TimerTask. Why not just change the scheduling of the task?
    This:
    while ((sb.append(reader.readLine())).toString() != null) {
        onNewLine(sb.toString());
        sb.delete(0, sb.length());
    }(reindented to make it easier to read) is fishy. Even when you reach the end of reader's input, I think it will just loop forever. That's because appending null to a string buffer and calling toString results in the string "null", not the value null. So that while loop will never end.
    Good luck.

  • Add new lines in BEx and drilldown character simultaneously in BEx

    Hi All!
    I have a problem with drilldown character in "Columns".
    In constructing BEx-Query I need enter new lines.
    In "Rows": a number of characteristics. New line consist of these characteristics.
    In "Columns": wi have Key Figure (available for planning) in Strucrure AND character 0FISCPER.
    0FISCPER is restricted by interval. When I run query, new lines are not displayed.
    BUT when I "swap axes" - new line is available.
    In standart I cannot do how I want.
    The first solution is:
    Put new line with "#" and NULL. In query properties in tab "Rows/Columns" activate Supress Zeros.
    Can you help me to find another solution, when I do not have to initialize data?

    Hi Harjan,
    No, it is not possible to extend, but If you are using Excel (BEx Analyzer), you should be able to just enter new rows at the bottom of the Analysis Grid, and refresh to re-sort the rows.
    Regards,
    Anil

Maybe you are looking for