On Sep 13, 2006, at 10:41 AM, Narinder Chandi wrote:
Hi. I searched the archives and the RB manuals for an answer without
success. Is it possible to embed constants belonging to the parent
Window or
from a Module?
The only alternative I can come up with is to roll my own version
by setting
each Control's HelpTags myself in a Window method from where I can
obviously
access both Window and module constants.
If there's a better/alternate way I'd be interested to hear it.
Thanks.
Add a "#" symbol in front of the constant name to allow the IDE to
recognize that it is a constant. For example:
#kMyApplicationName
However, if you use a constant that is all that you can add to the
field. You cannot compile constants with string literals, or compile
multiple constants (like appName and appVers) within the IDE... if
you want this, you have to build the string in the Code Editor such
as in the Open() event.
_______________________________________________
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>