Create the login page interface
Create a hidden panel, login form, and a panel loader.
- Add a hidden panel that will be visible after a successful login:
- InProject view, right-clickUIand select .
- Hover-over the panel, selectEditHiddenPanel
- Right-click the panel and select.
- Hover-over the label, selectEditHiddenContent.
- InProperties, setTexttoHidden content.
- (Optional) Arrange the hidden panel interface elements:
- InProject view, double-clickHiddenPanel.
- In the central pane, arrange the interface elements. See Graphic and layout objects.
- Add the login form:
- From theFactoryTalk Optix Studiotoolbar, select .
- InLibraries, from the top list, selectWidgets.
- From the list at the bottom, dragLogin Formonto theUIfolder inProject view.
- SelectClose.
- Configure the login form:
- Hover-overLogin Formand select .
- InProject view, right-clickLoginFormand select .
- Hover-over the NetLogic, selectEditLoginFormNetLogic.
- InProperties, at the top, select .
- Hover-over the variable, selectEditPanel.
- Next to thePanelvariable, selectInt32and selectNodeId.TIP: If you do not see the required option, select theShow allcheck box.
- Create a dynamic link between thePanelvariable and .For more information about dynamic links, see Create dynamic links.
- InProperties, at the top, select .
- Hover-over the variable, selectEditMessage.
- Next to thePanelvariable, selectInt32and selectString.
- Remove theMessagevariable value.The variable value is blank.
- Add a panel loader:
- InProject view, right-clickMainWindow (type)and select .
- Create a dynamic link between thePanelvariable and .For more information about dynamic links, see Create dynamic links.
Provide Feedback