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

Home » U++ Library support » U++ Core » EditString can't focus, why?
EditString can't focus, why? [message #61862] Thu, 20 November 2025 17:26 Go to previous message
fzx374cn is currently offline  fzx374cn
Messages: 9
Registered: August 2025
Promising Member
#include <CtrlLib/CtrlLib.h>

using namespace Upp;

struct MyAppWindow : public TopWindow {
LabelBox lbx;
EditString edit;

Ctrl right;

MyAppWindow() {

lbx.SetLabel("kkkk");
lbx.HSizePos(20,20).VSizePos(20,20);
lbx.AlignVCenter();
this->Add(lbx);

right.LeftPos(10, 200).TopPos(16, 200).AddFrame(Upp::BlackFrame());
lbx.Add(right);

edit.TopPos(50).LeftPos(50, 180).Enable(true);
right.Add(edit);
}
};

GUI_APP_MAIN
{
MyAppWindow().Run();
}
 
Read Message
Read Message
Previous Topic: How to Retrieve Printer List from Windows System?
Next Topic: LableBox childctrls can't active
Goto Forum:
  


Current Time: Mon May 11 07:16:20 GMT+2 2026

Total time taken to generate the page: 0.00490 seconds