Hi Pals..... I have an issue with creating progressbar using Tk::ProgressBar. The issue goes like this:
My current application is already using Tk to display a window but my application consumes around one minute and finally displays the result in that window. It means that I am already calling MainLoop() to display this window which is an infinite loop. I want to display a progressbar for that one min gap. I am unable to use Tk::ProgressBar since calling MainLoop for progressbar will cause my application to stuck at that point. So , I guess i cannot call MainLoop twice in a single application.
To summarise: -> I need to display a progress bar before displaying my result window. Issue is , since I am already calling MainLoop for displaying window, I cannot use Tk::ProgressBar because it also needs MainLoop.
Thnx in advance.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.