<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>detect mouse click in a table for windev</title>
        <description> Hi,

2 questions under WINDEV :-

1)how to detect mouse left or right click on a table column and return the value in this column ?

2)Is there way to simulate CTRL+C on a table columm (not using the AAF menu option for table)?

Regards,

PETER ZHOU</description>
        <link>https://www.wxforum.info/read.php?27131,799206,799206#msg-799206</link>
        <lastBuildDate>Tue, 19 May 2026 03:25:33 +0200</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,799206,799211#msg-799211</guid>
            <title>Re: detect mouse click in a table for windev</title>
            <link>https://www.wxforum.info/read.php?27131,799206,799211#msg-799211</link>
            <description><![CDATA[ Hi Al,<br />
<br />
Thank you, i will give it a try.<br />
<br />
Regards,<br />
<br />
PETER ZHOU]]></description>
            <dc:creator>PETER ZHOU</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Tue, 31 Mar 2026 05:21:02 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,799206,799207#msg-799207</guid>
            <title>Re: detect mouse click in a table for windev</title>
            <link>https://www.wxforum.info/read.php?27131,799206,799207#msg-799207</link>
            <description><![CDATA[ Hello Peter,<br />
<br />
This is how I do the mouse detection:<br />
Add a left Button double click event to the table.  Put the following code into the event.  The code uses TableInfoXY () and MouseXPos to capture the column name, column number and column row.  The switch processes code base on the column name selected<br />
<pre class="bbcode">

//called from the left button double click on the data entry table
LColumnName =  TableInfoXY (TABLE, tiColName , MouseXPos(), MouseYPos())
LColNum =  TableInfoXY (TABLE, tiColNumber , MouseXPos(), MouseYPos())
LColRow =  TableInfoXY (TABLE, tiLineNumber , MouseXPos(), MouseYPos())

SWITCH Upper(LColumnName)</pre>
<br />
I think the sendkey() function may work for the way to simulate CTRL+C.      If it doesn&#039;t work by using the code in a column event, it might work as code called from the click event of a button hidden on the window and activated as executeprocess(hiddenbutton,trtclick)<br />
<br />
Regards<br />
Al]]></description>
            <dc:creator>Al</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Tue, 31 Mar 2026 03:04:42 +0200</pubDate>
        </item>
        <item>
            <guid>https://www.wxforum.info/read.php?27131,799206,799206#msg-799206</guid>
            <title>detect mouse click in a table for windev</title>
            <link>https://www.wxforum.info/read.php?27131,799206,799206#msg-799206</link>
            <description><![CDATA[ Hi,<br />
<br />
2 questions under WINDEV :-<br />
<br />
1)how to detect mouse left or right click on a table column and return the value in this column ?<br />
<br />
2)Is there way to simulate CTRL+C on a table columm (not using the AAF menu option for table)?<br />
<br />
Regards,<br />
<br />
PETER ZHOU]]></description>
            <dc:creator>PETER ZHOU</dc:creator>
            <category>WinDev Forum</category>
            <pubDate>Tue, 31 Mar 2026 02:39:27 +0200</pubDate>
        </item>
    </channel>
</rss>
