|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Error in gb.form (ValueBox) in Gambas 3Error 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 ------------------------------------------------------------------------- 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@... https://lists.sourceforge.net/lists/listinfo/gambas-devel |
|
|
Re: Error in gb.form (ValueBox) in Gambas 3On 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. -- 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@... https://lists.sourceforge.net/lists/listinfo/gambas-devel |
|
|
Re: Error in gb.form (ValueBox) in Gambas 3On 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@... https://lists.sourceforge.net/lists/listinfo/gambas-devel |
|
|
|
|
|
Re: Error in gb.form (ValueBox) in Gambas 3On mardi 24 juin 2008, David Villalobos Cambronero wrote:
> The event is never reached. > > See the attached example. > > Regards > > David > I understand: the changes made by Robert Rowe made the ValueBox inherits UserControl and not TextBox anymore, and so its LostFocus event is not raised anymore. As I told in my first explanation! Alas I have no good solution at the moment... -- 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@... https://lists.sourceforge.net/lists/listinfo/gambas-devel |
|
|
|
| Free Forum Powered by Nabble | Forum Help |