[Gambas-devel] Error in gb.form (ValueBox) in Gambas 3

David Villalobos Cambronero david_villalobos_c at ...7...
Tue Jun 24 23:35:58 CEST 2008


The event is never reached.

See the attached example.

Regards

David

----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
Sent: Tuesday, June 24, 2008 3:27:50 PM
Subject: Re: [Gambas-devel] Error in gb.form (ValueBox) in Gambas 3

On mardi 24 juin 2008, Benoit Minisini wrote:
> On mardi 24 juin 2008, David Villalobos Cambronero wrote:
> > Error in gb.form (ValueBox)
> >
> > I found an error in gb.form (Gambas 3) the event LostFocus in ValueBox
> > does not works. Can someone validate?
> >
> > Attached an example.
> >
> > Best regards
> >
> > David
>
> It is not really a bug, as ValueBox is actually a container that embeds
> other controls. So it cannot get nor lost the focus!
>
> I don't know if it is possible to fix that, because we need to let the
> ValueBox raises the LostFocus or GotFocus event by itself when one of its
> children gets the event.
>
> I don't know if redeclaring the LostFocus and GotFocus event in the
> inherited class work... I will check and think abour that.

I said rubbish... ValueBox inherits TextBox, so LostFocus should work. Which 
problem do you have exactly?

-- 
Benoit Minisini

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel



      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Error.valuebox-0.0.1.tar.gz
Type: application/x-gzip
Size: 7674 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20080624/6c969b5d/attachment.bin>


More information about the Devel mailing list