GlobalScope

O código fonte de Basic e as caixas de diálogo organízanse nun sistema de bibliotecas.

En Basic:

Nas caixas de diálogo:

Both LibraryContainers exist in an application level and within every document. In the document Basic, the document's LibraryContainers are called automatically. If you want to call the global LibraryContainers from within a document, you must use the keyword GlobalScope.

Sintaxe:


GlobalScope

Exemplo:

Exemplo no documento Basic


    ' chamando a Dialog1 na biblioteca de documentos Standard
    oDlgDesc = DialogLibraries.Standard.Dialog1
    ' chamando a Dialog2 na biblioteca de aplicativos Library1
    oDlgDesc = GlobalScope.DialogLibraries.Library1.Dialog2

Axúdenos, por favor!