🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.misc
Article #515

Re: newbie

#515
From: Molly
Date: Sat, 15 Aug 1998 00:00
39 lines
1878 bytes
Bernie,


1/ Use Public Properties Declared in the Declarations Part of your form.

e.g.

In the Declarations

    Public varVarName as Variant

    You can then access these variables by

        frmFormName.varVarName

You can use Globals declared in a Module, but this reduces the portability
of your code, and should be avoided if possible.

2/    Use a full qualifier to get to your object on the main form.

i.e. From your options form, Use:

    Form1.Winsock1.RemoteHost = "Whatever"

Regards
    Molly


bernie wrote in message <6r2get$7dg$1@news0-alterdial.uu.net>...
>i have just started vb5 i can make programs but i have one problem. how do
i
>make two of more forms that that i can use there varables one other and how
>do i use one object on two or more forms??
>EX> setting the properties of winsock (on the main form) with on a options
>form??
>
>please post or email me at deforest@mkl.com
>
>
Technical Details
Message-ID: <MJ4B1.256$3R2.558211@news-reader.bt.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6r2get$7dg$1@news0-alterdial.uu.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1053fc,2a34dd0751309baf
X-Google-Attributes: gid1053fc,public
X-Google-Thread: 110e3b,2a34dd0751309baf
X-Google-Attributes: gid110e3b,public
X-Google-Thread: 1212f1,2a34dd0751309baf
X-Google-Attributes: gid1212f1,public
X-Google-Thread: 11629a,2a34dd0751309baf
X-Google-Attributes: gid11629a,public
X-Google-Thread: 111c14,2a34dd0751309baf
X-Google-Attributes: gid111c14,public
From: "Molly" <mollyt@bigfoot.com>
Subject: Re: newbie
Date: 1998/08/15
Message-ID: <MJ4B1.256$3R2.558211@news-reader.bt.net>
X-Deja-AN: 381281857
References: <6r2get$7dg$1@news0-alterdial.uu.net>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
NNTP-Posting-Date: Sat, 15 Aug 1998 01:35:56 BST
Newsgroups: comp.lang.basic.visual.misc,comp.lang.clipper.visual-objects,es.comp.lenguajes.visual-basic,microsoft.public.visualj.debugger,no.it.programmering.visual-basic