Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.325.041 Times

Tooltip Waitbar 1.0

  Date Added: August 02, 2013  |  Visits: 339

Tooltip Waitbar

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



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), thepercent label is used. This is a % label at the right alignment of theprogress 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 GUIhObject = uicontrol('Style', 'pushbutton');% create waitbarttwb = tooltipwaitbar(hObject, 0, 'Starting...'); % calculationn = 1;x = 3;% simple loopfor m = 1:10 ^ x % calculation n = n + m; pause(0.005) % update waitbar tooltipwaitbar(ttwb, m / 10 ^ x);end% finish at endtooltipwaitbar(ttwb)% clear upclear('ttwb', 'n', 'm', 'x', 'hObject')

Requirements: No special requirements
Platforms: PHP
Keyword: Argument Current Generated Giventooltipwaitbartooltipwaitbarhandle Messageupdates Output Progressabortstatus Progressupdates Properly Recent Stack Store Supplied Tooltipwaitbar Tooltipwaitbartooltipwaitbarhandle Uitooltip Updates Waitbars
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


TOOLTIP WAITBAR RELATED
Libraries  -  PerlIO::via::Logger 1.01
PerlIO::via::Logger is a PerlIO layer for prefixing current time to log output. SYNOPSIS use PerlIO::via::Logger; PerlIO::via::Logger->format( [%b %d, %Y %r] ); use PerlIO::via::Logger format => [%b %d, %Y %r] ; open( my...
6.14 KB  
Development Tools  -  MATLAB Matrix to LaTex table 1.0
The script when run with a matrix as an argument shall create a self-contained LaTex file which shall have the supplied matrix as a simple table. Useful for quickly writing the data into a LaTex document.
10 KB  
Database Tools  -  PHP AJAX pagination 1.0
PHP AJAX pagination takes as parameters an SQL query, the number of results to show per page and the current page number.HTML and javascript code is generated in order to display links for browsing the query result pages.When the user clicks on...
61.44 KB  
Libraries  -  GPIB::hpe3631a 0.30
GPIB::hpe3631a is a Perl-GPIB module for HPE3631A power supply. SYNOPSIS use GPIB::hpe3631a; $g->GPIB::hpe3631a->new("name"); $g->output(1); # Outputs on $g->output(0); # Outputs off $v = $g->output; # Read output state $g->track(1); #...
74.75 KB  
Development Tools  -  Fuzzy c-means segmentation 1.0
This program illustrates the Fuzzy c-means segmentation of an image.This program converts an input image into two segments using Fuzzy k-means algorithm. The output is stored as "fuzzysegmented.jpg" in the current directory.This program can be...
10 KB  
Development Tools  -  CUK Converter 1.0
CUk converter is an extension of buck/boost converter and is capable of either buck or boost the input voltage. The current of input and output have very low ripple content.
10 KB  
Development Tools  -  Comb Filters using the Texas Instruments TMS320C5416 DSK 1.0
Laboratory 5 of 12 for the Texas Instruments TMS320C5416 DSK.A self-teach application or college laboratory to allow the student to find out by practical experiment the answer to the following question: Comb filters use the same configuration used...
686.08 KB  
Science  -  Fixed Torque Dynamo and Motor Model 1.0
The Fixed Torque Dynamo and Motor Model solves the coupled differential equations for an electric motor driven by a dynamo (generator). The model can be used as to illustrate elementary instabilities or bifurcations discussed in courses about...
978.94 KB  
Libraries  -  iCal::Parser::SAX 1.07
iCal::Parser::SAX is a Perl module to generate SAX events from an iCalendar. SYNOPSIS use iCal::Parser::SAX; my $parser=iCal::Parser::SAX->new(Handler=>SAXHandler,%args); $parser->parse_uri($file); $parser->parse_uris(@files); This module...
22.53 KB  
MS Office Add-Ins  -  4Videosoft PDF Converter for Mac 3.2.56
4Videosoft PDF Converter for Mac is professional in converting PDF files to other image and document files. And it provides you with OCR technology. You are able to finish your conversion with three conversion modes. And it enables you to choose...
158 MB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB