>  Docs Center  >  Libraries  >  CATALYST  >  SELECTABLEOBJECT__DEFINE
Libraries

SELECTABLEOBJECT__DEFINE

SELECTABLEOBJECT__DEFINE

Name


      SELECTABLEOBJECT__DEFINE

Purpose



      The purpose of this routine is to implement a selectable object for user interaction.
      This is essentially an abstract class for selectable objects.

Authors



        FANNING SOFTWARE CONSULTING BURRIDGE COMPUTING
        1645 Sheely Drive 18 The Green South
        Fort Collins Warborough, Oxon
        CO 80526 USA OX10 7DN, ENGLAND
        Phone: 970-221-0438 Phone: +44 (0)1865 858279
        E-mail: davidf@dfanning.com E-mail: davidb@burridgecomputing.co.uk

Category



      Objects.

Syntax



      textObject = Obj_New("SELECTABLEOBJECT")

Superclasses



      CATDATAATOM
      CATATOM
      CATCONTAINER IDLITCOMPONENT
      IDL_CONTAINER

Class Structure



  class = { SELECTABLEOBJECT, $
            background: 0L, $ ; A flag to indicate if a background box is drawn.
            bg_color: "", $ ; The name of the background color.
            box: DblArr(2,5), $ ; The box around the selectable object is ALWAYS in normal coordinates.
            color: "", $ ; The name of a color to draw the object in.
            contextmenu: Obj_New(), $ ; A holder for a context menu object.
            internalCoord : Obj_New(), $ ; A holder for an internal coordinate object.
            mygroup: Obj_New(), $ ; A SELECTABLEGROUP object, of which this object is a member.
            selectable: 0L, $ ; A flag to indicate the object is selectable.
            visible: 0L, $ ; A flag to indicate if the object is visible (should be drawn).
            INHERITS CatDataAtom $
          }

Messages



        When a selectable object is deleted from the SetProperty method, the message
        OBJECT_DELETED is broadcast to interested parties just before the object is
        destroyed. The DATA field will be set to the object reference of the object
        just about to be destoyed.

Modification History



      Written by: David W. Fanning, 9 August 2004.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us