🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.intrabuilder.forms
Article #34

Re: Where can I define a form variable?

#34
From: Marcelo M. Marques
Date: Tue, 22 Sep 1998 00:00
23 lines
1561 bytes
Hi, Anthony and Rem,

If I'm not wrong, putting a variable as a property of the _sys it will make that
variable visible to all sessions sharing the same Agent where your form was
opened, because the _sys reference is the Agent itself. Then, other forms of
other users' sessions in that Agent will change the value of that variable. Best
to create a property in the form to keep the value.

Regards,
MMM

>> Subject: Where can I define a form variable?
>> 
>> I want to have a variable defined and in use globally within a form. 
>> Where can I declare it?
>> Regards,
>> Anthony Bateman.
>
>Probably the best method is set this variable as a property of form - >You can also set this variable as property of _sys - this way You get >global variable for whole session
>        Rem
-- 
       ---------------------------------------------------------
       "Who is General Failure, and why is he reading my drive?"
Technical Details
Message-ID: <3607F629.D4269BE4@unisys.com.br>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bde561$18fdb330$5a2c40c1@fiws090> <Pine.GS4.4.02A.9809221004040.25822-100000@netra.gdansk.sprint.pl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 14644c,427e54f4edebf5e4
X-Google-Attributes: gid14644c,public
From: "Marcelo M. Marques" <mmmrqs@unisys.com.br>
Subject: Re: Where can I define a form variable?
Date: 1998/09/22
Message-ID: <3607F629.D4269BE4@unisys.com.br>
X-Deja-AN: 393742095
Content-Transfer-Encoding: 7bit
References: <01bde561$18fdb330$5a2c40c1@fiws090> <Pine.GS4.4.02A.9809221004040.25822-100000@netra.gdansk.sprint.pl>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.intrabuilder.forms