TPersistent.com – Have you ever wished that when you double clicked an event handler that the method generated by the IDE had some comments regarding the arguments passed so you didn’t have to consult the third party vendor’s help? What about a simple TAction.OnUpdate handler, have you ever wondered why Delphi doesn’t inject the following code? (Sender as TAction).Enabled := ^ or since it knows the component whose handler it’s creating (in this case let’s assume it’s named actTakeAction): actTakeAction.Enabled := ^ BTW, the ^ would be the position were the cursor would be ...
Visits by Source
Users who voted for this posting