I am still rather new to HMG. HMG has some really GREAT capabilities but they seem to be absent from the help file.
For example, a custom object could be very helpful in my current project. In a forum post, (viewtopic.php?f=5&t=4511&p=43036&hilit=HBClass#p43036), I saw some simple code I have adapted (below).
Code: Select all
#include "hmg.ch" #include "hbclass.ch" public oMyObj oMyObj := CreateNewObj() class CreateNewObj data ReadOnly AS character INIT "ReadOnly" data Hidden as character init "Hidden" end class
1) Can HMG assign a "Value" property to each such that the following will be valid? oMyObj:ReadOnly:Value and oMyObj:Hidden:Value
2) Where might I find good references that might explain or document the use of "hbclass.ch" and CLASS ... END CLASS in HMG?
3) Also, are there better or other ways to create and manipulate a custom object?
Any help you would be kind enough to point me to would be greatly appreciated!
Thank you, Red2