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.onFocus Event ?!?!?!
Re: EditField.onFocus Event ?!?!?! [message #37541 is a reply to message #37539] Mon, 15 October 2012 19:38 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 nejnio

Judging by your description and your pictures, I believe that you are trying to achieve something that is already implemented in all the EditField based widgets Wink

Have a look at the NullText() method. In your case, put something like this in a constructor:
LogInTxtBox.NullText("Username");
Now you can forgot about hiding and showing the labels and the widget will paint it all for you for free. Is this the functionality you were looking for?

Best regards,
Honza
 
Read Message
Read Message
Read Message
Previous Topic: Undeclared identifier
Next Topic: What's wrong now ? CtrlLayout
Goto Forum:
  


Current Time: Tue Jun 04 20:16:43 CEST 2024

Total time taken to generate the page: 0.02206 seconds