Automatic word wrapping in context help window?

Hello together
I don't get the way how labview does the automatic word wrapping in the context help window. Does somebody know that?
regards
Woodi

I see my problem. Everytime I do just a single carriage return, or a return, the automatic line wrapping doesn't work. But it works fine, if I do two carriage returns.
This is actually not exactly what I want, but at least the user doesn't have to scroll.
Woodi

Similar Messages

  • What determines whether the Label name and/or Caption appears in the context help window but in other cases, both the label and caption appear in the context help window?

    I am trying to polish an application, and find that I cannot seem to reliably control which of the label or caption text appears in the context help window because I don't understand what rules are in place to determine which should appear. It seems like if I reate a named constant, then use it's right click menu command "Create Indicator" I get a control with only a Label (as long as I don't add a caption). This then appears in the context help window as the label name followed by the description text (after entering some description text). But if I add a caption, the label name is shown in bracket
    s which is a 'feature' I would like to avoid, because I have certain controls where I would like to use a descriptive variable name on the block diagram side without using so much space on the front panel. It seems like there is no way to avoid showing the Label name in the context help for a control/indicator. Is this true?
    I thought the purpose of having a seperate caption was to make the text that appears with a control programmatically controllable, but if that control is not extended to what appears in the context help window, it limits the usefulness of the caption and forces me to re-consider some Label names. However, the problem goes deeper than that because then even when I make the label and caption exactly the same, or if I delete (via a select caption text-backspace or select caption text- delete key .. sequence) the caption for a control, the label name in the context help window still appears in square brackets!
    Can I have complete control over the context help fo
    r a particular control (or has anyone found a third-party context help solution that functions compatibly with LabVIEW 7 in a built application that they will be so kind as to recommend?)
    I have used LabVIEW for three years, and I am now using LabVIEW 7.0.

    Sorry for that.. I was changing the text of my question and didn't read carefully enough in the preview stage. I wanted it to read "What determines whether the Label name and/or Caption appears in the context help window?"

  • Context Help window is not displaying any information in Stand Alone App

    The context help window displays the vi description, as desired) when running in the development environment.  However after building the Stand Alone app, while the I can open the context help window using Ctl-H or the front panel  menu Help , the help window in empty.  The mouse cursor changes to a "hand" while hovering over the icon pic in the upper right hand corner of the Front Panel but does not invoke any change in the help window.
    I am using the same PC for development and check out of the Stand Alone app.
    Any ideas out there?
    Mike

    Mike,
    Yes, you should be able to zip it or just change the extension and we can change it back. In the mean time I have replicated what you are talking about with a simple executable. However, I think this might be expected behavior. After all, your executable is not a VI anymore. You can also make a product suggestion to have this changed.
    Regards,
    Hillary E
    National Instruments

  • How to ensure "show context help" window is displayed on startup

    Hello All,
    I'm in process of preparing an application installer to be built, and am wondering if there's a way to ensure the context help window is presented to the user by default when they start up the application? I couldnt find any properties, methods or setup configurations that allow this to happen.
    Thank You
    -Ted

    The context help window is an item of the Development Environment.
    What you could do is an mouse enter, and mouse leave event registring for all controls (VI->controls[]) and use the tip-strip/description to output to a window.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Context help window not showing up while running a VI

    Hello,
    When I press control+h in LabView while in edit mode, the context help window shows up fine.
    But when I run the VI or run the .exe file, I press control+h and nothing happens.
    Is there anything I'm missing? Like a configuration.
    Thanks and best regards.

    Hi
    I use version 6.0.2.
    I attached the .VI in case you like to test it. I'd really appreciate.
    Thanks very much.
    Attachments:
    Detailed_Conditions.vi ‏602 KB

  • How can I automatically word wrap a string placed in a (multicolumn) listbox ?

    Hello,
    Using LabView 7.0:
    I need to automatically wrap text inserted in a multicolumn listbox.
    The size of the listbox is fixed and I don't know the legth of the string that will be inserted. But the whole string must be visible, because it's Information is important
    I'm not allowed to use a fixed width font. :-(
    Has anyone any ideas (or a solution already?)
    How can I compute the length of a string in pixel to calculate to position to wrap?
    Thanks in advance,
    best regards,
    Rainer

    Hi Veena,
    The trick is to use the Get Text Rect.vi to calculate where to wrap your text string. There's no feature to automatically wrap the string for you, so you will have to split you string into sections/lines, that doesn't exceed the width of the column in the listbox.
    Good luck!
    - Philip Courtois, Thinkbot Solutions

  • Dynamically word wrap in a JLabel

    I have several JLabels in a complex layout that has a JSplitter and is in a resizeable window.
    I would like it if there isn't enough room for the text of the JLabel to fit on one line, but there is enough vertical room (there almost always is), for the JLabel to automatically word wrap, and become 2 or three line, as needed. (There are usually only 2 or three words in these JLabels.
    I haven't found a way to do this. I know about putting HTML in the JLabel lets you put <BR>s in, but I would like the JLabel to be only one line if possible, going to two line if there isn't enough room to fit all the text on one line.
    I searched this forum, and found a suggestion to use a JTextArea made up to look like a JLabel ( http://forum.java.sun.com/thread.jsp?forum=57&thread=399180 second reply from bottom ), but this has it's own problems. The JTextAreas, try to take up as much vertical space as possible instead of only as much space a necessary (as a JLable does) in the layout that I'm using.
    Is there any way of doing this?

    JLabel label = new JLabel();
    label.setLayout new BorderLayout() ;
    JTextPane pane = new JTextPane();
    pane.setBackground(label.getBackground());
    // or try making it opaque
    pane.setText("long text here");
    label.add(pane,BorderLayout.CENTER);The above still has the problem of wanting its preferred size to be calculated from the text layed out in one line. I was digged around in my Java2D folder and found some old code I wrote, based on something by J. Knudsen:
    import java.awt.*;
    import java.awt.font.*;
    import java.text.*;
    import javax.swing.*;
    public class JMultilineLabel extends JComponent {
        private String text;
        private Insets margin = new Insets(5,5,5,5);
        private int maxWidth = Integer.MAX_VALUE;
        private boolean justify;
        private final FontRenderContext frc = new FontRenderContext(null, false, false);
        private void morph() {
            revalidate();
            repaint();
        public String getText() {
            return text;
        public void setText(String text) {
            String old = this.text;
            this.text = text;
            firePropertyChange("text", old, this.text);
            if ((old == null) ? text!=null : !old.equals(text))
                morph();
        public int getMaxWidth() {
            return maxWidth;
        public void setMaxWidth(int maxWidth) {
            if (maxWidth <= 0)
                throw new IllegalArgumentException();
            int old = this.maxWidth;
            this.maxWidth = maxWidth;
            firePropertyChange("maxWidth", old, this.maxWidth);
            if (old !=  this.maxWidth)
                morph();
        public boolean isJustified() {
            return justify;
        public void setJustified(boolean justify) {
            boolean old = this.justify;
            this.justify = justify;
            firePropertyChange("justified", old, this.justify);
            if (old != this.justify)
                repaint();
        public Dimension getPreferredSize() {
            return paintOrGetSize(null, getMaxWidth());
        public Dimension getMinimumSize() {
            return getPreferredSize();
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            paintOrGetSize((Graphics2D)g, getWidth());
        private Dimension paintOrGetSize(Graphics2D g, int width) {
            Insets insets = getInsets();
            width -= insets.left + insets.right + margin.left + margin.right;
            float w = insets.left + insets.right + margin.left + margin.right;
            float x = insets.left + margin.left, y=insets.top + margin.top;
            if (width > 0 && text != null && text.length() > 0) {
                AttributedString as = new AttributedString(getText());
                as.addAttribute(TextAttribute.FONT, getFont());
                AttributedCharacterIterator aci = as.getIterator();
                LineBreakMeasurer lbm = new LineBreakMeasurer(aci, frc);
                float max = 0;
                while (lbm.getPosition() < aci.getEndIndex()) {
                    TextLayout textLayout = lbm.nextLayout(width);
                    if (g != null && isJustified() && textLayout.getVisibleAdvance() > 0.80 * width)
                        textLayout = textLayout.getJustifiedLayout(width);
                    if (g != null)
                        textLayout.draw(g, x, y + textLayout.getAscent());
                    y += textLayout.getDescent() + textLayout.getLeading() + textLayout.getAscent();
                    max = Math.max(max, textLayout.getVisibleAdvance());
                w += max;
            return new Dimension((int)Math.ceil(w), (int)Math.ceil(y) + insets.bottom + margin.bottom);

  • Mail.app word wrap

    I have always used Thunderbird but wanted to start using Mail. In Thunderbird when composing emails, it automatically word wraps when you send the email. I tried looking for an option in Mail but could not find one. Any help would be appreciated!
    Thanks

    You don't set it. It is the way Mail automatically formats text. See [this article|http://joeclark.org/ffaq.html] for an explanation of format=flowed.

  • How to add context help text to a property node of an XControl?

    Hi
    anyone knows how to add description for a property node of an XControl which should appear in the context help window of LV?
    In case of a method, the description of the method VI appears on the context help. But not for property node
    Solved!
    Go to Solution.

    Hi Vsh,
    You can set the property context help by right-clicking the xcontrol in your Project Explorer, selecting Properties,  selecting the "Item Settings" category and clicking on the Property that you wish to write context help for.  You will see a box titled "Description" on the right;  this is where the context help is defined.
    Let me know if you have trouble finding this.
    Eric V
    National Instruments
    Applications Engineer
    Certified LabVIEW Associate Developer
    "I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"

  • I am facing problem with adobe illustrator cc in windows 8,it closes automatically after few secons,please help

    I am facing problem with adobe illustrator cc in windows 8,it closes automatically after few secons,please help
    [ link removed by moderator ]

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Help with a tabel word wrap

    Hi
    Any one help me please below is the html I have. its reading
    a .js file from an external source. The problem is word wrapping
    the content I need to make the conten wrap with in this table as i
    have no control of how the external content is constructed.
    Any help please.
    <table width="100%" border="0" cellpadding="0"
    cellspacing="0" id="PARA2">
    <tr>
    <td><script language="JavaScript"
    type="text/javascript" src="
    http://www.domain.net/p2.js"></script></td>
    </tr>
    </table>

    anyone not help with this please

  • Is thr ne way to word wrap in main window...?

    i m making sap script in a tabular fomat wth 15 fields (horizontal) in A4 size so hw to do word wrap in main window for differ differ variables for getting proper result in A4 size format.

    Hi,
      We dont have word wrap format in scripts, the only option we have is we can display columns under columns like below,
    Material Number  Base unit of Measure             Material type
    Material Text       Alternative unit of measure     Plant
    Industry sector
    Rgds,
    Bujji

  • TextArea component wont word wrap.. help!

    I cant seem to get the TextArea component in Flash 8 to word
    wrap. I've set the word wrap parameter to "true" but it will not
    word wrap. It just puts all the text in one line. How do you fix
    this? Also, is there a way to control the font size in the TextArea
    component?
    Thanks!

    ad 1. sorry but in my instance true is set by default to word
    wrap option and it works.
    ad 2 instanceName.setStyle("fontSize",24)
    u can learn more about TextArea by lookin to the script below
    ( its just an example):
    function setStyles(instance) {
    instance.setStyle("themeColor", "blue");
    instance.setStyle("color", "blue");
    instance.setStyle("fontFamily", "Courier New");
    instance.setStyle("fontSize", 12);
    instance.setStyle("fontWeight", "bold");
    instance.setStyle("backgroundColor", 0xDDE0FF);
    instance.setStyle("borderStyle", "alert");
    setStyles(myTextArea);

  • Terminal word wrap gone?

    One of my favorite features in tiger's terminal was the ability to turn OFF the word wrap. It was under Terminal->Window Settings...->Buffer->Wrap lines that are too long. I could uncheck that box and it would be helpful in viewing logfiles scrolling by (using tail -f). I think I'm insane because I cannot find this most basic feature in Leopard's terminal. I've experimented with some of the default settings like, Autowrap, Backwrap, and RewrapOnResize and changing these seems to have no effect. Can anyone tell me if this feature is gone forever? I really would like to know how to turn off word wrap in leopard terminal.

    AFAICT, it's automatic. BTW, you'll most likely get a more cogent answer posting to the Unix forum under OS X Technologies where the Unix and Terminal mavens congregate.

  • JOptionPane.showMessageDialog() - word wrapping exceptions?!

    Hey ppl,
    Probably a silly question...
    I'm currently working with JDBC, and SQLexceptions can be very long! Currently displaying them in a JOptionPane.showMessageDialog() (as i guess most people do?), but being so long they cause it to span the whole screen & then some!
    I looked through the JOptionPane API, but didn't spot anything that might help. Is there a way to get this exception to dispaly on multiple lines, kinda like word wrap in notepad?
    Cheers for any suggestions.
    Jim

    I can't speak for other developers..But as for myself, I rarely if ever print error messages to the JOptionPane. Almost always, I print my error messages and the stack if necessary, to the ouput. This is either a command line window, console, log file, or output screen in an ide depending upon how you program. My code looks something like this.
    catch(Exception e)
        System.out.println(e.getMessage());  // Will print only the message property of the exception
        e.printStackTrace();  // Will print the stack for more information
    }Sorry I couldn't answer your question directly. Maybe someone else can. Hope I was helpful anyway.

Maybe you are looking for

  • Report Example

    Hi All, I need the example of Vendor performance report.. If anyone already did it then please send the example of that report.. Note ::: I am not asking for General Examples of reports. Thanks in advance Raj

  • MBP Retina shows wrong resolution on external display since 10.8.4

    I have a MBP retina and I'm using it with an external display, Dell U2711, connected via a Mini-DP to DP cable. It all worked amazingly well until 10.8.4 came out. Now, when I connect the display, it no longer shows the correct 2560 X 1440 resolution

  • Italic fonts not rendering in Mail

    When I receive emails that have italic fonts in them, they come out as strings of gibberish. What can I do?

  • Trying to extend my Airport Extreme network using two Airport Express

    Ok, so just an hour ago I had a network working fine that was set up like this: Modem => Airport Extreme => Airport Express 1 / Airport Express 2 Stupidly I decided to rename one of them, to their specific room location, using Airport Utility 6.3.2,

  • IPhoto doesn't import

    Hi everyone, I could really use some help. I recently acquired a new MacBook Pro (i7, Snow Leo 10.6.3) to replace my old one (MacBook Pro Core 2 Duo, SnowLeo 10.6.3). So I wanted to take my photos from my iPhoto 08 to the new iPhoto 09. So I copied m