Dialog.chProvides dialog commands observed in the historical package; confirm the actual dependency in the current package.
AdvPL Guide#Include "Dialog.ch"Declares historical commands for dialogs, control redefinition, resources and help.
In the analyzed historical package, Dialog.ch declares DEFINE DIALOG, ACTIVATE DIALOG, REDEFINE, SET RESOURCES, SET HELPFILE and SET HELP TOPIC. The supplemental material associated DEFINE MSDIALOG with Dialog.ch, but the supplied inventory places DEFINE MSDIALOG and ACTIVATE MSDIALOG in SigaWin.ch. This illustrates why directives must be checked in the package matching the target release.
#Include "Dialog.ch"Dialog.chProvides dialog commands observed in the historical package; confirm the actual dependency in the current package.
There is no runtime return value; directives are expanded during compilation.
#Include "Protheus.ch"
#Include "Dialog.ch"
User Function ExDialog()
Local oDialog
DEFINE DIALOG oDialog TITLE "Teaching example" ;
FROM 0, 0 TO 150, 300 PIXEL
ACTIVATE DIALOG oDialog CENTERED
ReturnClassic teaching syntax; confirm clauses and dependencies for the target release.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use