realbasic-plugins
[Top] [All Lists]

Proper way to assign control instances to a custom control

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Proper way to assign control instances to a custom control
From: Alfred Van Hoek <vanhoek at mac dot com>
Date: Thu, 13 Jul 2006 15:03:26 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
It looks like getters/setters like:

{ "Controls", "myCanvas", "Canvas", REALpropInvalidate, (REALproc) myGetter, (REALproc)mySetter, 0 },

defined in a REALproperty of a REALcontrol are not being called, while properties having a type of string, integer, boolean are.

How can we assign an instance of a canvas to a REALcontrol at the getter setter level with the REALpropInvalidate flag, instead of defining a clumsy REALevent for the custom control which should fire at constructor time (which would not work).

Alfred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • Proper way to assign control instances to a custom control, Alfred Van Hoek <=