Re: user-defined functions (beginner)

1999-12-14 Thread Ruediger zu Dohna

Dominique Delefortrie wrote:
 For instance, I have a card field with numbers, and a button which serves
 to define the number format of that field. The button script calls an
 user-defined function in the card script. How to make it work ?

Just call it... the objects can call directly any functions or handlers
(those with "on") in the card script, all background scripts on the same
card (not only those that they are members of!!!), and in the stack
script. This is the message inheritance.

But you'll have to either send a command or use the second parameter of
the "value" function (look in the docs) if you want to call a function
in the field from the button, but those both lack a certain elegance. It
would be nicer to write a getProp handler in the field:

getProp formattedNumber
  get me
  -- do your formatting
  return it
end formattedNumber

Now you can call it from the button like this:

  get the formattedNumber of fld 1

Nice, isn't it?

Regards
  RĂ¼diger




   GINIT - Gesellschaft fuer integrierte Informationssysteme mbH

GINIT GmbH
Ruediger zu Dohnaemail:   [EMAIL PROTECTED]
Technologiepark  phone: +49-721-96681-63
Emmy-Noether-Str. 9  fax:   +49-721-96681-11
D-76131 Karlsruhewww:http://www.ginit.de

  PGP-Fingerprint: F1 BF 9D 95 57 26 48 42 FE F8 E8 02 41 1A EE 3E 


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



MetaCard 2.3 beta 3

1999-12-14 Thread Scott Raney

The third and final scheduled beta-test release of MetaCard 2.3 is now
available in the directory ftp://ftp.metacard.com/MetaCard/2.3/ 
This is primarily a bug fix release over beta 2, but a few new
features have been added.  See the README for details.

If you haven't tried running your applications with any of the
previous alpha or beta test release, you are strongly encouraged to
spend a few minutes to take this release for a spin.  Compatibility
isn't 100% and so minor changes to your scripts might be required, but
if your application depends heavily on some particular behavior of
2.2.X that's changed in 2.3, there is now only a very limited window
of time to do anything about it.


Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



windex

1999-12-14 Thread andu

For those unhappy users of windows98 who want to get rid of the browser
from the system there is 98Lite, in case you didn't know, and it does the
job as they say as opposed to 98Regular who doesn't. (98lite.com)

Regrds, Andu



This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm