Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Helmut Ortmann on July 26, 2014, 06:21:39 pm

Title: Get selected rows / items of Search window
Post by: Helmut Ortmann on July 26, 2014, 06:21:39 pm
Hello,

is there a way to get the selected items of the search window?

Thanks,

Helmut
Title: Re: Get selected rows / items of Search window
Post by: qwerty on July 26, 2014, 09:26:29 pm
Maybe via copy/paste. I don't know if Windoze offers a method to mimic a  copy operation so you could inspect the paste buffer.

q.
Title: Re: Get selected rows / items of Search window
Post by: Geert Bellekens on July 28, 2014, 04:02:17 pm
I needed something similar (I use the existing SQL Searches to select items for my document generator) and I wrote my own search window.
Too bad  couldn't use the existing search window, but it wasn't too much work either to show the results of the search in a grid.

Geert
Title: Re: Get selected rows / items of Search window
Post by: Helmut Ortmann on July 28, 2014, 04:31:13 pm
Thanks a lot!

I think I have to drop the subject or use a workaround like Geert.

Helmut
Title: Re: Get selected rows / items of Search window
Post by: Stefan Bolleininger on July 29, 2014, 01:02:55 am
Unfortunately I had the same struggle in the past.
Like Geert I filled a datatable ->Gridview so solve the Issue.

The Code is posted somewhere in the forum.

Best regards

Stefan