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++ TheIDE » U++ TheIDE: Layout (Forms) Designer » Layout editor problem with Ctrl &
Re: Layout editor problem with Ctrl & [message #31727 is a reply to message #31725] Mon, 21 March 2011 18:01 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Koldo

I guess the only correct solution is to change CtrlLib/CtrlLib.usc, e.g. like this:
ctrl DropTime {
	group "Input fields";

	GetMinSize() { sz = XMinSize(); sz.cy += 6; return sz; }
	GetStdSize() { sz = GetMinSize(); sz.cx *= 15; return sz; }

	Frame SetFrame = InsetFrame();
	bool  SetEditable = true @2 ? "Editable";
	bool  SelectAll = true;
	bool  SwapMonthYear = false;
	bool  Seconds = true;
	bool  NotNull = false;
	bool  WantFocus = true;
	Text  Tip;
//...
}

Actually the same problem applies to other Ctrls as well (I saw it in at least in DropDate, Clock, Calendar).

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GUI with Menu bar and 5 Labels/Text Boxes
Next Topic: I created new package as empty how do I start adding code?
Goto Forum:
  


Current Time: Sat May 25 14:04:19 CEST 2024

Total time taken to generate the page: 0.00686 seconds