How to subscribe for buttons click in table?

Find and share HowTos to various installations / configurations!
Search

Post Reply
4 posts • Page 1 of 1
v.yarymov
Posts: 15
Joined: Fri Jul 27, 2018 3:15 pm

How to subscribe for buttons click in table?

Post by v.yarymov »

Hello!
I created a table and put in cell PushButton widget.
I don't know how can catch PushButtons "Clicked" event.
Someone has this problem?

v.yarymov
Posts: 15
Joined: Fri Jul 27, 2018 3:15 pm

Re: How to subscribe for buttons click in table?

Post by v.yarymov »

It is not simple, because I use css style, and width of Button smaller, than cell.
Image

UDP:

main(int row, string column, string value)
{
if (row == 0 && column == "#1")
{
int x, y, cx, cy;

getValue(this.name, "position", x, y);
getCursorPosition(cx, cy);

if (cx
Attachments
111.png

Gertjan van Schijndel
Posts: 634
Joined: Mon Aug 02, 2010 10:37 am

Re: How to subscribe for buttons click in table?

Post by Gertjan van Schijndel »

Vitaly Yarymov wrote:
I created a table and put in cell PushButton widget.
I don't know how can catch PushButtons "Clicked" event.
A click in the table should result in the clicked event of the table. Does this not happen in your case?

v.yarymov
Posts: 15
Joined: Fri Jul 27, 2018 3:15 pm

Re: How to subscribe for buttons click in table?

Post by v.yarymov »

In second message in this topic I pointed to the problem.
Size of button smaller, than table cell.

Post Reply
4 posts • Page 1 of 1