{{tag>category:"OpenInsight Specific"}}
[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== Multi-select Edittables (OpenInsight Specific) ====
=== At 27 MAY 1998 07:33:59PM Bob Watson wrote: ===
How do you tell which row was double-clicked on in a multi-select edittable when other rows have already been higlighted?
Bob Watson
----
=== At 29 MAY 1998 10:58AM Cameron Revelation wrote: ===
Bob,
[i]How do you tell which row was double-clicked on in a multi-select edittable when other rows have already been higlighted?[/i]
When I have a question like this, I look at the source code for the Popup, which can be found in the stored procedures POPUP and POPUP_SUB. The reason is that the Popup supports single, multi, and ordered selection, and it was tricky to implement, so when I forget how these things work I know the code is there!
Look in POPUP for the following:
* get the row number that the user clicked on
cur_row=SendMessage(Popup_hWndET@, DTM_GETCURROW$, 0, 0) + 1
Cameron Purdy
info@revelation.com
----
=== At 30 MAY 1998 03:37AM Bob Watson wrote: ===
Thanks - I'll check the supplied source-code first next time.
Bob Watson
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=33ECE60A1F591A518525661100817494|View this thread on the forum...]]