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

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: Sat May 02 14:24:38 GMT+2 2026

Total time taken to generate the page: 0.00620 seconds