RE: [perl-win32-gui-users] Question about Button-Widget

2001-11-08 Thread Piske, Harald
> I triede for eg. the DblClick() event like that > > sub Button_DblClick { >print "DblClick on Button.\n"; >return 1; > } > > But this doesn't work ... are this events not supportet yet? Yes they are, thru the class. Note that you can have buttons extend the RichEdit widget and vice ver

[perl-win32-gui-users] Question about Button-Widget

2001-11-08 Thread Johannes Gamperl
Hello, im looking for information on the Button Widget. Can anyone explain me, what this options are doing: -default=> 1, -ok => 1, So, i played a little with the Events on the Button-Widget, but it seems that only the _Click Event are working ... ? There are short eg. fo

RE: [perl-win32-gui-users] More on Tabs on Textfields

2001-11-08 Thread Piske, Harald
The multi will accept Ctrl+Tab as tab, dunno 'bout Ctrl+Return, presumably ditto. If that's not what you want, consider intercepting keys - either tab and return only in the multi field, which might not work, or tab and return for the non-dialogui-window, doing the focus-shifting yourself, which al

[perl-win32-gui-users] More on Tabs on Textfields

2001-11-08 Thread Gross, Stephan
Regarding this recent conversation on tabstops, I have this problem. I have a multiline textfield and some other individual textfields. Without tabstops and dialogui, the multiline textfield can have tabs and returns inside it but the individual textfields don't tab at all. When I add tabstops (

RE: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Piske, Harald
Maybe -disabled keeps it from scrolling? > -Original Message- > From: Jonathan Southwick [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 08, 2001 12:20 > To: perl-win32-gui-users@lists.sourceforge.net > Subject: RE: [perl-win32-gui-users] Putting cursor at end of RichEdit > > > It i

RE: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Jonathan Southwick
It is already in there: $ChatBox = $GameWindow->AddRichEdit( -name=> "ChatBox", -left=> 400, -top => 5, -width => 230, -height => 330, -disabled=> 1, -addstyle=> WS_CHILD | WS_VISIBLE | ES_LEFT | ES_MULTILINE | ES_AUTOVSCR

RE: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Peter Eisengrein
You might also try adding ES_AUTOVSCROLL to the RichEdit's -style This can be problematic, though. As I recall, it refreshes the RichEdit's data every time there's new data added. Of course, my memory ain't what it used to be, so I may be way off... :) > -Original Message- > From: Morbus

Re: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Jonathan Southwick
Thanks, that worked. Now to get the dumb word wrap to work. Jonathan Southwick [EMAIL PROTECTED] Technical & Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 11/8/2001 02:52 PM, you wrote: At 02:43 PM 11/8/01, Jonathan Southwick wrote: >I tried that and it does not sc

Re: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Morbus Iff
At 02:43 PM 11/8/01, Jonathan Southwick wrote: >I tried that and it does not scroll to the end of the RichEdit field, it >just places the cursor there. I even tried to add a SetFocus and that >doesn't help. Anyone else have any ideas? Did you try any of the rest in the script I pointed you to?

Re: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Jonathan Southwick
I tried that and it does not scroll to the end of the RichEdit field, it just places the cursor there. I even tried to add a SetFocus and that doesn't help. Anyone else have any ideas? Jonathan Southwick [EMAIL PROTECTED] Technical & Network Services Allegheny College, Meadville, PA 16335 (81

Re: [perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Morbus Iff
>If a bunch of lines are copied into the RichEdit field and you get to the >end the vertical scroll bar appears like it should but I would like what >was last appended to be shown. Right now I have to manually scroll to the >end of the RichEdit field. Is there a way to do this? Yup. Select the

[perl-win32-gui-users] Putting cursor at end of RichEdit

2001-11-08 Thread Jonathan Southwick
ANOTHER thing I don't know how to do ... If a bunch of lines are copied into the RichEdit field and you get to the end the vertical scroll bar appears like it should but I would like what was last appended to be shown. Right now I have to manually scroll to the end of the RichEdit field. Is

RE: [perl-win32-gui-users] Tab through buttons and textfields

2001-11-08 Thread Joseph_Vieira
You need both the -tabstop => 1, and $Window->{dialogui} =1; to work. Just tried with just one and it didn't work, needed both. Joe Peter Eisengrein <[EMAIL PROTECTED]> on 11/08/2001 01:33:54 PM To: "'Piske, Harald'" <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,

Re: [perl-win32-gui-users] Default in Button Definition

2001-11-08 Thread Jonathan Southwick
Never mind I figured it out! I needed the: $Window->{-dialogue} = 1; Jonathan Southwick [EMAIL PROTECTED] Technical & Network Services Allegheny College, Meadville, PA 16335 (814) 332-2755 At 11/8/2001 01:41 PM, Jonathan Southwick wrote: Another problem I am having. I would like the user t

[perl-win32-gui-users] Default in Button Definition

2001-11-08 Thread Jonathan Southwick
Another problem I am having. I would like the user to press enter in a Textfield object and append the results to a RichEdit object. I have done this before but for some reason it is not working now. Here is my code: $ChatBox = $GameWindow->AddRichEdit( -name=> "ChatBox",

[perl-win32-gui-users] Wordwrap in RichEdit

2001-11-08 Thread Jonathan Southwick
I am copying text from a Textfield object and appending it to a RichEdit object when the user clicks on a button. The text is not wrapping though and I would like it to. my RichEdit object is defined as: $ChatBox = $GameWindow->AddRichEdit( -name=> "ChatBox", -left=

RE: [perl-win32-gui-users] Tab through buttons and textfields

2001-11-08 Thread Peter Eisengrein
I knew that added the functionality to the window (suppose I should have mentioned it too) but thought you also had to tell it which widgets are tabstops and which aren't. No? > -Original Message- > From: Piske, Harald [mailto:[EMAIL PROTECTED] > Sent: 08 November 2001 13:17 > To: '[EMAIL

RE: [perl-win32-gui-users] Tab through buttons and textfields

2001-11-08 Thread Piske, Harald
Actually, there seems to be an easier way. $Window->{-dialogui} = 1; Taken from a recent posting. We have a silent agreement here on this list not to blame or flame anyone for re-posting questions that have been answered, since we know searching the archives does not work ... right, guys? Erm, GU

RE: [perl-win32-gui-users] RE: Peekmessage (was Capture shutdown)

2001-11-08 Thread Piske, Harald
> Still got one problem, > > my $messref [EMAIL PROTECTED]; > $result=$Win1->PeekMessage(0,0,@$messref); > > Should fill @message with the message details. > like getmessage does, ... >but it dont, any suggestion ? I suggest there is a bug in the xs. I have

RE: [perl-win32-gui-users] Tab through buttons and textfields

2001-11-08 Thread Peter Eisengrein
On each widget that you want to be able to tab to/from you need to add -tabstop => 1, > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 08 November 2001 12:07 > To: perl-win32-gui-users@lists.sourceforge.net > Subject: [perl-win32-gui-users] Tab through but

[perl-win32-gui-users] RE: Peekmessage (was Capture shutdown)

2001-11-08 Thread Rogers, John
Well knock me down, and hand the red face prize, :-) I got no answer to previous post, so I assume it was just too amusing. peek message it would seem, will only work on your own windows. so where $Win1 is the WI32-GUI window object. $result=$Win1->PeekMes