Wednesday, 1 March 2023

VFP how to create image button | VFP Image Command Button | Image on command button


Image on Command Button in Visual Foxpro 9 - VFP9| Image Button in Visual Foxpro 9 - VFP9



Double Click on Form goto Init


thisform.btnDelete.Picture = CURDIR()+"\DELETE.BMP"


Advantage of using CURDIR() is while vfp application run it will take current path automatically.


Don't use Picture property directly of command button. This recorded as hardcoded path in form.



Thank You








No comments:

Post a Comment

Please, Write your valuable comments..