[AccessD] Tab Control question

bruce_bruen at mlc.com.au bruce_bruen at mlc.com.au
Sun Feb 22 21:54:21 CST 2004





The if statement checks to see if the user has clicked on tab page 4, so
the copy is only executed then.

B


                                                                                                                                               
                      <Oleg_123 at xuppa.com>                                                                                                     
                      Sent by:                         To:       <accessd at databaseadvisors.com>                                                
                      accessd-bounces at databasea        cc:                                                                                     
                      dvisors.com                      Subject:  Re: [AccessD] Tab Control question                                            
                                                                                                                                               
                                                                                                                                               
                      23/02/2004 14:46                                                                                                         
                      Please respond to Access                                                                                                 
                      Developers discussion and                                                                                                
                      problem solving                                                                                                          
                                                                                                                                               
                                                                                                                                               




great !!
is there really a need for if ? i'll just do it this way --

Private Sub TabCtl0_Change()
bText.Value = aText.Value
End Sub


>
>
>
>
> Oleg,
>
> Cancel that!  I never knew it didn't work and have been using it for
> years!
>
> Use the onChange event for the tabctl and the value of the tabctl to
> achieve what you want.
>
>
> Sub MyTabCtl_Change()
>       If Me.MyTabCtl.Value = 3  then ' use numpages less 1
>             'copy the info from me.MyTabCtl.Pages(0).controls...
>       endif
> endsub
>
>
> Bruce
>
>
>
>                       <Oleg_123 at xuppa.com>
>
>                     Sent by:
>   To:       <accessd at databaseadvisors.com>
>
> accessd-bounces at databasea        cc:
>
>                     dvisors.com
>   Subject:  [AccessD] Tab Control question
>
>
>
>                       23/02/2004 12:49
>
>                     Please respond to Access
>
>                                         Developers
> discussion and
>
>          problem solving
>
>
>
>
>
>
>
>
> I have a tab control, containing 4 tabs, and I would like (the users
> actually) that when i click on the 4th tab it transfers the values from
> the first.
> The tab control only has - on click, on double click, mouse down, mouse
> move, and mouse up events. Is it possible to do ?
>
> Oleg
>
>
> -----------------------------------------
> Get Breaking News from CNN, ABC, NBC, CBS Now.
> http://www.xuppa.com/news/?link=webmail
>
>
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
>
>
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com



-----------------------------------------
Get Breaking News from CNN, ABC, NBC, CBS Now.
http://www.xuppa.com/news/?link=webmail


_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com






More information about the AccessD mailing list