L
Lasse Bjerre Knudsen
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
schemas open. When the user changes the schema (via joblist in the buttom of
the screen), the caption the the window changes to whatever setting the user
has choosen i.e values from the schema is hown in the titlebar of the window.
BUT, sometimes the title is changed to sometinhg not right, .e.x fielddata
from another window, that has not been choosen. The window i'm using is
ActiveWindow, which works fine, in 98% of the case. What ca I do to bee 100%
sure that the window I'm fetching 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?
All infopath scheme's are based on the same schema. Lets say i have 10
schemas open. When the user changes the schema (via joblist in the buttom of
the screen), the caption the the window changes to whatever setting the user
has choosen i.e values from the schema is hown in the titlebar of the window.
BUT, sometimes the title is changed to sometinhg not right, .e.x fielddata
from another window, that has not been choosen. The window i'm using is
ActiveWindow, which works fine, in 98% of the case. What ca I do to bee 100%
sure that the window I'm fetching 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?