Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DP doudt
#1
Solved: 11 Years, 4 Months, 4 Weeks ago
I have read ur post on DP

Ihave one question

if we give a description of the object in one action or in function

if we just refer the intance of this object inother actions/function will work or we have to do anything else to reuse the descriptive object
Reply
#2
Solved: 11 Years, 4 Months, 4 Weeks ago
If you are using the description in the same function library, then you can use the same description object by passing it as an argument to second function.
If you want to use it in a separate function library then you have to create a new description object.
Within different actions of the same script you can use the same description object.
Reply
#3
Solved: 11 Years, 4 Months, 4 Weeks ago
thanks tarun
so for example i have this registration for exam where i have to fill out so many forms and on each page i have this
next ,previous/back button ( for up tp 12 pages )

i have created one action per page

so i f i create a description for the next and back button in first action
i can use them directly by giving the variable to which i have assigend the description of these object in all other ten action right

correct me if i am wrong


Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)