o = NEWOBJECT('myclass',"myclass.prg") o._hwindow = 8 && An error will result "Property _hWindow is not found" -- "not able to modify it" ?o.GethWindow() && this retrieves the _hwindow property value -- "be able to retrieve hwindow value" DEFINE CLASS myclass As Custom HIDDEN _hwindow _hwindow=0 PROCEDURE Init THIS.SetHWindow PROTECTED PROCEDURE SetHWindow DECLARE INTEGER GetFocus IN user32 THIS._hwindow=GetFocus() FUNCTION GetHWindow RETURN THIS._hwindow ENDDEFINEHope this helps.
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature