[Gambas-user] shortcut key

Benoit Minisini gambas at ...1...
Wed Jan 21 19:12:11 CET 2004


On Wednesday 21 January 2004 04:49, Rizky Tahara Shita wrote:
> At 03:09 21/01/2004, you wrote:
> >Le Mardi 20 Janvier 2004 07:25, Rizky Tahara Shita a écrit :
> > > it is about the user friendly for programmer here.. will you add some
> > > shortcut key for the stop button ?
> > >
> > > for example i'm running my program and there is an error there.. so
> > > with shortcut key the programmer will have to stop the program with out
> > > clicking the stop button. it's just another suggestion here. cause when
> > > often errors raise, it is better when the hand is still on the keyboard
> > > and will make the coding more focused.
> > >
> > > just i did in VB6, i almost never put off my hands from the keyboard.
> > > when there is an error i just can press the CTRL - Break to break it
> > > then ALT - R - E to stop it. and sometime VB6 asked to me that will the
> > > program should end or in break mode...
> > >
> > > yes ofcourse it will usefull when we already focused on the code not in
> > > the design mode...
> > >
> > >
> > > Regards,
> > >
> > >
> > > tahara!
> >
> >I can see already a problem to do that... When your program run, the focus
> > is on your program windows, so when you press ctrl + break, this shortcut
> > is not send to the gambas ide.
> >
> >Fabien
>
> oh yeah... there is another misfocused..
> when i run gambas and there is an error occured (and i stop it ofcourse)i
> cannot go write down directly to the error that already raise..
> it's happen because if there is a toolbox or property dialog there, the
> focus goes to that dialog... not the gambas editor again... it's a little
> buging... :(
>
>
>
>
> Regards,
>
>
> tahara!
>
>

You are right. It seems that Qt focus management is a bit strange. I will 
check my code, but I'm sure that, when an error raises, I call SetFocus on 
the gambas editor last, and so its window should be on top of the others...

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the User mailing list