combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlDefineLayout Method

handle of the main window of the calling application

window title

Value Meaning

LlProject.Label

for labels

LlProject.Card

for cards

LlProject.List

for lists

if required combined with "or" with:

Value Meaning
LL_FIXEDNAME

to delete the menu items "new" and "load" (preferred: LlDesignerProhibitAction())

LL_NOSAVEAS

to delete the menu item .save as. (preferred: LlDesignerProhibitAction())

LL_EXPRCONVERTQUIET

to quietly undertake a possibly necessary conversion into the new expression mode instead of informing the user with a dialog box

LL_NONAMEINTITLE

no filename of the current project in List & Label??s main window

file name of the desired object



In This Topic
    LlDefineLayout Method
    In This Topic

    Calls the interactive Designer that will be displayed as a modal pop-up window overlapping your application window.

    Syntax
    'Declaration
     
    
    Public Sub LlDefineLayout( _
       ByVal windowHandle As IntPtr, _
       ByVal title As String, _
       ByVal projectType As LlProject, _
       ByVal projectFile As String _
    ) 

    Parameters

    windowHandle

    handle of the main window of the calling application

    title

    window title

    projectType

    Value Meaning

    LlProject.Label

    for labels

    LlProject.Card

    for cards

    LlProject.List

    for lists

    if required combined with "or" with:

    Value Meaning
    LL_FIXEDNAME

    to delete the menu items "new" and "load" (preferred: LlDesignerProhibitAction())

    LL_NOSAVEAS

    to delete the menu item .save as. (preferred: LlDesignerProhibitAction())

    LL_EXPRCONVERTQUIET

    to quietly undertake a possibly necessary conversion into the new expression mode instead of informing the user with a dialog box

    LL_NONAMEINTITLE

    no filename of the current project in List & Label??s main window

    projectFile

    file name of the desired object

    Remarks

    The window handle is used to deactivate the calling program. If this is not desired or possible, null can also be passed. In this case the calling program is responsible for closing the layout editor should the user abort the main program. This is not recommended. When minimizing the List & Label layout designer the calling program is automatically minimized, in the subsequent restoration List & Label is also restored.

     

    Important: On an end user machine, this call will only succeed in the Professional version of List & Label. It will fail in the standard version.

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also