Ronak Posted December 14, 2012 Share Posted December 14, 2012 Hello, How can I Hide/Unhide Menu of MainForm MainForm.Menu :=nil // not working http://delphi.about.com/od/delphitips2007/qt/mainmenuhide.htm Regards Quote Link to comment Share on other sites More sharing options...
diegojmap Posted June 13 Share Posted June 13 I need the same solution Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 13 Share Posted June 13 45 minutes ago, diegojmap said: I need the same solution Hello, Do you want to show and hide as needed? Quote Link to comment Share on other sites More sharing options...
diegojmap Posted June 13 Share Posted June 13 I need to hide the entire MainMenu. MainForm.Menu :=nil // not working. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 13 Share Posted June 13 8 minutes ago, diegojmap said: I need to hide the entire MainMenu. MainForm.Menu :=nil // not working. Try this approach for now: procedure TMainForm.UniButton1Click(Sender: TObject); begin if Menu <> nil then JSInterface.JSCall('down("toolbar").hide', []) //show end; Quote Link to comment Share on other sites More sharing options...
diegojmap Posted June 13 Share Posted June 13 version: 1.90.0.1539 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 13 Share Posted June 13 Can you make a simple testcase to check? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.