🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.databases
Article #63

Re: Automatic buttons in 4th Dimension

#63
From: Patrick K. Bronson
Date: Thu, 23 Jul 1992 04:05
38 lines
2268 bytes
In article <1992Jul20.232951.1796@nntp.hut.fi> t35058d@kaira.hut.fi (Sami Markus Kuisma) writes:
>Hi there!
>
>I have a serious problem with 4D's automatic buttons. Some of them are quite 
>useful, like Add and Delete Included but designer doesn't have any control 
>over those. The normal Enable/Disable Button commands don't have any effect 
>on automatic buttons. So is there any other way to enable/disable them?
> 
>My main problem at the moment is Add To Included button. I have related many 
>file in included layout. After the user has added certain amount of related 
>records I want to disable the Add To Included button. How Can I do that?
> 
>Also does somebody know if it's possible to get amount of 4D's free memory 
>without using external procedures? If not maybe it's time to buy that External 
>Kit...
> 
>Hopefully waiting for solutions
> 
>Sami Kuisma


Sami,
  Don't use automatic actions if you want to disable a button.  The 
language reference says that the only time this would work (enable/disable)
is when you use the delete record action.  I have had problems far to often
when using automatic actions, so I generally handle it all with a no action
button with an attached script.  You get better control, and you get better
results.  So far I haven't found any case where I couldn't acomplish the same
thing as an automatic action, through scripting.  

As for the memory question, I thought that there were a few pd externals that
do the trick.  Someone else might know the exact ones to look for.

-- 
-----------
Pat Bronson (bronson@engr.latech.edu)
  "Are you going to come quietly or do I have to use earplugs?"
                                                    ---- From The Goon Show
Technical Details
Message-ID: <1992Jul23.040526.4009@engr.latech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!newshost.latech.edu!bronson
References: <1992Jul20.232951.1796@nntp.hut.fi>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.mac.databases
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!newshost.latech.edu!bronson
From: bronson@engr.latech.edu (Patrick K. Bronson)
Subject: Re: Automatic buttons in 4th Dimension
Message-ID: <1992Jul23.040526.4009@engr.latech.edu>
Summary: don't use automatic actions!
Keywords: buttons
Sender: bronson@engr.latech.edu
Organization: Louisiana Tech University
References: <1992Jul20.232951.1796@nntp.hut.fi>
Date: Thu, 23 Jul 1992 04:05:26 GMT
Lines: 38