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?
How to subscribe for buttons click in table?
Search
Re: How to subscribe for buttons click in table?
It is not simple, because I use css style, and width of Button smaller, than cell.

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

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
-
- Posts: 634
- Joined: Mon Aug 02, 2010 10:37 am
Re: How to subscribe for buttons click in table?
Vitaly Yarymov wrote:
A click in the table should result in the clicked event of the table. Does this not happen in your case?I created a table and put in cell PushButton widget.
I don't know how can catch PushButtons "Clicked" event.
Re: How to subscribe for buttons click in table?
In second message in this topic I pointed to the problem.
Size of button smaller, than table cell.
Size of button smaller, than table cell.