Author Topic: ListView Control (6.0)  (Read 8522 times)

0 Members and 1 Guest are viewing this topic.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
ListView Control (6.0)
« Reply #15 on: April 11, 2005, 08:58:50 PM »
An understatement; I expect you'll pen something quite elegant.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: ListView Control (6.0)
« Reply #16 on: November 14, 2005, 11:34:07 AM »
What ever came of this Keith, were you able to do what you wanted?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: ListView Control (6.0)
« Reply #17 on: November 14, 2005, 11:52:59 AM »
Indeed ... thanks for asking ...
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: ListView Control (6.0)
« Reply #18 on: November 14, 2005, 11:54:03 AM »
Good to hear.

Any generic code you can share with the rest of the class?

:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: ListView Control (6.0)
« Reply #19 on: November 14, 2005, 12:04:57 PM »
Not at this point, but if I get some time I will see if I can extract a bit and post it. This was for a client so I have to be very careful about dissemination of code.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: ListView Control (6.0)
« Reply #20 on: November 14, 2005, 12:27:39 PM »
Of course, I'd never ask you breach those boundaries.

I was just thinking about the code (or alternative technique) that corresponded to --

"You'll have to roll yer own code for this portion if I'm not mistaken. i.e. Use the ItemClick event to trap which ListItem was clicked, use the MouseDown or MouseUp event to trap the x coordinate of the mouse and compare against the widths of the ColumnHeaders to determine which SubItem actually took the hit."

Would prove interesting to see how you implemented it (or as noted, the alternative technique you may have used).

Of course, if that's what the client paid for then just ignore the inquiry.

Cheers.

:)
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: ListView Control (6.0)
« Reply #21 on: November 14, 2005, 01:01:04 PM »
What I finally did was a mouse down event with an x coordinate mask, then use the selected row to filter the actual item selected.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie