Board index » cppbuilder » Re: avoid extra onclick event on runtime update of components
Remy Lebeau (TeamB)
CBuilder Developer |
Re: avoid extra onclick event on runtime update of components2006-05-03 01:44:31 AM cppbuilder48 "Dre" < XXXX@XXXXX.COM >wrote in message QuoteClicksDisabled is available only for (descendants of) TButton. Quote- changing the ClicksDisabled property actualy calls some functions Quoteand this might be more overhead than simply copying/assigning a pointer? event handler, you are not assigning just 1 pointer. You are actually setting 2 pointers simultaneously - the pointer to the method code for the event handler to execute, and a pointer to the object that will be the method's 'this' pointer. Gambit |