R
R
RaMzz2018-02-24 19:46:16
Perl
RaMzz, 2018-02-24 19:46:16

Perl Win32::GUI need an example?

Perl Win 32 :: GUI help with a simple example
5a919622d6530361381303.png
of clicking on the button to open a .txt file, read it into the interface window
and so that there is a progress bar.
That is, we click on the button, open the file, display its contents line by line in the text field, the progress bar works out,
the contents of the file, for example, such a palan

аавыавыа
вавыаы
аываы
аываыа
авыа
аываыва
аываыва

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2018-02-26
@saboteur_kiev

Open the file with for example search.cpan.org/~jenda/Win32-FileOp-0.16.02/FileOp.pm
Determine its size, divide by x pieces of your progress bar and get the SIZE size for your progress bar
Start reading line by line, determining the length of each read line and displaying it in the field using perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?do...
As you count SIZE bytes, draw the wand in the progress bar, and so on until everything is calculated .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question