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 #27723 is a reply to message #27715] Fri, 30 July 2010 14:41 Go to previous messageGo to previous message
ratah is currently offline  ratah
Messages: 107
Registered: July 2010
Experienced Member
That's great! thanks
Only I have the default message in my statusbar that I can't initialize Embarassed

Here is my code:

StaticText  infobar1, infobar2;

...

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);



Ratah
 
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 07:18:01 CEST 2024

Total time taken to generate the page: 0.03241 seconds