On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > > 5) It would be really, really, really nice if all controls had a > > AcceptFocus property (IDE visible) so things like Picture boxes can > be > > skipped in custom navigation code > > Normally PictureBox is a read-only control, so it should not get the > focus
It's to do with the custom navigation code. Demo by commenting out line 58 in MUtil.NextActiveControl and put a breakpoint at the end of InnerText_KeyPress (line 439?) and then run the project. In the Horse Code box press Enter, debug Application.ActiveControl shows that focus(?) is on the picture box. Do this in QT4 first. In GTK the behaviour is harder to catch. > (do you use gb.qt or gb.gtk?). Both :-) in fact this whole affair started because I have remote users with different guis and wanted to get both of them working the same so phone support is easier. > DrawingArea has a "Focus" property. I admit it may be useful to put > that > property in every control, but I'm not sure it is a good idea at the > moment. Cool. Just a suggestion. Bruce ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user