Integrate the NetLogic with the interface
Configure the interface elements to show the hidden panel only if a user is logged in.
- Configure the login button:
- In theProject viewpane, selectLoginButton.
- In theEventspane, double-click thePerformLoginMethodfield value and select .
- UnderInputArguments, create dynamic links between:
- usernameand .
- passwordand .
For more information about dynamic links, see Create dynamic links. - Next to theSetOutputMessageMethod, select
.
- Add and configure the message label:
- In theProject viewpane, right-clickLoginFormand select .
- Hover-over the label, select, and enter
MessageLabel - In thePropertiespane, create a dynamic link between theTextproperty and .For more information about dynamic links, see Create dynamic links.
- Right-clickLoginFormOutputMessage, selectDeleteand selectDelete.
- Configure users:
- Add anAdminuser and set the password toAdmin.See Add a user.
- In theProject viewpane, selectLoginForm (type).
- In thePropertiespane, create a dynamic link between theUsersproperty and theUsersfolder.For more information about dynamic links, see Create dynamic links.
- Add and configure the logout button:
- In theProject viewpane, right-clickMainWindow (type)and select .
- Hover-over the button, select, and enter
Logout. - In thePropertiespane, set theTextproperty value toLogout
- In theEventspane, next toMouseClick event, selectand select .

- UnderInput arguments, set theUsernameproperty value toUser.
- Next toMouseClick event, selectand select .

- UnderInput arguments, create a dynamic link between theNewPanelproperty and .
- Arrange the interface elements.

Fornire un feedback