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 » 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 Go to previous message
mrjt is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Enter turns WithDropChoice(LineEdit) into chaos
Next Topic: Refresh(), Paint(Draw& w), or something else nearby?
Goto Forum:
  


Current Time: Fri Jul 18 07:31:48 CEST 2025

Total time taken to generate the page: 0.04134 seconds