General information
Category:
Forms & Form designer
>Hi Mike,
>Thanks. I think I found the reason of why my picture on some buttons can't >shown up.
>The picture property of all buttons is =HOME()+"WIZARDS\WIZBMPS\WZXXX.BMP"
>When I run my form in VFP, the home() = "D:\VFP5\" which is my VFP's >directory, so everything works fine.
>But when I run the exe file, the home() becomes to "c:\windows\system" so >those picture's path is wrong. I still don't know why the New and Edit buttons >don't have this problem though their pictures is =HOME()>+"WIZARDS\WIZBMPS\WZXXX.BMP"
>I have searched the help file and options, can't find any hint why the home() >changed in the exe file and how can I set it to the correct path. Do you have >any hint?
You could copy them into your application directory (create a directory called "WIZARDS\WIZBMPS\ and instead of using:
HOME()>+"WIZARDS\WIZBMPS\WZXXX.BMP" ,
use
SYS(5)+ ()>+"WIZARDS\WIZBMPS\WZXXX.BMP"
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only