U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » Mac OS » Unwanted search Ctrl in Help menu item
Unwanted search Ctrl in Help menu item [message #51439] Mon, 25 March 2019 21:48 Go to previous message
forlano is currently offline  forlano
Messages: 1221
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I am experiencing a weird behavior (under X11 mode). The menu has an additional Search ctrl that I haven't coded.
See picture:
index.php?t=getfile&id=5792&private=0

This is the code

void VegaMain::VegaMainMenu(Bar& menu)
{
	menu.Add(t_("File"), THISBACK(File) ).Key(K_CTRL_F);
	menu.Add(t_("Standing"), THISBACK(Standing) ).Key(K_CTRL_X);  
	menu.Add(t_("Extras"), THISBACK(Extras) ).Key(K_CTRL_X);  
	menu.Add(t_("Rating Report"), THISBACK(ReportCB) ).Key(K_CTRL_R);  
	menu.Add(t_("Help"), THISBACK(Help) ).Key(K_CTRL_H);  
}

//....
// and then
//....
void VegaMain::Help(Bar& bar)
{
	bar.Add(t_("Content"), THISBACK(HelpContent));
	bar.Separator();
#ifndef PLATFORM_LINUX 
 	bar.Add(t_("Register ..."), THISBACK(HelpRegister));
 	bar.Add(t_("Registered to ..."), THISBACK(HelpRegistered));
	bar.Separator();
#endif
	bar.Add(t_("Check Update"), THISBACK(CheckUpdate));
	bar.Separator();
	bar.Add(t_("About"), THISBACK(HelpAbout));
}


Moreover all the items do not work, i.e. they do not perform any action.

The same code works OK under Windows and Linux.
Thanks,
Luigi
  • Attachment: pic1.png
    (Size: 322.21KB, Downloaded 681 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can I compile without X11? (Mojave)
Next Topic: How to set the icon App
Goto Forum:
  


Current Time: Sat Apr 25 20:17:18 GMT+2 2026

Total time taken to generate the page: 0.00977 seconds