On Fri, 5 Jan 2007 03:45:48 +0300 Sergei Gorelkin <[EMAIL PROTECTED]> wrote:
> Hello, > > The attached patch corrects the behaviour of TControl.HelpContext and > TControl.HelpKeyword handling: > > 1. When setting HelpKeyword or HelpContext properties, HelpType is > automatically set to htKeyword or htContext accordingly. This > corresponds to Delphi behavior and saves a couple of clicks in Object > Inspector. > > 2. When assigning a TControl to TAction, all three Help* properties > are copied. Before that, only HelpContext was copied, and only when > assigning TWinControl. > > 3. The same is true for TControl.ActionChange. > > 4. TWinControlActionLink is nuked altogether. It was needed in early > versions of Delphi, where HelpContext was a property of TWinControl. > Moving HelpContext to TControl (that happened in Delphi 6, I believe) > obsoleted the need it TWinControlActionLink, and Borland should have > it removed, but they didn't. > Of course, all TWinControlActionLink functionality is moved to > TControlActionLink, and declaration remains in place (aliased to > TControlActionLink), so existing code should not be broken. Thanks. Applied. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives