"Got Focus" on a tab page
-
When I click a tab page I want to be able to set a flag to indicate to the system that this page has been visited. Something like OnGetFocus(). Does such a funciton or something similar exist? Basically when a page gets focus it needs to ensure that any activity on its sister page has been saved before it can proceed, so the sister page will need to have set something GER Ger
-
When I click a tab page I want to be able to set a flag to indicate to the system that this page has been visited. Something like OnGetFocus(). Does such a funciton or something similar exist? Basically when a page gets focus it needs to ensure that any activity on its sister page has been saved before it can proceed, so the sister page will need to have set something GER Ger
Hi I have done something like that before... the information on the previous tab needs to be save when another tab is selected.. this is what i have done... 1. Create a variable to store the selected tab... 2. Use OnClickTab to find out which is the newly selected tab... 3. Check if different from last selected tab - if true... prompt save and save previous tab... 4. Refresh the information on the new tab... 5. Save new tab selection to variable I hope this helps... Thomas
-
Hi I have done something like that before... the information on the previous tab needs to be save when another tab is selected.. this is what i have done... 1. Create a variable to store the selected tab... 2. Use OnClickTab to find out which is the newly selected tab... 3. Check if different from last selected tab - if true... prompt save and save previous tab... 4. Refresh the information on the new tab... 5. Save new tab selection to variable I hope this helps... Thomas
U needs to save last tab info when another tab is selected Vikas Amin Embin Technology Bombay vikas.amin@embin.com
-
Hi I have done something like that before... the information on the previous tab needs to be save when another tab is selected.. this is what i have done... 1. Create a variable to store the selected tab... 2. Use OnClickTab to find out which is the newly selected tab... 3. Check if different from last selected tab - if true... prompt save and save previous tab... 4. Refresh the information on the new tab... 5. Save new tab selection to variable I hope this helps... Thomas
OnClickTab - Now that sounds like a very good idea. I'll try it out... Thanks Ger
-
When I click a tab page I want to be able to set a flag to indicate to the system that this page has been visited. Something like OnGetFocus(). Does such a funciton or something similar exist? Basically when a page gets focus it needs to ensure that any activity on its sister page has been saved before it can proceed, so the sister page will need to have set something GER Ger
Ger Hayden wrote:
When I click a tab page I want to be able to set a flag to indicate to the system that this page has been visited.
A page will have an invalid window handle until it has been visited at least once.
Ger Hayden wrote:
Basically when a page gets focus it needs to ensure that any activity on its sister page has been saved before it can proceed, so the sister page will need to have set something
This is what
OnKillFocus()
is for.
"Take only what you need and leave the land as you found it." - Native American Proverb