tooltip

Is there any way to add a hint or tooltip with FireMonkey?

瘦欲@ 提交于 2019-12-21 12:21:52
问题 I've earched for it but couldn't find anything. Is there any way to add a hint or tooltip with FireMonkey? Are there any components available that enable this? Ideally I am looking for something like this (a callout type tooltip): To the moderators who have placed this question on hold: I am looking for lines of source code on how to achieve this, not a software to buy/use. There are currently (AFAIK) no source code components that enable doing this, so there is no risk of "opinionated anwers

Is it possible to put a list inside a span tag?

旧街凉风 提交于 2019-12-21 09:34:14
问题 I'm aware that <span> tag is an inline element while <li> is a block element. However, we have a tooltip that uses a <span> tag and we'd like to make the text inside that tooltip into a list. However, putting <ul><li> inside span doesn't work in all browsers (and it's invalid). This is the HTML code: <a class='tooltip'>Text<span>Text that we want to become a list</span></a> Is there a possible work around? 回答1: Although I would not worry to much about invalid code in this instance, given that

C# Tooltip not appearing on “Show”

ぐ巨炮叔叔 提交于 2019-12-21 09:33:02
问题 To fullfill a requirement I have to show a tooltip manually for 30 seconds. According to msdn I just have to use the "Show" method. toolTip.Show(QuestionHelpText, btnHelp, 30000); But I only get the standard tooltip behavior, meaning that the message appears half a second after my click (only because the mouse pointer is still over the button). I tried some variations like toolTip.Show(QuestionHelpText, btnHelp); but still, nothing happens. Does anybody have an idea why that is? Thanks 回答1: I

How to increase ToolTip display time?

廉价感情. 提交于 2019-12-21 09:16:55
问题 I have one GridView, in its RowDataBound Event, I am assigning ToolTip as below: protected void gv_RowDataBound(object sender, GridViewRowEventArgs e) { try { if (gv.HeaderRow != null && e.Row.RowType == DataControlRowType.DataRow) { e.Row.ToolTip = "Remarks: " + ((Label)e.Row.FindControl("lblRemarks")).Text; } } catch (Exception ex) { BussinessLayer.RIBOException.Instance.HandleMe(this, ex); } } Here, I want to extend the display time of the ToolTip. How to do this? 回答1: You need to use the

tipsy live does not work with jQuery 1.9.0

隐身守侯 提交于 2019-12-21 06:59:31
问题 We recently upgraded our jQuery to 1.9.0, but it broke our tipsy plugin. Its live functionality now causes an error. $('.tooltip, abbr').tipsy({ live: true }); TypeError: this[binder] is not a function Are there any fixes or patches for this? Googling didn't lead to anything useful. UPDATE: Thanks for the answers. I decided to try to fix the issue myself, because I couldn't find any patches. Upon inspection the error seemed really easy to trace. The tipsy plugin can easily be patched to use

(Delphi THintWindow) How to draw a transparent PNG?

爷,独闯天下 提交于 2019-12-21 06:39:33
问题 I have this delphi 2010 code: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Math, ExtCtrls, pngimage; type TMyHintWindow = class(THintWindow) private FBitmap : TBitmap; ThePNG : TPngImage; FRegion : THandle; procedure FreeRegion; protected procedure CreateParams(var Params : TCreateParams); override; procedure Paint; override; procedure Erase(var Message : TMessage); message WM_ERASEBKGND; public constructor Create

QT - How to apply a QToolTip on a QLineEdit

自闭症网瘾萝莉.ら 提交于 2019-12-21 06:04:14
问题 On a dialog I have a QLineEdit and a button. I want to enable a tool tip for the QLineEdit(in it or under it) when I press the button. Please give me a code snippet. 回答1: Here is a simple example: class MyWidget : public QWidget { Q_OBJECT public: MyWidget(QWidget* parent = 0) : QWidget(parent) { QVBoxLayout* layout = new QVBoxLayout(this); edit = new QLineEdit(this); layout->addWidget(edit); showButton = new QPushButton("Show tool tip", this); layout->addWidget(showButton); hideButton = new

How to specify a ToolTip for a control in a Style from XAML?

和自甴很熟 提交于 2019-12-21 03:35:22
问题 I'm using a the WPF datagrid from the Microsoft CodePlex project. I have a custom control that I want to databind to a field from the row of the datagrid. I can't for the life of me figure out how to specify a tooltip on a datagrid row. The closest I've come is to use a RowStyle with a Setter to set the tooltip, but this only seems to work for text. When I try to put a ControlTempalte in as the Value for the ToolTip, it displays the result of calling ToString on the ControlTemplate type. I

Show tooltip on invalid input in edit control

跟風遠走 提交于 2019-12-20 19:10:07
问题 I have subclassed edit control to accept only floating numbers. I would like to pop a tooltip when user makes an invalid input. The behavior I target is like the one edit control with ES_NUMBER has : So far I was able to implement tracking tooltip and display it when user makes invalid input. However, the tooltip is misplaced. I have tried to use ScreenToClient and ClientToScreen to fix this but have failed. Here are the instructions for creating SCCE : 1) Create default Win32 project in

Eclipse - black background in javadoc popup

北城余情 提交于 2019-12-20 05:10:12
问题 I am using Elementary OS, based on Ubuntu 12.04 and Eclipse Luna. The background color of javadoc popups is black and font color is dark grey, so it is unreadable. I tried to change background in eclipse preferences, but it did not change. Then I used google, and found solution, that I need to change tooltip bg color. So I did it. But still no change. Anyone knows how to change that color ? 回答1: I had the same problem with Ubuntu 16.04 and Eclipse Mars. I solved the problem by adding the