[perl-win32-gui-users] ChangeCursor for one button only

2001-03-08 Thread Piske, Harald
When I use $Mainwindow->Thisbutton->ChangeCursor ($fancyicon) then the mouse cursor changes to the new resource whenever the mouse is positioned over ANY button on the window. Seems the ChangeCursor affects the class and not the object ...? Lacking MouseEnter and MouseLeave, how do I make ONE butto

[perl-win32-gui-users] Arc function OK in 2000, not in 98?

2001-03-08 Thread Piske, Harald
I made a paint sub that uses some drawing functions. It makes a beautiful picture in Win2000, but on the target machine, running Win98, nothing shows. Rectangle seems to work fine, Circle behaves strangely and Arc does not work at all. Any ideas? ### code snippet: sub Paint { $pitch =

RE: [perl-win32-gui-users] use of Pos method

2001-03-08 Thread Peter Eisengrein
Do you want ->Pos() or ->Select()? I suspect you probably want the latter. -Original Message- From: Moore, Larry [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2001 1:49 PM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: [perl-win32-gui-users] use of Pos method I have two

[perl-win32-gui-users] use of Pos method

2001-03-08 Thread Moore, Larry
I have two listboxes each as the Buddy to an UpDown object. I want to synchronize the selected item for the two listboxes. I use two click event subroutines to allow selection in the list, as well as two scroll events. I get an error message saying that the Pos method is not available in my cl

Re: [perl-win32-gui-users] Win32::GUI gives memory back to OS?

2001-03-08 Thread Aldo Calpini
Peter Eisengrein wrote: > Does Win32::GUI give memory back to the OS (WinNT)? I know this > has been an on and off topic for Perl in general. And the answer > is usually, no, Perl does not give memory back. this is a very well known problem, and has been solved in version 0.0.558. the observed beh

RE: [perl-win32-gui-users] -style info source

2001-03-08 Thread Moore, Larry
My guess is that using the listbox and updown objects will be the solution to my problem. I should have experimented with these before diving off the deep end with ~style. Thanks, I love your GUI and that without even knowing it very well. Larry -Original Message- From: Aldo Calpini [ma

[perl-win32-gui-users] Win32::GUI gives memory back to OS?

2001-03-08 Thread Peter Eisengrein
Does Win32::GUI give memory back to the OS (WinNT)? I know this has been an on and off topic for Perl in general. And the answer is usually, no, Perl does not give memory back. Try this experiment: open any GUI script (seems to be true for any, at least on WinNT 4.0). While it is open, open Window

Re: [perl-win32-gui-users] -style info source

2001-03-08 Thread Aldo Calpini
Moore, Larry wrote: > is there a good source of info for using the -style attribute > with the GUI objects? Micro$$$oft's MSDN Library. but please note that -style is *absolutely* deprecated. use the available options, and if they don't do what you want them to do, complain about this and I'll (tr

Re: [perl-win32-gui-users] Textfield question

2001-03-08 Thread Aldo Calpini
Glenn Linderman wrote: > The -vscroll doesn't seem to have any affect. When I later > > $help_text -> Text ( $long_string ); > > and use a string that is longer than fits in the Textfield, I > expected, but did not get, a vertical scroll bar on the right of > the Text field. Any easy way to make

Re: [perl-win32-gui-users] Re: how to set ?

2001-03-08 Thread Aldo Calpini
christopher sagayam wrote: > This doesnt work > > $ModuleWindow->text2_tab1->Change(-readonly => 1); > > what is the correct way ? this will work in the next release. I've found that you need to send a message to change the ES_READONLY style *after* control creation. this is the 'workaround' mess

RE: [perl-win32-gui-users] combobox making me crazy

2001-03-08 Thread Peter Eisengrein
Found it!!! And I'm a bit more humble for it... I was missing Win32::GUI::Dialog(); in my code. Duh. -Original Message- From: Peter Eisengrein [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 2:55 PM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-use

[perl-win32-gui-users] Re: how to set ?

2001-03-08 Thread christopher sagayam
This doesnt work $ModuleWindow->text2_tab1->Change(-readonly => 1); what is the correct way ? chris - Original Message - From: christopher sagayam <[EMAIL PROTECTED]> To: Sent: Thursday, March 08, 2001 11:32 AM Subject: how to set ? How to dynamically change the readonly attributes