Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wizard bitmap problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00444981
Message ID:
00445209
Vues:
19
>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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform