Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
MCU 8051 IDE 1.4.7
School Management Script 1.0.4
shopping mall management system 1.0
WinPoker 2.02
SynaSer Serial Port Library 5.0
MLM Software 1.0.2
Planyo online reservation system module 6.x-1.8
SuperGeek Free Document OCR 2.5.6
sipmethod 1.0
School Management CRM 1
STDF file reader 1.0
Farnsworth 1.0
WebKit2.NET 0.10
Simple IP Calculator sub/sup networking 0.0.4
Beremiz 1.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Tooltip Waitbar 1.0
File ID: 90413






Tooltip Waitbar 1.0
Download Tooltip Waitbar 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 0
Submit Rating:
Tooltip Waitbar 1.0 Description
Description: Displays a tooltip-sized waitbar beneath uicontrols, and is animated. Inspired by "About Face", similarly to my other tooltip submission.

toolTipWaitBarHandle = tooltipwaitbar(hObject)
Generates a waitbar below a uicontrol (hObject). Returns a 4 element array for the static text boxes which make up the waitbar. (1) is the progress bar itself, (2) is the background to the waitbar, (3) is the border, and (4) is a UIContextMenu (right-click menu) that can be used which can hide the waitbar, and also gives information on the steps going through (it logs changes of the message using updatetooltipwaitbar). All can be modified using standard set/get notation. For example, change the colours with:
Progress bar: set(toolTipWaitBarHandle(1), 'BackgroundColor', 'red')
Progress background: set(toolTipWaitBarHandle(2), 'BackgroundColor', 'white')
Border: set(toolTipWaitBarHandle(3), 'BackgroundColor', 'black')

... = tooltipwaitbar(hObject, progress)
Pre-defines a progress level of the waitbar, where the progress is any number from 0 to 1, or, from 0 to 100 (whichever it is is dynamically selected). If left empty, the default is 0.

... = tooltipwaitbar(hObject, progress, message)
Also supplies a message which appears in the ToolTip for the text box. This can be empty (the default), or a string.

... = tooltipwaitbar(hObject, progress, message, useContextMenu)
If useContextMenu evaluates to false (the default is true), the context menu is disabled. If useContextMenu is the handle to a uicontext menu object, then this can be used instead. CAUTION: This will error if you accidentally supply the number to a uicontrol that is not a uicontextmenu. It is recommended this is converted to a logical beforehand if possible.

... = tooltipwaitbar(hObject, progress, message, useContextMenu, usePercentLabel)
If usePercentLabel evaluates to true (the default is false), the
percent label is used. This is a % label at the right alignment of the
progress bar, in white.

... = tooltipwaitbar(hObject, progress, message, useContextMenu, usePercentLabel, abortAction)
AbortAction specifies what to do when the user clicks on abort.
Because of the way it works, the process can only be aborted the next time a callback tries to update the waitbar (e.g. in a loop). It can be true, 'error', or false. If true, an abort status flag (retrieved later, see how to update the waitbar) is changed. If 'error', then the waitbar will deliberately error after the waitbar has been redrawn as normal. If false (the default), nothing happens.

To change the label colour:
set(toolTipWaitBarHandle(1), 'ForegroundColor', 'yellow')

To change the label alignment:
set(toolTipWaitBarHandle(1), 'HorizontalAlignment', 'left')

To change the font size (8 is the default in MATLAB):
set(toolTipWaitBarHandle(1), 'FontSize', 10)

tooltipwaitbar(toolTipWaitBarHandle, progress)
abortStatus = tooltipwaitbar(toolTipWaitBarHandle, progress);
Updates the progress of the waitbar generated using tooltipwaitbar. If an output argument is supplied, the current abort status is given.

tooltipwaitbar(toolTipWaitBarHandle, progress, message)
Updates the waitbar, as well as the status message in the UIToolTip, and if the context menu is on, updates that too. If you only want to change the message, progress can also be empty ([]).

tooltipwaitbar(toolTipWaitBarHandle)
Removes the waitbar from the figure.

More than one tooltip can be used on the same uicontrol without issue, as long the handles are stored properly (the most recent one will be on top of the stack. No other data is stored. The waitbars stack rather nicely too when a tooltipwaitbar is slaved to another tooltipwaitbar, which makes for some quite interesting visual effects. The tooltipwaitbar is implemented as a series of overlapping text boxes rather than axes/patch objects because axes are always on the bottom of the UI element stack; if there are any other uicontrols nearby, the text object is obscured. The context menu to hide the waitbar merely makes it invisible; it may cause problems later otherwise when other functions attempt to clear up.

The test GUI I use for new features is also bundled.

An example...

% create a dummy GUI
hObject = uicontrol('Style', 'pushbutton');

% create waitbar
ttwb = tooltipwaitbar(hObject, 0, 'Starting...');

% calculation
n = 1;
x = 3;

% simple loop
for m = 1:10 ^ x
% calculation
n = n + m;
pause(0.005)

% update waitbar
tooltipwaitbar(ttwb, m / 10 ^ x);
end

% finish at end
tooltipwaitbar(ttwb)

% clear up
clear('ttwb', 'n', 'm', 'x', 'hObject')

License: Shareware

Related: supplied, argument, current, giventooltipwaitbartooltipwaitbarhandle, messageupdates, output, tooltipwaitbar, progressabortstatus, tooltipwaitbartooltipwaitbarhandle, progressupdates, Generated, uitooltip, Updates, Recent, properly, stack, waitbars, Store

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 0



More Similar Code

Provides a ToolTip for Tkinter widgets



It will read the title attribute of the element and convert it into fade-in tooltip that the user can style as he wants.

It can preview simple text, or more complex settings like paragraphs, images and lists.



This is an Ajax tooltip script. When you roll your mouse over the "info" links in the table, ajax will show tooltip content from external files.



Tooltip for forms script displays a tooltip next to form elements when the elemeys a tooles focus.

Files included in the package:
- form-field-tooltip.html = Main demo HTML file
- js/form-field-tooltip.js = Main JS file for...



The tooltip floating window can contain text, images or both.



The standard WAITBAR function (and the improved WAITBAR2 function, which this code is based on) must appear in their own figure windows, and cannot be embedded into a GUI. They also display incorrectly if the progress is reduced (e.g., when...



This m-file allows to specify a waitbar on a figure where the user wants to display it. The sample usage of waitbar_new is as given.

function test
h = dialog('Units', 'Pixels', 'Position', [20 20 360 100],'visible','off');
h1...



add tooltip on your blog.

Install :

1. Upload the zipped file to yoursite/wp-content/plugins
2. Activate the plugin through the 'Plugins' menu in WordPress 3.add tooltip style on your template style .
3. visit...



Adds a tooltip on an chosen keyword for a search via twitter. Simply choose the keyword by surrounding with the shorttag.

# Installation :

You can use the built in installer and upgrader, or you can install the plugin manually.



This practical, elegant DHTML tooltip script displays additional information about a link or any other element (ie: table) when the mouse moves over it.

User Review for Tooltip Waitbar
- required fields
     

Please enter text on the image