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

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,

How do you tell which row was double-clicked on in a multi-select edittable when other rows have already been higlighted?

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

[email protected]


At 30 MAY 1998 03:37AM Bob Watson wrote:

Thanks - I'll check the supplied source-code first next time.

Bob Watson

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/33ece60a1f591a518525661100817494.txt
  • Last modified: 2024/01/04 21:00
  • by 127.0.0.1