From: <kim...@ya...> - 2005-08-04 23:21:07
|
Ah....this is perfect for my purpose! It's very easy to change my code to use the Grid object - since I am really not doing that much of cell manupulation. I just needed to present a grid, and know which one the user clicked. Thanks again. Alex Tweedly wrote: > Bryan Murdock wrote: > >>On 8/4/05, kim...@ya... >><kim...@ya...> wrote: >> >> >>>Hi everyone, >>> >>>With the multi-column control, is there anyway to >>>allow the user to select a particular cell (instead of >>>the whole row like it's doing now)? >>> >>> >> >>Sounds like you might want the wxGrid widget instead of the >>multiColumntList. >> > I agree - can't see anywhere in multicolumnList (or in the underlying wx > ListCtrl) to get a column number. > >>I don't think that's part of pythoncard, but you >>could still use it probably >> >>http://wiki.wxpython.org/index.cgi/wxGrid_20Manual >> >> > Currently (0.8.1 onwards, I think) Pythoncard includes a basic Grid > component (look in Pythoncard/components/grid.py) and an example of its > use (in samples/simpleGrid - note this isn't linked into the samples > launcher, you'll need to start it up yourself). As always, you can use > this, and supplement it by accessing the wx methods directly. > > -- > Alex Tweedly http://www.tweedly.net > > > ------------------------------------------------------------------------ > > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 03/08/2005 -- John Henry |