[perl-win32-gui] while() - Loop

2000-03-04 Thread Jens Luedicke

Hi there 

I have a ProgressBar that get's increaed by one during a while()-Loop.
The loop exists when 36 is reached. How can I keep the window during
this time
activated, so that I can move it around or even minimize/maximize it?

I don't want that the window freezes during the loop.



with friendly regards

  Jens Luedicke [EMAIL PROTECTED]

//PGP Public Keys: [EMAIL PROTECTED] autoresponder





Re: [perl-win32-gui] GUI Builder Error Message

2000-02-22 Thread Jens Luedicke

   What does the "Window Property" window look like right before
   you get ready to click "OK"?

   Did you statup 'gb', click on File-New then make your changes
   to the property window then click OK?

   I can't get gb0.01 to generate the error you sent so I'm trying to
   figure out if you are doing something different than I'm doing.

   -dave


I hope those screenshots will help you

with friendly regards....

      Jens Luedicke [EMAIL PROTECTED]

//PGP Public Keys: [EMAIL PROTECTED] autoresponder

 error1.jpg
 error2.jpg


[perl-win32-gui] ProgressBar

2000-02-20 Thread Jens Luedicke

Hi there 

A ProgressBar in one of my programs get's
icreased by one during each loop that is made
by a while() loop. If increase the ProgressBar
by one until the while reaches 100 (or any other number)
the window that contains the loop freezes.

How can I keep the window active even when a loop
works with the progressbar?

with friendly regards

  Jens Luedicke [EMAIL PROTECTED]

//PGP Public Keys: [EMAIL PROTECTED] autoresponder





Re: [perl-win32-gui] Re: yate - yet another text editor

2000-02-20 Thread Jens Luedicke

 From: "Jens Luedicke" [EMAIL PROTECTED]
 Comments, Suggestions, etc. are always appreciated :-))

 clicked on the 'new' button and 'do you want to save' box pops
 up
 although there was nothing done and nothing to save.  Maybe need a
 dirty
 flag.
 same when clicked on 'open', even if immediately after a save.
 Surely
 need a dirty flag. :-)
I know... This is a problem. I tried to include an option that
only in the case of a change in the editor the MsgBox "Do you want to
save?"
is opened. I hope you know what I mean. New, Open, Exit will always
ask you to save before they do something. By the way, what is a dirty
flag?

 Console box remains on top after opening a file..  lose the
 console box
What do you mean with that ?

 Insert time  date always does this at the bottom, not at cursor
 position.
 If I switch to another application and switch back the cursor is
 lost.
If you know how to change that, tell me how :-))



 Not at all bad to start with, I'll steal it as-is :-))
Please include my name and copyright, like:

This program/script is based in YATE - Yet Another Text Editor
    by Jens Luedicke [EMAIL PROTECTED] Copyright (c) 2000




 Rob
 http://bangkokwizard.com/
 When in doubt, use brute force - Ken Thompson
with friendly regards....

      Jens Luedicke [EMAIL PROTECTED]

//PGP Public Keys: [EMAIL PROTECTED] autoresponder





[perl-win32-gui] Changes in a RichEdit Window

2000-02-19 Thread Jens Luedicke

Hi there 


I'm writing a little NotePad-Clone and I would like to know
if the following will work to determine if the RichEdit Window
was changed (typed text)


The user presses Alt-F4:

sub Window_Terminate {

if($Editor-Change()) {

displays a little MsgBox
Save it or Not.
return -1;

} else {

return -1;

}
}
with friendly regards

  Jens Luedicke [EMAIL PROTECTED]

//PGP Public Keys: [EMAIL PROTECTED] autoresponder





Re: [perl-win32-gui] dump something to a local printer

2000-01-31 Thread Jens Luedicke

Hi there ...

I solved my problem...

sub Print_Click {
  $Editor-Save("print.tmp", "1");
system("copy", "print.tmp lpt1");
unlink("print.tmp");
}

But I think that this "solution" isn't that perfect

 Hi there ...

 How can I dump the contents of a RichEdit Window to
 a local printer connected to the LPT1 Port ??

 with friendly regards

Jens Luedicke [EMAIL PROTECTED]

with friendly regards

   Jens Luedicke [EMAIL PROTECTED]




[perl-win32-gui] dump something to a local printer

2000-01-31 Thread Jens Luedicke

Hi there ...

How can I dump the contents of a RichEdit Window to
a local printer connected to the LPT1 Port ??

with friendly regards

   Jens Luedicke [EMAIL PROTECTED]




Re: [perl-win32-gui] Open and Save a file

2000-01-30 Thread Jens Luedicke

Hi there ...

I implemented those fuctions into a menu (File: Load and Save)
and saved the contents of a simple RichEdit Window into a file.
Then I existed my little program, and started it again. When I wanted
to load the particular file, my program crashed, with the output in the
console window:

Out of memory!
Callback called exit.


What is wrong there ?

with friendly regards

   Jens Luedicke [EMAIL PROTECTED]




[perl-win32-gui] Open and Save a file

2000-01-30 Thread Jens Luedicke

Hi there 

Is there an option to open and save a file ?



with friendly regards

   Jens Luedicke [EMAIL PROTECTED]