ah, I get it now, and it's working great!

just put the form's Dim statement in the module and make it public.

thanks very very much




> Declare a Global object of your type M_Paramters e.g
> Public mObjParameters as Paramters
> in your module.
>
> Assign its values where you want to assign and use in your forms e.g
>
> MsgBox(mObjParameters.color)
> 'OR
> mObjParameters.color = "RED"
>
> But be careful, because all forms will share the values of same
> object, you'll have to take special measures to ensure that you have
> most recent values assigned to the object.
>
>
> Waqas...
>
>
> On Wed, 12 Jan 2005 04:38:43 -0500, .rEs <[EMAIL PROTECTED]> wrote:
> >
> > Hi again
> >
> > How do I share, across forms, a Type created in a Module?
> >
> > ie
> >
> > Type M_Paramters
> >     color as string
> >     n as byte
> >     'etc
> > end type
> >
> > thanks again
>
>
>
> '// =======================================================
>     Rules : http://ReliableAnswers.com/List/Rules.asp
>     Home  : http://groups.yahoo.com/group/vbHelp/
>     =======================================================
>     Post  : [email protected]
>     Join  : [EMAIL PROTECTED]
>     Leave : [EMAIL PROTECTED]
> '// =======================================================
>
>
>
>
> --------------------------------------------------------------------------
------
> Yahoo! Groups Links
>
>   a.. To visit your group on the web, go to:
>   http://groups.yahoo.com/group/vbhelp/
>
>   b.. To unsubscribe from this group, send an email to:
>   [EMAIL PROTECTED]
>
>   c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>


----------------------------------------------------------------------------
----


No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 1/10/2005



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 1/10/2005




'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to