Now know, btn1 and btn2 click event and all kinds of attribute information, the name of the
Don't know how to send messages, make btn1, click button and click the btn2
CodePudding user response:
Certainly no such requirementCodePudding user response:
Lack of B by land, changed the software btn1 events in A point to it is not feasible,However, you can through the software B, to the execution of software A bin1 and btn2.
CodePudding user response:
B by the software, change software btn1 events in A point to it is not feasible,However, you can through the software B, to the execution of software A bin1 and btn2.
CodePudding user response:
Under discussion. Can you tell me how to use software is b perform a click?CodePudding user response:
If it is in the same programB.O nClick:=A.O nClick!
So when the code is written response at the same time,
Or in A.O nClick add
BClick (B), is the first processing is completed A and B,
If they are in class, don't understand
CodePudding user response:
Well, in the same program to realize there is no problem, the problem is to achieve through the external programCodePudding user response:
External programs, get button on the handle, call it again,CodePudding user response:
Just don't know how to get his handle (btn2 is hidden button)CodePudding user response:
Well be dizzyCodePudding user response:
Since you sure is written by Delphi program, that is very simple, the Module of a PE Explorer opens. Exe,. RSRC part find the form, this software can list the text description of the form, and Delphi IDE see, you find btn1 directly part of the definition, the OnClick=Btn1Click into Btn2Click, then save it,CodePudding user response: