Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use same Action with different parent window
#4
Solved: 11 Years, 4 Months, 4 Weeks ago
Quote:I will always use the same CustomerAction, so is there a simple way how i can do this?
If you meant , you dont like writing the same thing again and again,set it to an object

Code:
set Customer= Window("Customer").WinEdit("Name")

Now accordingly which parent window opens this window, you can write code as

Code:
Window("ParentName").Customer.Set "X"
Reply


Messages In This Thread
RE: Use same Action with different parent window - by rajpes - 07-06-2011, 10:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get the links which appears on mouse hover of parent link rajendra649 9 35,697 03-10-2017, 06:35 PM
Last Post: satish00k
  verify that parent properties match object currently displayed in your application. sona 0 3,146 02-21-2016, 12:00 PM
Last Post: sona
  How to write a script for fly out menus (Parent - Child - Sub Child) rajkumarsm 3 4,776 09-02-2014, 10:01 AM
Last Post: vinod123
  Is it possible to call Java window and Power Builder Window in 1 Action sbkhbk 0 2,560 06-05-2014, 08:18 PM
Last Post: sbkhbk
  exit parent functions as well Shridevi.Salagare 3 3,917 07-31-2013, 12:15 AM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)