home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / database / 896 < prev    next >
Encoding:
Text File  |  1992-07-22  |  2.2 KB  |  52 lines

  1. Newsgroups: comp.sys.mac.databases
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!newshost.latech.edu!bronson
  3. From: bronson@engr.latech.edu (Patrick K. Bronson)
  4. Subject: Re: Automatic buttons in 4th Dimension
  5. Message-ID: <1992Jul23.040526.4009@engr.latech.edu>
  6. Summary: don't use automatic actions!
  7. Keywords: buttons
  8. Sender: bronson@engr.latech.edu
  9. Organization: Louisiana Tech University
  10. References: <1992Jul20.232951.1796@nntp.hut.fi>
  11. Date: Thu, 23 Jul 1992 04:05:26 GMT
  12. Lines: 38
  13.  
  14. In article <1992Jul20.232951.1796@nntp.hut.fi> t35058d@kaira.hut.fi (Sami Markus Kuisma) writes:
  15. >Hi there!
  16. >
  17. >I have a serious problem with 4D's automatic buttons. Some of them are quite 
  18. >useful, like Add and Delete Included but designer doesn't have any control 
  19. >over those. The normal Enable/Disable Button commands don't have any effect 
  20. >on automatic buttons. So is there any other way to enable/disable them?
  21. >My main problem at the moment is Add To Included button. I have related many 
  22. >file in included layout. After the user has added certain amount of related 
  23. >records I want to disable the Add To Included button. How Can I do that?
  24. >Also does somebody know if it's possible to get amount of 4D's free memory 
  25. >without using external procedures? If not maybe it's time to buy that External 
  26. >Kit...
  27. >Hopefully waiting for solutions
  28. >Sami Kuisma
  29.  
  30.  
  31. Sami,
  32.   Don't use automatic actions if you want to disable a button.  The 
  33. language reference says that the only time this would work (enable/disable)
  34. is when you use the delete record action.  I have had problems far to often
  35. when using automatic actions, so I generally handle it all with a no action
  36. button with an attached script.  You get better control, and you get better
  37. results.  So far I haven't found any case where I couldn't acomplish the same
  38. thing as an automatic action, through scripting.  
  39.  
  40. As for the memory question, I thought that there were a few pd externals that
  41. do the trick.  Someone else might know the exact ones to look for.
  42.  
  43. -- 
  44. -----------
  45. Pat Bronson (bronson@engr.latech.edu)
  46.   "Are you going to come quietly or do I have to use earplugs?"
  47.                                                     ---- From The Goon Show
  48.