Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Using InstallKeyHook
Re: Using InstallKeyHook [message #10389 is a reply to message #10384] |
Thu, 05 July 2007 11:39  |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
Something like this?
In window contructor
editVendData <<= THISBACK(SyncFields); // Sets WhenAction callback
Sync function:
SyncFields()
{
if (editVendData.GetLength())
// Disable length field and set data to length of data field
editVendLength.Enable(false) <<= editVendData.GetLength();
else
editVendLength.Enable(true);
}
James
[Updated on: Thu, 05 July 2007 11:39] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Jul 18 07:31:48 CEST 2025
Total time taken to generate the page: 0.04134 seconds
|