Re: [Gambas-user] Cancel LostFocus Event

2010-03-16 Thread Fabien Bodard
last represent the object who send the event 2010/3/16 Ricardo Díaz Martín : > Thanks Fabien. I thinked it was very simple but I didn't know Last object. > > > 2010/3/16 Fabien Bodard > >> public sub Control_Lostfocus() >> Last.setfocus >> stop event >> >> >> end >> >> 2010/3/16 Ricardo Díaz Mart

Re: [Gambas-user] Cancel LostFocus Event

2010-03-16 Thread Ricardo Díaz Martín
Thanks Fabien. I thinked it was very simple but I didn't know Last object. 2010/3/16 Fabien Bodard > public sub Control_Lostfocus() > Last.setfocus > stop event > > > end > > 2010/3/16 Ricardo Díaz Martín : > > Hi, > > > > It's possible in gambas2 to cancel a LostFocus event in a > textbox/text

Re: [Gambas-user] Cancel LostFocus Event

2010-03-16 Thread Fabien Bodard
public sub Control_Lostfocus() Last.setfocus stop event end 2010/3/16 Ricardo Díaz Martín : > 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 possi

[Gambas-user] Cancel LostFocus Event

2010-03-16 Thread Ricardo Díaz Martín
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 ---