Re: Phonebook Entry Editor strangeness

"Roger Binns" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <00ca01c52611$b286b7c0$3501a8c0@rogersqyvr14d3>
> I fixed this be re-ordering the widgets. 

I really don't like that.  I just converted the method that set
focus to be done in a call after and it worked fine on Windows,
Linux and Mac.  (It didn't use to work in the past).

> Also, when there is no data for a tab, if you 
> press up, down, or delete it will complain. I returned 0 so that the 
> function checking for the existence of widgets won't get screwed up.

That actually breaks Add.  I made all the callers pay attention
to the IndexError, typically by doing wx.Bell(), so the user knows
we saw the press and didn't like it.  It could do with something
a little friendlier, such as a tooltip coming out of the button
explaining that a field needs to have focus.

Roger


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.