[Boa Constr] Focussing the shell
Status: Beta
Brought to you by:
riaan
From: Derek C. <cro...@ya...> - 2008-09-10 00:20:46
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font size="+1">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.<br> <br> 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.<br> <br> 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<br> <br> self.shell.SetFocus()<br> <br> or<br> <br> self.shell.EnsureCaretVisible()<br> <br> would have worked; but it doesn't.<br> <br> 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.<br> </font> <pre class="moz-signature" cols="72">-- Sincerely, Derek</pre> </body> </html> |