Hi all,

I would like bind all the events keypress() of several textbox of a page
(pageframe) to thisform.mymethode.

How can i do it ?

Thanks in advance

bernhart

Re: VFP 8 ( SETALL AND BindEvents) by Josh

Josh
Sat Aug 02 11:13:33 CDT 2003

how about a for each in thisform
then test for the BaseClass = "textbox"
then bind the event...


On Sat, 2 Aug 2003 17:38:26 +0200, "Milcent Bernhart" <XXXAmline@amline.be>
wrote:

>Hi all,
>
>I would like bind all the events keypress() of several textbox of a page
>(pageframe) to thisform.mymethode.
>
>How can i do it ?
>
>Thanks in advance
>
>bernhart
>


Re: VFP 8 ( SETALL AND BindEvents) by Milcent

Milcent
Sun Aug 03 12:43:30 CDT 2003

Fred,

Fine !
I try and i come back...

Thanks for everyBody

bernhart

"Fred Taylor" <ftaylor@mvps.org> a écrit dans le message de
news:%23Z%23dzQeWDHA.3404@tk2msftngp13.phx.gbl...
> Why not just use the .KeyPress() of the form and set form.KeyPreview = .t.
?
>
> --
>
> Fred
> Microsoft Visual FoxPro MVP
> Please respond only to the newsgroups so that all may benefit.
>
>
>
>
>
> Milcent Bernhart wrote:
> > Hi all,
> >
> > I would like bind all the events keypress() of several textbox of a
> > page (pageframe) to thisform.mymethode.
> >
> > How can i do it ?
> >
> > Thanks in advance
> >
> > bernhart
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.502 / Virus Database: 300 - Release Date: 7/18/2003
>
>