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 |
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
|
|
|
Goto Forum:
Current Time: Sun Jun 09 00:41:56 CEST 2024
Total time taken to generate the page: 0.01431 seconds
|