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  |
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
|
|
|
Goto Forum:
Current Time: Sat May 10 07:49:02 CEST 2025
Total time taken to generate the page: 0.03344 seconds
|