Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Removed |../../index.htm#lansa/vlfonetutorials_0250.htm]

...

Switch to

...

Wiki MarkupSwitch to the Visual LANSA editor, where the slide in panel is open: !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!   Select the label with text and delete it. Then display the Material Design Controls tab on the left and drag a button to the panel: !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!   Make the button's Caption _Switch to \[name of business object\]:_ !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!   Create an event routine for the button handling Click: !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!   In order to switch to a business object, you need to know its User Object Name. To find the name, display the workbench, and check the _User Object Name / Type_ of your business object. Copy the name: !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!   Switch back to the Visual LANSA editor, and add this code in the Click event routine, replacing the name of the business object with your own:   <span style="color: #3b3838">#avFrameworkManager

Image Added

Select the label with text and delete it.

Then display the Material Design Controls tab on the left and drag a button to the panel:


Image Added

Make the button's Caption Switch to [name of business object]:


Image Added

Create an event routine for the button handling Click:


Image Added

In order to switch to a business object, you need to know its User Object Name. To find the name, display the workbench, and check the User Object Name / Type of your business object. Copy the name:


Image Added

Switch back to the Visual LANSA editor, and add this code in the Click event routine, replacing the name of the business object with your own:  

Code Block
#avFrameworkManager.avSwitch Caller(#COM_OWNER) Toobjectnamed(4B67CD299E5B43838CDBCD167E8B796C)

Compile the </span>   Compile the panel.

Switch to the workbench and execute the Framework as a VLF-ONE application.

Display the bottom slider panel: !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!   Click the button to switch to your business object: !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!   Note that the Bottom Pane Slider is snapped in in the Framework's Web/RAMP Details tab: !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!     [ !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32! |../../index.htm#lansa/vlfonetutorials_0250.htm]


Image Added

Click the button to switch to your business object:


Image Added

Note that the Bottom Pane Slider is snapped in in the Framework's Web/RAMP Details tab:


Image Added