Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

How to get value on button click

$
0
0

Close button click handler

def OnOKButtonClick(self, sender, e):
    if self.m_textbox.Text == "":
        self.Close(False)
    else:
        self.Close(True)

I need dialog don’t closed when i click button and get value is True or False.
Please help me.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles