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 » Community » Newbie corner » EditField ctrl and StaticText ctrl in a StatusBar crtl
Re: EditField ctrl and StaticText ctrl in a StatusBar crtl [message #27777 is a reply to message #27764] Tue, 03 August 2010 11:02 Go to previous message
ratah is currently offline  ratah
Messages: 107
Registered: July 2010
Experienced Member
Hello,

Here is the correct code:
StaticText  infobar1, infobar2;

...

status.Set(0, "", 0);

AddFrame(status);
infobar1.SetRect(0,2,200,15);
infobar1.SetFrame(RightSeparatorFrame());
infobar2.SetRect(0,2,200,15);
infobar2.SetFrame(RightSeparatorFrame());	
status.Add(infobar1.LeftPos(0,300));
status.Add(infobar2.LeftPos(300,300));
status.Add(editCommand);

...

infobar1.SetText(infos1);
infobar2.SetText(infos2);


I don't know why these codes do not work

status.Set("");
status.SetDefault("");

Thas 's all

[Updated on: Tue, 03 August 2010 11:03]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hello, need a helping hand
Next Topic: Ctrl key pressed while LeftDown: detection.
Goto Forum:
  


Current Time: Thu May 09 11:42:49 CEST 2024

Total time taken to generate the page: 0.01403 seconds