Passing objects from app designer to the workspace
17 ビュー (過去 30 日間)
Hello , I'm using app designer and I am creating object when some button clicked, (in the callback function) i'm trying to use the object that created in the callback funcion in the workspace. I know that i can create some "global" object in the properties and then use app.obj. There is other way that i can pass the object from the callbackfunction to the workspace? or the only way is to use the properties.
Thank you very much :)
Allen 2022 年 10 月 19 日
Though I would recommend using one of @Adam Danz's solutions since they are typically a safer method of passing data, assignin can be used to programmatically assign a variable to the workspace.
See the following help page for details on how to use the assignin function.
その他の回答 (1 件)
Adam Danz 2022 年 10 月 18 日