Multiline ToolTip

I can generate a single line ToolTip, but I meet without success, producing a multiline ToolTip.  Any suggestions?

Hi jrbecker,

In LabWindows/CVI 2012, you can create multi-line ToolTips in one of the following ways:

  • Insert a newline character (\n) in the chain of the ATTR_TOOLTIP_TEXT attribute.
  • Insert a newline character (\n) in the field ToolTip text string in the browser of the attribute.
  • Click the arrow in the ToolTip text of the attribute browser field and select change the text ToolTip multiline.

http://zone.NI.com/reference/en-XX/help/370051V-01/CVI/uiref/tooltipsoverview/

If there is an update, we can do the documentation that can help make that task easier, please let me know!

April

Technical writer

LabWindows/CVI

Tags: NI Software

Similar Questions

  • Problem with the multiline ToolTip

    I like tooltips (even if I open many wishes, see here, here, here, here, here and here ), but now, I found a problem if we use a ToolTip that consists of several lines and its control is located near the bottom of the screen.

    ToolTips are smart enough to move to the left if the ToolTip text is too long to fit on the screen. However, the similar condition for a vertical movement has been neglected, so if control is near the bottom of the screen and the ToolTip text consists of several lines, it can happen that the lower lines are not displayed.

    OK if Panel / control is at the right end of the screen:

    Not OK if the control panel is at the bottom of the screen:

    Thanks for reporting this, Wolfgang. I created a bug for her report (556606).

  • How can I set a ToolTip with user multiline input?

    I created a button with app.response to get user input to set the ToolTip of the area, but in my case I need multiple line text formatting in the ToolTip, such as the \n character.  How can I accomplish this?  Thank you.

    You must have the user to enter some sort of character (such as a place holder

    pipe: "|") and then replace it with a line break in your code. Or you can

    Use an object of dialogue instead of the app.response function and add a

    her multiline text field.

  • AS3.0 code ToolTip

    Hello, I am able to find the AS2.0 code for a ToolTip, but can't seem to find a simple for AS3.0.

    When the pointer is over a point on the map, a ToolTip appears with the name of the city. I need to be able to change the name of the city according to the point.

    I thank everyone's help!

    :

    create a buttonObj for all your buttons

    var buttonObj:Object = {};

    //////////////////////////////////////change nothing above ////////////////////////////////////

    the next 3 lines must be made for all your buttons

    buttonObj [yourbutton.name] = ['Hello', 2, 2];

    yourbutton.addEventListener (MouseEvent.MOUSE_OVER, addToolTipF);

    yourbutton.addEventListener (MouseEvent.MOUSE_OUT, removeToolTipF);

    change nothing below.

    function addToolTipF(e:MouseEvent):void {}

    var a: Array = buttonObj[e.currentTarget.name];

    var tf:TextField = new TextField();

    buttonObj [e.currentTarget.name] .push (tf);

    TF. Text = a [0];

    TF. Multiline = false;

    tf.autoSize = "left";

    TF. Border = true;

    addChild (tf);

    TF.x = a [1] + e.currentTarget.x;

    TF.y = a [2] + e.currentTarget.y;

    }

    function removeToolTipF(e:MouseEvent):void {}

    removeChild (buttonObj [e.currentTarget.name] [3]);

    buttonObj [e.currentTarget.name]. splice (3,1);

    }

  • Help me fix the ToolTip timeout error

    I have a ToolTip feature that was working perfectly until I decided to introduce a delay before the ToolTip does not immediately appear after the hover.  The original function (which works well) is the following:

    buttonObj [Save_btn.name] = ["Save current product required for the XML file", - 50, - 25];
    Save_btn.addEventListener (MouseEvent.MOUSE_OVER, addToolTipF);
    Save_btn.addEventListener (MouseEvent.MOUSE_OUT, removeToolTipF);

    function addToolTipF(e:MouseEvent):void {}
    setTimeout(toolTipF,3000,e);
    //}


    function addToolTipF(e:MouseEvent):void {}
    var a: Array = buttonObj [e.currentTarget.name];
    var tf:TextField = new TextField();
    buttonObj [e.currentTarget.name] .push (tf);
    TF. Text = a [0];
    TF. Multiline = false;
    tf.autoSize = "left";
    TF. Border = true;
    TF. Background = true;
    addChild (tf);
    TF.x = a [1] + e.currentTarget.x;
    TF.y = a [2] + e.currentTarget.y;
    }

    function removeToolTipF(e:MouseEvent):void {}
    removeChild(buttonObj[e.currentTarget.name][3]);
    buttonObj [e.currentTarget.name] .splice (3,1);
    }


    What follows is by presenting the delay (only the changes are in bold, so the error must be in the "BOLD" parts):

    buttonObj [Save_btn.name] = ["Save current product required for the XML file", - 50, - 25];
    Save_btn.addEventListener (MouseEvent.MOUSE_OVER, addToolTipF);
    Save_btn.addEventListener (MouseEvent.MOUSE_OUT, removeToolTipF);

    function addToolTipF(e:MouseEvent):void {}
    setTimeout(toolTipF,3000,e);
    }


    function toolTipF(e:MouseEvent): void {}
    var a: Array = buttonObj [e.currentTarget.name];
    var tf:TextField = new TextField();
    buttonObj [e.currentTarget.name] .push (tf);
    TF. Text = a [0];
    TF. Multiline = false;
    tf.autoSize = "left";
    TF. Border = true;
    TF. Background = true;
    addChild (tf);
    TF.x = a [1] + e.currentTarget.x;
    TF.y = a [2] + e.currentTarget.y;
    }

    function removeToolTipF(e:MouseEvent):void {}
    removeChild(buttonObj[e.currentTarget.name][3]);
    buttonObj [e.currentTarget.name] .splice (3,1);
    }

    The error is as follows.  Note that the error is produced even when I stay for 10seconds the button is not a question of not granted a time limit for the ToolTip to appear.

    TypeError: Error #2007: child parameter must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at Websiteversion3_Scene1_fla::MainTimeline/removeToolTipF() [Websitevers ion3_Scene1_fla. MainTimeline::frame1:246]
    TypeError: Error #1010: a term is undefined and has no properties.
    at Websiteversion3_Scene1_fla::MainTimeline/toolTipF() [Websiteversion3_S cene1_fla. MainTimeline::frame1:234]
    service / http://adobe.com/AS3/2006/builtin: applies ()
    to SetIntervalTimer / onTimer)
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    Please help me solve the error, thanks!

    He fixed and you sent the mail

  • Simple function to create ToolTip in Actionscript 3

    Hello

    I'm new to Actionscript 3 and I'm creating an application in which I need to use tooltips.  I thought it would be simple because in VBA and other object-oriented languages, you have a tooltip for a button and all property you need to enter the text (or even schedule it, which is very simple).  However, I can't seem to create tooltips in Flash using AS3, I tried 6 different methods (fairly complex) from code I found online but could get any of them to work.  Can someone please give me a simple function that takes as parameters the ToolTip text and the original button, then the right function creates the ToolTip automatically once it's called? Any help would be greatly appreciated. Thank you.

    If the two functions add and remove are on the same timeline you will not see this error message.  but I see typo:

    create a buttonObj for all your buttons

    var buttonObj:Object = {};

    //////////////////////////////////////change nothing above ////////////////////////////////////

    the next 3 lines must be made for all your buttons

    buttonObj [yourbutton] = ['Hello', 2, 2];

    yourbutton.addEventListener (MouseEvent.MOUSE_OVER, addToolTipF);

    yourbutton.addEventListener (MouseEvent.MOUSE_OUT, removeToolTipF);

    change nothing below.

    function addToolTipF(e:MouseEvent):void {}

    var a: Array = buttonObj [e.currentTarget];

    var tf:TextField = new TextField();

    buttonObj [e.currentTarget] .push (tf);

    TF. Text = a [0];

    TF. Multiline = false;

    tf.autoSize = "left";

    TF. Border = true;

    addChild (tf);

    TF.x = a [1] + e.currentTarget.x;

    TF.y = a [2] + e.currentTarget.y;

    }

    function removeToolTipF(e:MouseEvent):void {}

    removeChild(buttonObj[e.currentTarget][3]);

    buttonObj [e.currentTarget]. splice (3,1);

    }

  • label multiline

    Labels for my formItems are sometimes too long for a single line, and pointing to the label to display a ToolTip showing the full title is insufficient for the needs of my client. There is place on the stage of the label wrap on two lines, but according to the docs labels does not support multiline.

    I considered two solutions for this, both of which I prefer to avoid:

    1. create my own formitem custom component from scratch with a multi-line text control.

    2. the label in the formItem to color the same color as the background and absolutely positioning multiline text control where the label should be (time is short!)

    can anyone think of more simple way around this problem?
    see you soon
    Craig

    Unfortunately, the FormItem label is just that, a label. Labels not multi-line. But FormItem use actually FormItemLabel, no label directly. So, you can write your own FormItemLabel and extend it text, no label.

    1. create the mx.controls package in the path of YOUR application.
    2. create FormItemLabel.as in this package. Extend the text.
    3 override function Measure [], call super.measure (), then adjust the measuredWidth and measuredHeight.

    You have to experiment in the Measure [] function to get the correct values. The alternative is to size explicitly the FormItem which is probably your best choice for precision.

    By placing mx.controls.FormItemLabel in your path of the application, Flash Player will load your FormitemLabel first and ignores that of the frameworks.swc.

    WARNING: I have not tried myself (this should work, however). And if you break Flex, well, you have to go with plan B.

  • showing ToolTips tab is no longer

    Hi recently firefox has stopped the display of tooltips on tabs. As I usually have a large number of tabs open at any given time it is really annoying, because I don't know what each of the tabs contains unless I click on it, all I had to do was pointing with the mouse. Now when I hover over with the mouse, firefox just says: "current profile:" and then the name of my current firefox profile. It does this on all tabs. Except that everything is normal. Any ideas what is happening? Thank you very much!

    Start Firefox in Safe Mode to check if one of the extensions (Firefox, Tools/menu key > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox, Tools/menu key > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

    You can check the preferences of browser.chrome. * on the topic: config page to see if any specifications "BOLD" (user set).
    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • Why now (Firefox 42 developer edition) tooltip background is transparent? Is it possible to change this?

    That makes the text difficult to read in some situations, as when you're hovering tabs right on the icons next to the address bar. Overlays of text with icons and it is difficult to read. And Furthermore, it is then... unattractive.
    At the beginning, when I upgraded this morning, I thought it was something to do with my theme, but I changed it and it stays the same...
    I am attaching a picture of the effect. It's the same with any theme.

    I'm under Antergos (distribution based Archlinux), just in case this info could be of any help.

    Thank you!

    COR - el said

    Future builds of Linux will move to GTK + 3 (3.4 widget GTK +), so you may need to update your distribution of Linux.

    Like I said, Arch Linux here. Distribution of rolling release. Updated daily.
    And I have GTK + 3 is installed and a bunch of themes support.

    After a long search, I noticed that the only thing that solves this problem change my GTK theme flower with lxappearance.

    One of the other themes supporting GTK + 3 this in Firefox Developer (I used to use Zukiwi, also GTK + 3 compatible).

    ToolTips now have a black background and are perfectly readable.

    In any case, it's strange. I guess I can start firefox developer with
    $ GTK_THEME = best firefox-developer
    and continue to use the rest of the programs with my favorite GTK theme.

  • When you make thunderbird with multiline topics pane?

    When you make thunderbird with component topics multiline, like Outlook or Geary?

    I think the Bug 441414 refers. Work has recently resumed, but when he sees the light of day is anybodies guess.

  • ToolTips

    Is it possible to return the text of ToolTip using Firefox? I noticed that this feature is available in some other browsers.

    Sorry, I'm not interested in this issue more. I found this div a - moz-user-select: none; property.

  • ToolTips not working in FF 24, 25 & 26

    I uninstalled and reinstalled several times. I rebooted several times that I can count. I deleted (not only deactivated) all plugins and extensions, including Java. I have no installed service and use the default theme. I tried to install FF 24, 25 and 26. In any case, I have a very simple HTML page that has a title = "bookmarks" on the subject. The ToolTip displays in "safe mode" but does not appear in normal view. Which is very surprising because I thought all say safe mode to disable all extensions and plugins.
    I searched the web and seen suggestions that this may be caused by the acceleration of the toolbar Google or HW. I do not have the Google toolbar (do not have) and if it were caused by hardware acceleration, then if the problem wouldn't show up in SafeMode too?
    Just in case, I have a Thinkpad W520.
    Help, please. I would like to know how to turn on tracing to help solve this problem!

    Safe mode is more than just disable modules, it also resets some parameters including hardware acceleration. If the problem does not occur in Mode safe and you don't have any installed extensions then the problem could be the hardware acceleration.

    Please follow these steps to disable hardware acceleration:

    • Firefox top-left > Options > advanced > General > uncheck use hardware acceleration if available > restart Firefox

    Just a note, Mode safe mode disables not plug-ins.

    See this article for more information:

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

  • How can I get rid of the tooltip improve boring Images?

    The ToolTip of the images improve is so boring!
    How can I get rid of him?

    The fixed.
    Had to get an add-on that is blocking my ISP header injection.

  • Name of the Protocol have disappeared from the link tooltip

    Previously, when I hover over the link on a page, it showed tooltip like this:
    http://www.Google.com/
    but now it shows www.google.com. It's confusing, how to get back a normal behavior?

    The Protocol (http://) was removed from the URL in the location bar for http:// only pages in Firefox 7 and newer versions. Secure pages will always show the https:// Protocol. This can be confusing for some users. There is also a bug known, where if you copy the URL after selection of the awesome bar dropdown (but before loading the page) it does not include the http:// part.

    Users can revert to the old behavior by setting browser.urlbar.trimURLs to false in about: config

    1. type of topic: config in the URL/address bar and press the Enter key
    2. If you see a cautionary, accept it (promise to be careful)
    3. Search = browser.urlbar.trimURLs
    4. Double-click the pref in the lower panel of toggle it on 'false' OR , do a right-click on the pref in the lower panel, then choose "Toggle" switch it on "false."
    5. close the topic: config tab

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • ToolTips ceases to display after updating to firefox 11/12

    I'm on Ubuntu 11/12 and tooltips no longer works after that I updated to v11 or v12 of FF. I checked on various websites and ToolTips have stopped working. I checked about: config and it is.

    My extensions are: WOT; Tor-button; Flashblock; Ghostery; ABP; DNTP; HTTPS everywhere

    It's a problem to Add on, I'll try to see that it is thanks

    Edit: torbutton was the problem; TorButton 1.4.5.1 disabled resolved, thanks again!

    Edit 2: FYI she also set by dragging the problem tabs, where I couldn't move / drag the tabs to re - organize / do new windows/join to other FF Windows. Solved more than a problem with this = D

Maybe you are looking for