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 » U++ Core » EditString can't focus, why?
EditString can't focus, why? [message #61862] Thu, 20 November 2025 17:26
fzx374cn is currently offline  fzx374cn
Messages: 7
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();
}
Previous Topic: How to Retrieve Printer List from Windows System?
Next Topic: Add compilable testcases for nontrivial problems!
Goto Forum:
  


Current Time: Thu Nov 20 20:03:21 CET 2025

Total time taken to generate the page: 0.18571 seconds