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

2001-03-07 Thread christopher sagayam
How to dynamically change the readonly attributes of a text field ? $ModuleWindow->text2_tab1(-readonly => '1'); and later $ModuleWindow->text2_tab1(-readonly => '0'); how to make the above work ? chris

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

2001-03-07 Thread Glenn Linderman
Pete, Thanks for the idea. I added your suggestion, minus the WS_HSCROLL (I want wrapping to take effect). It does produce a scroll bar. It removes the effect of -readonly, but since I never look at the resulting text, and refresh it on the next display, that isn't terribly problematical. Perh

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

2001-03-07 Thread Peter Eisengrein
I hate to be a pest on this subject, but I still haven't come up with the cause of the problem nor the solution. Again, I have comboboxes that pull down when I click on the handle but it does not display the text. However, if I arrow-down while it is open I can then see and select (by hitting retur

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

2001-03-07 Thread Peter Eisengrein
Not sure if the -style flag works on textfields but it does on RichEdits and that might be what's missing. Try adding this to your Textfield hash: -style => WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | ES_LEFT | ES_MULTILINE, -Pete -Original Message--

[perl-win32-gui-users] Textfield question

2001-03-07 Thread Glenn Linderman
Hi, I'm a Perl expert, but a Windows novice. I'm using the .558 version of Win32::GUI, and having great success for the most part. There are some rough edges, and some apparently missing pieces, but no showstoppers so far, to achieve what I need. I created a Textfield as $help_text = $neww -

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

2001-03-07 Thread Moore, Larry
is there a good source of info for using the -style attribute with the GUI objects? Tks, Larry

Re: [perl-win32-gui-users] event handlers

2001-03-07 Thread Aldo Calpini
Dave Moore wrote: >> this is more clear. the New Event Model I'm trying to build will >> pass a reference to the object that fired the event as its first >> parameter, so this issue will be solved. > > that will be nice, but there is still the issue of name space. > having to name each control in s

RE: [perl-win32-gui-users] event handlers

2001-03-07 Thread Dave Moore
> Eric Bennett wrote: > > He probably means being able to open multiple instances of a > > window or being able to subclass window or control behavior. > > I'm afraid I still don't get the exact point (I'm tired, sorry :-). > i dont know what i meant either (i was tired too). > > Right now the on