Re: Inserting action code in VB

From: Anton Berezin <tobez_at_tobez.org>
Date: Thu, 3 Jul 2003 11:16:19 +0200
To: Hirosi Taguti <taguti_at_secom-sis.co.jp>

Hi,

On Thu, Jul 03, 2003 at 06:07:09PM +0900, Hirosi Taguti wrote:

> Sorry not to menton to my env.
> I'm a user of Win2000 pro. with ActivePerl 5.6.

I see. Well, it is much simpler in Windows - just use Shift-Insert to
paste things.

> > > I must enter '$_[0]-> owner-> close;' in OnClick event windows.
>
> And how about this?
> I want a more elegant or simple code.

You can always write:

   my ($self) = @_;
   my $owner = $self->owner;
   $owner->close;

Or any variant of this. Since everybody has his/her own notion of
elegancy and simplicity...

\Anton.

-- 
A topologist is someone who can't tell the difference between a donut
and a coffee cup.
Received on Thu 03 Jul 2003 - 11:16:23 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:04 CET