S
Stan Sainte-Rose
Hi,
I have a problem with my textchanged and leave events
I have a script in the leave event of my textbox and also in my textchanged.
The script in my textchanged adds and displays a tabpage.
By this action, automatically, the leave event executes its scripts
and this is my problem.
How can I remove or disable the Leave Event Script when I m in the
textchanged. I suppose it's when the tabpage is added.
Btw, what is the better way for this purpose.
I use 2 tabpages (A and B) for seach engines.
They are a bit similar except they don't use the same datatable and have
a different datagridstyle.
I think I can avoid my initial problem, if I use only one Tabpage
where I can use the show and hide for each control
When I am on the seach engine A, I hide all the controls
of the search engine B and show the A's controls , and when I am on the
search engine B
I ll hide all the controls of A and show the B's controls.
What do you think about it ? is it recommand(able) ?
Stan
I have a problem with my textchanged and leave events
I have a script in the leave event of my textbox and also in my textchanged.
The script in my textchanged adds and displays a tabpage.
By this action, automatically, the leave event executes its scripts
and this is my problem.
How can I remove or disable the Leave Event Script when I m in the
textchanged. I suppose it's when the tabpage is added.
Btw, what is the better way for this purpose.
I use 2 tabpages (A and B) for seach engines.
They are a bit similar except they don't use the same datatable and have
a different datagridstyle.
I think I can avoid my initial problem, if I use only one Tabpage
where I can use the show and hide for each control
When I am on the seach engine A, I hide all the controls
of the search engine B and show the A's controls , and when I am on the
search engine B
I ll hide all the controls of A and show the B's controls.
What do you think about it ? is it recommand(able) ?
Stan