T
Thomas Rasmussen
Hi all,
I have this scenario, where I have multiple schemes open at the same time.
All infopath scheme's are based on the same schema. Lets say I have 10 or
more schemas open at the same time. When the user changes a value in the
schema the caption the the window changes to whatever setting the user has
choosen i.e values from the schema is shown in the titlebar of the window.
BUT, sometimes the title is changed to sometinhg not right when shifting the
schemas / choosing another shcmea. i.e fielddata from another window appears
in the titlebar and not form teh choosen schmea.
The window i'm using is ActiveWindow, which works fine, in 98% of the case.
What can I do to bee 100% sure that the window I'm fetching data from is the
window that the user has choosen.
To be absolutely sure, I use this.Application.ActiveWindow and saves it in a
variable. but i still act weird.. Does anyone have a clue to what it's doing
with the titlebar?
Dos it have something to do with Infopath and the way it's executing the
script in the schema.
Any helt would be appreciated
Regards Thomas
I have this scenario, where I have multiple schemes open at the same time.
All infopath scheme's are based on the same schema. Lets say I have 10 or
more schemas open at the same time. When the user changes a value in the
schema the caption the the window changes to whatever setting the user has
choosen i.e values from the schema is shown in the titlebar of the window.
BUT, sometimes the title is changed to sometinhg not right when shifting the
schemas / choosing another shcmea. i.e fielddata from another window appears
in the titlebar and not form teh choosen schmea.
The window i'm using is ActiveWindow, which works fine, in 98% of the case.
What can I do to bee 100% sure that the window I'm fetching data from is the
window that the user has choosen.
To be absolutely sure, I use this.Application.ActiveWindow and saves it in a
variable. but i still act weird.. Does anyone have a clue to what it's doing
with the titlebar?
Dos it have something to do with Infopath and the way it's executing the
script in the schema.
Any helt would be appreciated
Regards Thomas