Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Working with Data in TabStrips

Status
Not open for further replies.

MrMeReturns

Technical User
Feb 11, 2003
6
CA
Does anyone know how to go about saving the data you have associated with one tab on a tab strip before switching to a new tab? All of the events that I have looked at make the switch to the new tab before executing any code so you can't run a function to save the data that is associated with the previous tab.

If anyone has any suggestions, your help would be greatly appreciated.

Thanx MrMeReturns
 
If you don't want to wait to save the information until the entire tabstrip is OK'd, then you could use the tabstrip_change event, keeping track of the previous tab:

sub tabstrip_change
static itab as integer
... save the controls on tab number <itab> using code here
itab=tabstrip
end sub
Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top