on 10-27-2018 7:16 AM
Hi All,
This is Vignesh, I have a question & it's little urgent. I am posting my question here for the first time.
I have a window with 5 tabs. Each tab has 2 datawindows. I have insert, delete & Save options are in the menu bar which is common for all the tabs. I have attached the Menu in this window.
Now When I am trying to insert a new row on Tab 2-> Datawindow1. from Menubar(When I click insert option)
How PB identifies which dataindow I am in rightrow? Please share me the sample code if possible...
Thanks in Advance,
Vignesh
It's up to you to identify the correct datawindow.
There are many possible ways. You could look at PFC framework how it's manage this: There is an instance variable in the window that holds a reference to the current datawindow. The variable is set in the getfocus event. So you always know what datawindow has or had focus last time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.