Focussing the shell
Derek Croxton <croxton3-/[email protected]>
| Newsgroups | gmane.comp.ide.boa-constructor.user |
|---|---|
| Message-ID | <[email protected]> |
I want to make one tiny change to Boa-constructor. After spending two hours on it last night, I have come to the conclusion that either I am not very smart, or it takes longer to get into the code than I thought it would. I was wondering if someone who know Boa could give me a nudge in the right direction. One thing that has always bothered me about Boa (which I otherwise love) is that the cursor does immediately appear when I switch to the shell tab, so I have to click on the appropriate place before I can start typing. I thought all I would have to do to get the cursor up automatically would be to call the right method on the text control, possibly just setting focus. I figured out where the event takes place, but nothing that I do has succeeded in getting the cursor to appear. The problem may be related to the fact that I am using Linux, since I see that there is a proxy panel underneath the shell, and I thought maybe that might be getting the focus instead of the shell. Still, I would have thought that calling self.shell.SetFocus() or self.shell.EnsureCaretVisible() would have worked; but it doesn't. I plainly don't have a grasp of how Boa works, so I was hoping that someone who might understand the issues better than I could suggest some other things I might look at. I don't want to spend a whole day fixing this one issue, but it would be really nice if I could somehow get it to work. -- Sincerely, Derek ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Boa-constructor-users mailing list Boa-constructor-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/boa-constructor-users