| View previous topic :: View next topic |
| Author |
Message |
Rabiator
Joined: 17 Apr 2005 Posts: 265 Location: Sauerland
|
Posted: Wed Jul 04, 2007 1:40 pm Post subject: ListView: How to get the column number of a selected cell? |
|
|
After a A_GuiEvent the row number of a selected ListView cell is provided by A_EventInfo, but where can I get the column number?
I read Micahs' thread Listview In-Cell Editing, where he gets the column info by transforming the mouse positions to cell positions.
It's shrewd and works good, but isn't there a simplier way that doesn't increase the script so much? |
|
| Back to top |
|
 |
Helpy Guest
|
Posted: Wed Jul 04, 2007 3:26 pm Post subject: |
|
|
| Rabiator wrote: | | isn't there a simplier way that doesn't increase the script so much? | No.
ListViews are that: lists, not grids.
Now, you can use grids, or even spreadsheets, see Custom GUI Controls. This is at the cost of a (small) DLL and some wrapper code, so it won't entirely solve your problem... |
|
| Back to top |
|
 |
Rabiator
Joined: 17 Apr 2005 Posts: 265 Location: Sauerland
|
Posted: Wed Jul 04, 2007 8:51 pm Post subject: |
|
|
| Helpy wrote: | | ... This is at the cost of a (small) DLL and some wrapper code, so it won't entirely solve your problem... | Not entirely, I didn't expect that.
Thank you for the link! I'll try the grid wrapper, it seems to fit at best. |
|
| Back to top |
|
 |
|