gettingstarted
[Top] [All Lists]

RE: Tab Panel

To: "'Getting Started'" <gettingstarted at lists dot realsoftware dot com>
Subject: RE: Tab Panel
From: "RBNUBE" <rbnube at mabenterprises dot com>
Date: Mon, 28 Aug 2006 21:05:35 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
Importance: Normal
Keywords: RB-Getting Started
> Another thing, again minor, is I would
> like to know which tab you're coming
> FROM. When a user clicks a new tab you only
> know where he is going. But its not 
> too hard to make global variable to store this.

To know what tab was pressed previously...

Make a new Property:
PreviousTab as Integer

Make a new Method:
GetPreviousTab

TabPanel Change Event:
GetPreviousTab

In the GetPreviousTab Method:
  StaticText1.Text = Str(previousTab)
  PreviousTab = TabPanel1.Value

The StaticText text will reflect the previous pressed tab.

HTH


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>