How to give tool tip for each button in Query Panel
Hi All,
I need to give tooltip on each button.For Search,Reset and Advanced buttons.
Is there any way to give this.
thanks,
BM.
Check if you find skin selectors for the query buttons.that's the only way of see. The query component comes as is ands allows changes mostly through skinning.
Timo
Similar Messages
-
Tool Tip for each JComboBox entry while moving mouse on them
What is the best way to implement a different tool tip for each entry in the combobox. Moreover, while moving the mouse over any entry the tooltip should be visible.
I'm not sure you can attach a tooltip to a JComboBox item, since these elements are not user interface elements, there may be anything(Integers, Strings, Icons,...). So how can you attach a tooltip to an Integer ?
I mean, in a menubar, you can attach a tooltip to a menu item, because there's this user interface object called JMenuItem wich has a tooltip text propertyinfo... but what about items in a JComboBox ?
I'm curious to know if this is possible.
Diego -
How to set tool tips for graphic objects.
Hi
i have a code like this
here dst is graphic object but i casted ti Graphic2D object because i have to set back ground color.
Graphics2D lGraphic = (Graphics2D) dst;
lGraphic.setBackground(Color.RED);
lGraphic.clearRect((int) lx, (int) ly, (int) lw + 1, (int) lh + 1);
lGraphic.drawRect(0, 0, (int) lw, (int) lh);
so now i want to set a tool tip for this lGraphic Object.
can any body please post answer for this proble.
if you will post in advance it will help me a lot.so now i want to set a tool tip for this lGraphic Object.Your concepts are all wrong. Read the API for java.awt.Graphics and try to understand that a Graphics object is akin to a paintbrush: it has methods to draw whatever is to be drawn. The painting is not the brush, the brush does the painting.
To obtain a custom tooltip at certain locations within a JComponent, I think the easiest way is to override getToolTipText(MouseEvent me). The method can return null for locations where a tooltip is not to be shown.
db -
How to implement tool-tip for the list items for the Choice column in SharePoint 2013
I had created a simple list with a "Choice" column, i have three entries in my drop-down,
First Entry
Second Entry
Third Entry.
If i select any entries in drop-down and hour-over (Second Entry), a
tool-tip need need to show.
Is it possible? If yes how to implement any help will be appreciated.Hi,
We can use JavaScript to achieve it.
The following code for your reference:
<script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/wz_tooltip.js"></script>
<script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript">
$(function () {
$("select[title='Choice']").change(function(){
Tip($(this).val());
$("select[title='Choice']").mouseout(function(){
UnTip();
</script>
Download wz_tooltip.js:
http://www.walterzorn.de/en/tooltip/tooltip_e.htm#download
Best Regards
Dennis Guo
TechNet Community Support -
How to get tool tip for ALV Contents.
Hi,
I have a ALV list with some data and Icons.
When my mouse is on Icon,
it should display a info text or tool tip,
Any body help me?
Best Regards
Vinay.Hi Vinay
Happy that you have solved your problem.
I do not know which post has solved your problem. But you can give points to the posters by clicking the yellow star next to the post header to thank them. This is a part of SDN Contributor Recognition Program.
You can give;
many '2' points (Helpful answer)
two '6' points (Very helpful answer)
and one '10' points (Problem solved)
For more information:
https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm
*--Serdar -
Howto set tool tip for a row in JTable
I want to set a seperate tool tip for each of the rows in JTable. I tried getting cell renderer of all columns in a row and then setting tool tip for them. I expected that setting tool tip for a cell renderer will set tool tip for that cell. Thus setting tool tip for all the cells in a row will indirectly set tool tip for that row. But it does not happen that way. By setting a tool tip for a renderer it will use that tool tip for all those cells which use that renderer.
Is there any problem in my approach or we cannot do this in Java.
regards.Thanks.You're wellcome.
>
I just saw this method in JComponent and realized this
solution.
But then thought that for doing this i'll have to
create my JTable class for just overiding one method
thereby increasing one more level of abstraction.Well, you could override the method in an inner class if I understand you correctly in assuming that you don't want to create a JTable as new separate class. You could do this:
JTable yourtable = new JTable() {
public String getToolTipText( MouseEvent e ) {
return getToolTipForRow( rowAtPoint( e.getPoint() ));
// some where else in your class
getToolTipForRow( int row ) {
// determine your tooltip here
}I think this would be a bit nicer and slightly faster approach because as far as I understand the getToolTipText() method is called after a similar MouseEvent for every JComponent i.e. a small pause of cursor movement over the component in question. I admit that I haven't tested either approach myself but noticed that JTable actually overrides the getToolTipText( MouseEvent e) method already. In your code you determine and set the tooltip every time the mouse moves. If you override getToolTipText( MouseEvent e) you have to determine the tooltip text only when the tooltip is actually about to be shown.
Regards, JMorko -
How to parse RSS Feed - Different URL for each button
I'm making an app with AS3 and I want to be able to load a different RSS Feed when the user clicks on each button. This is the code I have so far, has anyone any idea how I can modify my code to do this?
here's my code so far:
//IMPORT CLASSES
import fl.controls.List;
import flash.net.URLLoader;
import flash.events.Event;
import flash.net.URLRequest;
cGOSSIP.addEventListener(MouseEvent.CLICK, doClick);
function doClick (e:MouseEvent):void
cGOSSIP.gotoAndStop ("GOSSIP");
wNEWS.addEventListener(MouseEvent.CLICK, doClick2);
function doClick2 (e: MouseEvent):void
wNEWS.gotoAndStop ("WORLD NEWS");
eNEWS.addEventListener(MouseEvent.CLICK, doClick3);
function doClick3 (e: MouseEvent):void
eNEWS.gotoAndStop ("ENT NEWS");
fbNEWS.addEventListener(MouseEvent.CLICK, doClick4);
function doClick4 (e: MouseEvent):void
fbNEWS.gotoAndStop ("FB NEWS");
//NEWSLIST FORMATTING
var newsListTf:TextFormat = new TextFormat();
newsListTf.font = "Verdana";
newsListTf.color = 0xFFFFFF;
newsListTf.size = 18;
newsListTf.align = "left";
newsList.setRendererStyle("textFormat", newsListTf);
newsList.rowHeight = 100;
newsList.allowMultipleSelection = false;
//newsList.wordWrap = true;
//NEWSDISPLAY TEXT AREA FORMATTING
var rssStoryTf:TextFormat = new TextFormat();
rssStoryTf.font = "Verdana";
rssStoryTf.color = 0x6699CC;
rssStoryTf.size = 22;
rssStoryTf.align = "left";
rssStory.setStyle("textFormat", rssStoryTf);
//READMORE BUTTON FORMATTING
var buttonTf:TextFormat = new TextFormat();
buttonTf.font = "Verdana";
buttonTf.color = 0xFFFFFF;
buttonTf.size = 22;
btn_ReadMore.setStyle("textFormat", buttonTf);
//RSS FEED
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest = new URLRequest
("http://rssfeeds.tv.adobe.com/adobe-higher-education-solutions.xml");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
newsList.addEventListener(Event.CHANGE, selectRssStory);
btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
rssLoader.load(rssURL);
var newsXML:XML = new XML();
var currentStoryURL:URLRequest = new URLRequest();
newsXML.ignoreWhitespace = true;
function rssLoaded(evt:Event):void
newsXML = new XML(rssLoader.data);
//trace(newsXML);
for(var item:String in newsXML.channel.item) {
//newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
//+": " + newsXML.channel.item[item].title } );
newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
+" ..." } );
newsList.selectedIndex = 0;
//FIRST LOAD
currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
rssStory.htmlText = newsXML.channel.item[0].description;
function selectRssStory(evt:Event):void
rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
].link);
function goToURL(event:MouseEvent):void
navigateToURL(currentStoryURL);I copied the wrong code, it works and loads the feed but I have a number of buttons in the main menu and I want to be able to load a different rss feed for each button?
Here's the code.
btn_Home.addEventListener(MouseEvent.CLICK, clickHome);
function clickHome(e:MouseEvent):void
gotoAndStop ("START");
//NEWSLIST FORMATTING
var newsListTf:TextFormat = new TextFormat();
newsListTf.font = "Verdana";
newsListTf.color = 339999;
newsListTf.size = 18;
newsListTf.align = "left";
newsList.setRendererStyle("textFormat", newsListTf);
newsList.rowHeight = 100;
newsList.allowMultipleSelection = false;
//newsList.wordWrap = true;
//NEWSDISPLAY TEXT AREA FORMATTING
var rssStoryTf:TextFormat = new TextFormat();
rssStoryTf.font = "Verdana";
rssStoryTf.color = 0x6699CC;
rssStoryTf.size = 22;
rssStoryTf.align = "left";
rssStory.setStyle("textFormat", rssStoryTf);
//READMORE BUTTON FORMATTING
var buttonTf:TextFormat = new TextFormat();
buttonTf.font = "Verdana";
buttonTf.color = 0xFFFFFF;
buttonTf.size = 22
btn_ReadMore.setStyle("textFormat", buttonTf);
//RSS FEED
var rssLoader:URLLoader = new URLLoader();
var rssURL:URLRequest = new URLRequest
("http://www.tmz.com/rss.xml");
rssLoader.addEventListener(Event.COMPLETE, rssLoaded);
newsList.addEventListener(Event.CHANGE, selectRssStory);
btn_ReadMore.addEventListener(MouseEvent.CLICK, goToURL);
rssLoader.load(rssURL);
var newsXML:XML = new XML();
var currentStoryURL:URLRequest = new URLRequest();
newsXML.ignoreWhitespace = true;
function rssLoaded(evt:Event):void
newsXML = new XML(rssLoader.data);
//trace(newsXML);
for(var item:String in newsXML.channel.item) {
//newsList.addItem({label: newsXML.channel.item[item].pubDate.substr(0, 16)
//+": " + newsXML.channel.item[item].title } );
newsList.addItem({label: newsXML.channel.item[item].title.substr(0, 40)
+" ..." } );
newsList.selectedIndex = 0;
//FIRST LOAD
currentStoryURL = new URLRequest(newsXML.channel.item[0].link);
rssStory.htmlText = newsXML.channel.item[0].description;
function selectRssStory(evt:Event):void
rssStory.htmlText = newsXML.channel.item[evt.target.selectedIndex ].description;
currentStoryURL = new URLRequest(newsXML.channel.item[evt.target.selectedIndex
].link);
function goToURL(event:MouseEvent):void
navigateToURL(currentStoryURL); -
How to assign each BitNum for each button?
Actually, I am doing a interface to control variable gain amplifier through a DAQ namely PMD-1208FS(Measurement Computing Product). But, the interface is not really desired. This is because before I want to click a button, I need to set it's BitNum and then it can send 5V signal to the hardware. Ideally, I want click a button and straight forward send a signal. Do you have idea of this?T
I have attached my interface and labeled each BitNum for each button The BitNum that I want to use is from 0-12. Hope your all guy can help me or guide me to solve this problem. Appreciate your reply and thank you very much.
Cheers,
Furman
Attachments:
My Interface 2vi.vi 62 KBAfter being blinded by the colors on your diagram (It is very difficult to see a blue wire on a blue background and a green wire on a cyan background! ), I think what you want to do is call the DBitOut with certain parameters whenever one of the booleans has been changed. The attached modification sketch shows one possibility (LabVIEW 7.1), but the details would need to be worked out once it becomes more clear what you actually want to do. (You probably would also need to initialize the shift register with the proper values).
Personally, I would stay away from the stacked sequence. It is completely unecessary because there is data dependency. Also bright colors have no use on the diagram, focus on the code first!
LabVIEW Champion . Do more with less code and in less time .
Attachments:
MyInterface2vi.vi 61 KB -
Tool Tip for a screen field.
Hi,
I have a step loop defined in a screen. I want to show tool tip for the each column. Please let me know how can i do it?
I would really appreciate it.
Regards,
Sanjeevhi,
�� If the meaning of a button cannot be perceived because of short or abbreviated label texts, a detailed description should be available in a tool tip.
To insert a tool tip, proceed as follows: In the Screen Painter element list, choose the General Attributes tab and the Property List column; or the Properties pushbutton in the Layout display on the Attributes window. Insert the TooltipText property to assign a tool tip. This function is only avail-able with R/3 Enterprise or Basis SP 44 (Release 4.6C) and higher.
�� Always provide a tool tip on icon-based buttons.
�� If a button contains both a text label and an icon, the button must have a tool tip that in-cludes the text description of the meaning of the icon. If the label text and the icon both convey the same information, no tool tip is required if the text is recognized by assistive technology.
�� If a keyboard shortcut (e.g. Ctrl+F3) is available, add this information to the tool tip text.
�� If a button handles the Enter keystroke, the buttons tool tip should provide this Default Button information.
�� Recommendation: Important buttons provide an optional icon and a mandatory caption text. Align important buttons in the order in which they are read: in Western countries, the most important buttons are aligned left. Standard buttons (such as Save, Back, Search, Next Object, or Previous Object) should not have an additional caption text.
Also chk this link:
http://www.sapdesignguild.org/resources/Accessibility_Guideline_ABAP_external_Version.pdf
regards,
keerthi -
Regarding ALV control: Tool tip for column data
Hi Group,
How can I give the tool tip for the data in ALV grid? For column headers I know that, but for the data in the colums how do I give the tool tip info.
Regards,
Kummi.Hello Kummi
If you want to have a specific tooltip for an icon displayed in an ALV grid cell then you can use:
@08<b>\Q</b> <tooltip text><b>@</b> " shows own tooltip for icon @08@
I am not sure if the same trick works for "normal" cell values. You may give it a try.
Regards
Uwe -
How to Get Missing Dates for Each Support Ticket In My Query?
Hello -
I'm really baffled as to how to get missing dates for each support ticket in my query. I did a search for this and found several CTE's however they only provide ways to find missing dates in a date table rather than missing dates for another column
in a table. Let me explain a bit further here -
I have a query which has a list of support tickets for the month of January. Each support ticket is supposed to be updated daily by a support rep, however that isn't happening so the business wants to know for each ticket which dates have NOT been
updated. So, for example, I might have support ticket 44BS which was updated on 2014-01-01, 2014-01-05, 2014-01-07. Each time the ticket is updated a new row is inserted into the table. I need a query which will return the missing dates per
each support ticket.
I should also add that I DO NOT have any sort of admin nor write permissions to the database...none at all. My team has tried and they won't give 'em. So proposing a function or storable solution will not work. I'm stuck with doing everything
in a query.
I'll try and provide some sample data as an example -
CREATE TABLE #Tickets
TicketNo VARCHAR(4)
,DateUpdated DATE
INSERT INTO #Tickets VALUES ('44BS', '2014-01-01')
INSERT INTO #Tickets VALUES ('44BS', '2014-01-05')
INSERT INTO #Tickets VALUES ('44BS', '2014-01-07')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-03')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-09')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-11')
So for ticket 44BS, I need to return the missing dates between January 1st and January 5th, again between January 5th and January 7th. A set-based solution would be best.
I'm sure this is easier than i'm making it. However, after playing around for a couple of hours my head hurts and I need sleep. If anyone can help, you'd be a job-saver :)
Thanks!!CREATE TABLE #Tickets (
TicketNo VARCHAR(4)
,DateUpdated DATETIME
GO
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-01'
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-05'
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-07'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-03'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-09'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-11'
GO
GO
SELECT *
FROM #Tickets
GO
GO
CREATE TABLE #tempDist (
NRow INT
,TicketNo VARCHAR(4)
,MinDate DATETIME
,MaxDate DATETIME
GO
CREATE TABLE #tempUnUserdDate (
TicketNo VARCHAR(4)
,MissDate DATETIME
GO
INSERT INTO #tempDist
SELECT Row_Number() OVER (
ORDER BY TicketNo
) AS NROw
,TicketNo
,Min(DateUpdated) AS MinDate
,MAx(DateUpdated) AS MaxDate
FROM #Tickets
GROUP BY TicketNo
SELECT *
FROM #tempDist
GO
-- Get the number of rows in the looping table
DECLARE @RowCount INT
SET @RowCount = (
SELECT COUNT(TicketNo)
FROM #tempDist
-- Declare an iterator
DECLARE @I INT
-- Initialize the iterator
SET @I = 1
-- Loop through the rows of a table @myTable
WHILE (@I <= @RowCount)
BEGIN
-- Declare variables to hold the data which we get after looping each record
DECLARE @MyDate DATETIME
DECLARE @TicketNo VARCHAR(50)
,@MinDate DATETIME
,@MaxDate DATETIME
-- Get the data from table and set to variables
SELECT @TicketNo = TicketNo
,@MinDate = MinDate
,@MaxDate = MaxDate
FROM #tempDist
WHERE NRow = @I
SET @MyDate = @MinDate
WHILE @MaxDate > @MyDate
BEGIN
IF NOT EXISTS (
SELECT *
FROM #Tickets
WHERE TicketNo = @TicketNo
AND DateUpdated = @MyDate
BEGIN
INSERT INTO #tempUnUserdDate
VALUES (
@TicketNo
,@MyDate
END
SET @MyDate = dateadd(d, 1, @MyDate)
END
SET @I = @I + 1
END
GO
SELECT *
FROM #tempUnUserdDate
GO
GO
DROP TABLE #tickets
GO
DROP TABLE #tempDist
GO
DROP TABLE #tempUnUserdDate
Thanks,
Shridhar J Joshi
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
Qry:How to get different price for each price list (variable area) in order
1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
2- I add a location store from a table in line item and I want to see this area in order,.
I 'm created 2 field location(item line and order), 1 table location
I tried this for exemple : select $ [userfieldlocation.OITW]Thanks Suda for your answer,
the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,
I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
read carefully and imagine how (Management warehouse locations)
I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data line and an ather user field 'U_Location' in sales order
I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
or
create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
I think we will use all these tables
@LOCATION
PDN1
OITM
OITW
OWHS
RDR1
Juste a another question : where you found this and What is: ' 38.1.0 '
Is it in document (System information):Item=38 Pane=1 ??
Thanks,
Ouchen -
How to create a Tip for a field in a Descriptive Flex Field in Self Service
How to create a Tip for a field in a Descriptive Flex Field in Self Service ?
Example :
For Address
Each Address Line should have one Tip.
What should I do ?
Thanks,
JohnHi John,
It seems you have created Address Location DFF in self service in OA Framework.....
I have created a Address Location flex in OA Framework . It dipslays the segments properly but i dont want to display the segments if they dont have any value.
I only want to display segments with values . The segments with null values should not display at all...
i.e , if Address Line 2 value is null , it should not display Address Line 2..
If you have done this, pls let me know how to go abt it.
Thanks in Advance,
Tanveer -
I want to display a tool tip for the values in a selection list in a HTML form in a JSP page. I have tried setting the title attribute on option tag but it does not work.
Does anyone know how to do this?
Thank you in advancebump
-
How to handle event structures for two buttons and two counters.
*I have two buttons A and B, and have to compare the difference in hits between them. So do I place an event structure within a while loop for each button (2 buttons, 2 event structures, 2 while loops), or does it need to be one event structure with cases for both buttons whithin one while loop?
*How do I pass the values of buttons A and B's hit counters out of the while loop in order to calculate the differences between them after each increment, not just the final count after the stop button is hit?
*How would I make one stop button work to handle both buttons A and B? I tried to place the actual stop button in one button A's structure and its global in B's structure, but It wont seem to let me use a local variable for a latchable control
CheckerYou should probably have not started a new thread and waited until your question in the original thread was answered. You can modify altenbach's example for a second button. You have a single event structure with a new event for the second button. You have a second shift register to track the number of times the second button is pressed. Inside the while loop but outside the event structure, you just have a subtract function in or to report the difference. do not modify the posted example for the stop button. It works perfectly as is.
Maybe you are looking for
-
Newbie: Problem with jdbc-odbc and MS SQL server 2005
I'm on win vistax64 with SQLSERVER 2005 and I have set up the odbc source as system dsn using the SQL Native Client driver with SQL authentication and the connectivity test in the end succeeds. I'm trying to make a simple web app that will connect to
-
The app crash when I run it for few seconds (less than 10 sec) and it crash. . I tried to reinstall, and uninstall it, but no response Something that might help you: Problem signature: Problem Event Name: APPCRASH Application Name: AcroRd32
-
Lent movie no longer available in iTunes Store.
Already lent movie (Headhunters) is no longer available as a hire movie in iTunes Store. Therefore playing back this movie is not available any longer. Please Help!
-
Safari 3.1.2 will not install on Mac witg OSX 10.5.5
My Safari was acting erattically. Not finding helper applicatione like Adobe reader etc... So I uninstalled it (Dragged it to the trash and went for a new install) When I run the installer I get a message thst says "You cannot install Safari on this
-
Will iTunes add other shows anytime soon?
While I love Desperate Housewives, do any of you know or think that other network/cable shows will be available on iTunes anytime in the near future? I love the no commerials aspect, and I'd love to download older shows like Fresh Prince or Saved by