-->
Page 1 of 1

Have Any Example " HTMLid()"

PostPosted: Mon Dec 07, 2015 8:36 am
by tayfun
Hello,


Who can write any example, How can use htmlid() Function?

Re: Have Any Example " HTMLid()"

PostPosted: Mon Dec 07, 2015 8:15 pm
by Mmiscool
If you create a program that uses any gui elements it creates unique id for each one.
This function will return the last id for the gui object created.

If you make a program and ad some thing like a button to it and run it you can see that the id is part of the html for that button. To view the source just right click on the page and hit view source in most browsers. You can use this for java script type interactions or for applying css by id.

Re: Have Any Example " HTMLid()"

PostPosted: Tue Dec 08, 2015 5:25 am
by Jokkepappa
Would it be possible that later on you could assign your own IDs for element's. Like
button {text} {branch label} {custom id}
Code: Select allbutton "Test" [Click] "Click_Me"

Re: Have Any Example " HTMLid()"

PostPosted: Tue Dec 08, 2015 7:17 am
by Mmiscool
Not at the moment. You use the htmlid() function to retrieve the last I'd generated. It made the interpreter significantly simpler to implimnet.