news
About Elegant Chaos
info
About me and my friends
people
Software from Elegant Chaos
software
Other stuff...
stuff

Info

An XCMD which displays a modeless information dialog, which can be used to keep the user informed.

Info XCMD. Version 2.0d2, by Sam Deane. Copyright ©1994 ULTRALAB. Compiled 16:50:09, 28/04/94. Debugging code included.


[last exit to hypercard] [externals index] [download Info]

Description

This is a very old XCMD!

It just throws up a small, dialog style window with a single line message in it - you know, something like "Hang on a mo whilst I format your hard disc...".

The syntax is:

  Info <text> [, <rect> [, <centered> ] ]

Where <text> is a messge to display, <rect> is an optional parameter specifying the rect of the window, and <centered> is an optional boolean parameter, which should be true if you want the window to be horizontally centered.

To remove the Info window,use the close command:

  close window "Info"

Example script

on mouseUp
  put "Please click the mouse" into prompt
  Info prompt,"0,0,256,64",true
  repeat until the mouseClick
    if the long time is not it then
      get the long time
      set the text of window "Info" to prompt && it
    end if
  end repeat
  close window "Info"
end mouseUp

Commands


Properties

text

The text of the window can by altered with the text property.

The syntax for this is:

  set the text of window "Info" to <text>

properties


Messages


[last exit to hypercard] [externals index] [download Info]

This page was created automatically, on 25/03/1999 from version 3.0d4 of Last Exit To Hypercard.