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
<*> 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/