Home » Community » Newbie corner » Layout not visible
Layout not visible [message #55534] |
Fri, 20 November 2020 03:25  |
steveo
Messages: 11 Registered: November 2020
|
Promising Member |
|
|
So I am trying to implement a simple modal dialog with a layout.
I have added a new layout to my layout file for the package called "NewPasswordDlgLayout"
I have created a class like this in the main package.h file along with my MainWindow:
class NewPasswordDialog : public WithNewPasswordDlgLayout<TopWindow> {
protected:
String password;
String passwordVerify;
public:
NewPasswordDialog();
};
I am attempting to invoke the dialog like this:
int result = NewPasswordDialog().Run(true);
It shows a window but does not show any of the controls I added to the layout and I don't understand why.
|
|
|
Goto Forum:
Current Time: Sat May 10 16:00:02 CEST 2025
Total time taken to generate the page: 0.00504 seconds
|