delphi运行程序 时如何先调用一次事件 。比如 我有一个生成验证码按钮,运行时只有单击按钮才会出现验证码,如何在单击前 先调用一次这个button按钮生成一个验证
比如你的按钮是Button1procedure TForm1.Button1Click(Sender: TObject)
那么 self.Button1Click(nil);