简体   繁体   中英

Create button events in VFP dynamically

I have a VFP form on which I create a commandbutton dynamically. How can I create a function that will respond to onclick event ? Thanks in advance .

The best way to do this is create a button class that has the code you need. Then, dynamically add your button based on that button class.

Tamar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM