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 » How to use LineEdit's default "Key" handler? no subclass (i want to use LineEdit's default Key(dword key, int count) handler without need to create a subclass)
How to use LineEdit's default "Key" handler? no subclass [message #59099] Wed, 02 November 2022 10:17 Go to previous message
wakhshti is currently offline  wakhshti
Messages: 2
Registered: November 2022
Junior Member
how to use LineEdit, EditString, EditField default Key(press) handler?
there's many examples on how to use "Key(dword key, int count)" with subclass.
but how to use default Key press without sublassing?

(.h file)
class MainWindow : public WithmainLayout<TopWindow> {
public:
	MainWindow();
	LineEdit txtSearch;
private:
};

(.cpp file)
#include "MainWindow.h"

MainWindow::MainWindow()
{
	CtrlLayout(*this, "MainWindow");
	
        // txtSearch Key(dword key, int count) handler :
	txtSearch.Key = ??
}


[Updated on: Wed, 02 November 2022 10:20]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: LineEdit get Key press no subclass
Next Topic: Rescale image without filter
Goto Forum:
  


Current Time: Thu May 16 16:23:38 CEST 2024

Total time taken to generate the page: 0.02649 seconds