hi Enrico,
Ok, understand
so i have to make a own CLASS and use CLASS Code / DATA when i do not want to pass Parameter
---
have forgot to say that i have DATA oASKFORM and made this
- Code: Select all Expand view
::oASKFORM := oASKFORM
but still my Question about Object and "OF Parent"
when assign Object to a Parent, a Parent should know it´s Child
i have try first
- Code: Select all Expand view
::oASKFORM:oText_2:cTargetDir := cDir + "\" -> crash
Ok, "cTargetDir" is a LOCAL Variable and not a Property
so i try just
- Code: Select all Expand view
xxx := ::oASKFORM:oText_2
but still got
Message not found: TWINDOW:OTEXT_2
so not ::oASKFORM is "Parent" but "Super-CLASS" TWINDOW
---
under Xbase++ all Control of XbpDialog ( WINDOW / DIALOG ) are Child so you can use
- Code: Select all Expand view
::oParent:oChild_1
under HMG i use "OF" or "PARENT" and can use "semi-OOP" Syntax
- Code: Select all Expand view
oParent.oChild_1
now i have to learn new how to use OOP and what "OF" mean under Fivewin