U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Changing Editbox background color (EditString)
Re: Changing Editbox background color (EditString) [message #15117 is a reply to message #15116] Tue, 01 April 2008 16:27 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
1. type the name of the ctrl then '.When'. As almost all callbacks are of the form WhenSomething this gives a list of the callbacks.
2. Check the source. Press Ctrl-Q, type EditField, then click on one of the options at the bottom of the screen to go to the header file.

In this case the action you want is default ctrl callback WhenAction, so:
editfield <<= THISBACK(OnChange);

or
editfield.WhenAction = THISBACK(OnChange);
will work.

James

[Updated on: Tue, 01 April 2008 16:28]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Linux RectTracker problem
Next Topic: thread, virtual class and exception
Goto Forum:
  


Current Time: Sat Jul 04 09:41:19 GMT+2 2026

Total time taken to generate the page: 0.00814 seconds