Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » How to Hide the tow button in Page
How to Hide the tow button in Page [message #1817487] Sat, 23 November 2019 16:22 Go to next message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 70
Registered: June 2014
Member
Hello,
I would like to hide these tow button in a page and replace them with a home button in the Desktop,
Question 1 how to hide these buttons ( Capture Image )
Question 2 how to open the outline programmaticly.
Kind Regards



  • Attachment: Capture.PNG
    (Size: 1.65KB, Downloaded 10 times)
Re: How to Hide the tow button in Page [message #1817507 is a reply to message #1817487] Mon, 25 November 2019 08:45 Go to previous messageGo to next message
Andre Wegmueller is currently offline Andre WegmuellerFriend
Messages: 103
Registered: September 2012
Location: Baden-D├Ąttwil, Switzerla...
Senior Member
In case you're working with a newer Scout Classic version (=Java) you can simply set the following property on your Outline to hide the two navigation buttons:

@Override
protected boolean getConfiguredNavigateButtonsVisible() {
    return false;
}


In Scout the Desktop is responsible for managing the outline instances. You can activate an outline programmatically like this:

IDesktop desktop = ClientSession().get().getDesktop();
desktop.activateOutline(outlineInstance);


Use the method desktop#getAvailableOutlines() to retrieve a list of the registered outline instances.


Eclipse Scout Homepage | Documentation | GitHub
Re: How to Hide the tow button in Page [message #1819052 is a reply to message #1817507] Mon, 06 January 2020 11:12 Go to previous message
Oueslati Anis is currently offline Oueslati AnisFriend
Messages: 70
Registered: June 2014
Member
Done thank you !
Previous Topic:Reporting exceptions on the client ui
Next Topic:How to create a Home button
Goto Forum:
  


Current Time: Sat May 30 09:57:00 GMT 2020

Powered by FUDForum. Page generated in 0.01844 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top