Code:
Problem description:
Hey guys I want to create a mechanism to copy an interface I've created and display it to a client multiple times. Should I use winclone or dynamically create new interfaces???
And how to use winclone?
ID:1764175
|
|
Jan 17 2015, 7:41 am
Best response
|
|
Yes, winclone is how you would achieve the desired effect. It's pretty simple to understand from the reference, linked above. If you have any specific questions about it, feel free to ask.
|
So I clone a window but want to rename one of its elements, how do I do that?? I mean can I use winset and get the element that I want to change its id with a proc or as an html class kinda thing??
|
Winset works the same with created windows, just use the window name you have set. You can always use a ref inside the window, for any button commands you have inside it, if they are window specific.
|
Yeah the problem is I want to edit a bar of a cloned window with winset but how do I refference the bar that was created with winclone??
|
When you winclone, you give the new window a name, so you can use that name to reference elements.
winget(usr, "mainwindow.bar", "is-visible") |