WordGuise, the Word Graphical User Interface Smart Editor

MeOwner Method

This global function translates "Me" to the owner of "Me", which is an instance of WordGuise. This function is required when MenuItem "Action" handlers are created with the method "WordGuise.AddMenuHandler(Menu As MenuItem, Method as MemoryBlock)" Like:

myWordGuise.AddMenuHandler(EditCut, AddressOf myHandler)

where myHandler is defined as a method private to myWordGuise.

When "Me" is used in the myHandler method, "Me" will point to the EditCut-menuItem instance, not the the myWordGuise instance.

MeOwner(
   child as Object) as WordGuise

Parameters

child
child should be "me"

Returns

WordGuise
returns a WordGuise instance

Remarks

MeOwner can be used throughout when "Me" would suggest a WordGuise instance.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • Win32 - Windows

    Unsupported Platforms:

  • MacOS X Universal Binary (Mach-O)
  • Linux x86

    See Also

    GlobalMethods Global