Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » LineEdit, EditFields, DocEdit » LineEdit and menu
Re: LineEdit and menu [message #18580 is a reply to message #18576] Fri, 10 October 2008 12:58 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
In Constructor:
    lineedit.WhenBar = THISBACK(OnLineEditBar);

Member function for callback:
void AWindow::OnLineEditBar(Bar &bar)
{
    // If we want to keep default menu
    lineedit.StdBar(bar);
    // Add new menus
    bar.Add("New menu option", THISBACK(OnNewMenu));
}
 
Read Message
Read Message
Read Message
Previous Topic: LineEdit error [BUG]
Next Topic: Added word wrap to LineEdit
Goto Forum:
  


Current Time: Sat Aug 09 18:26:06 CEST 2025

Total time taken to generate the page: 0.03368 seconds