[Gambas-user] Cancel LostFocus Event

Fabien Bodard gambas.fr at ...626...
Tue Mar 16 22:33:48 CET 2010


last represent the object who send the event

2010/3/16 Ricardo Díaz Martín <oceanosoftlapalma at ...626...>:
> Thanks Fabien. I thinked it was very simple but I didn't know Last object.
>
>
> 2010/3/16 Fabien Bodard <gambas.fr at ...626...>
>
>> public sub Control_Lostfocus()
>> Last.setfocus
>> stop event
>>
>>
>> end
>>
>> 2010/3/16 Ricardo Díaz Martín <oceanosoftlapalma at ...626...>:
>> > Hi,
>> >
>> > It's possible in gambas2 to cancel a LostFocus event in a
>> textbox/textarea
>> > control and return focus to the control?
>> >
>> > I need to make a validation over a field and will be easy if it is
>> possible
>> > at now. Is not so important. Its only for my information.
>> >
>> > Regards,
>> >
>> > Ricardo Díaz
>> >
>> ------------------------------------------------------------------------------
>> > Download Intel® Parallel Studio Eval
>> > Try the new software tools for yourself. Speed compiling, find bugs
>> > proactively, and fine-tune applications for parallel performance.
>> > See why Intel Parallel Studio got high marks during beta.
>> > http://p.sf.net/sfu/intel-sw-dev
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list