![]() |
[REQ] How Add an Event in Python
Hi guys,
anyone can help me by adding an Event on a Button? Code:
def InitializeScript(): But if i click on the BtnOpen ingame, nothing happens... so OpenCloseManual() is not handled ... Any Ideas? And yes, i am working on the Reconitionmanual. Both, Pagerecognitionmanual_Recmanual_Cover_Close.MouseL eftButtonClicked and Pagerecognitionmanual_Recmanual_Openbook_BtnOpen are Buttons |
Quote:
control.action += name of function to call where control = the name of the control (i.e. Pagelayout_Groupfeedback) action = the action the user did (i.e. MouseIn, MouseOut, MouseLeftButtonClicked, etc.) |
ok, i will recheck whats wrong.
thanks |
Quote:
|
ok, i will add the Lines :)
|
All times are GMT -5. The time now is 03:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.