Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I stop the Class designer from using full file pa
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00392467
Message ID:
00392536
Vues:
8
>Hi
>
>When I attached a bimap to a command button the class designer always inserts the full path name including the drive. This does not make the code very portable. Even if I enter Bmp\MyBitmap.bmp I find that it later changes the entry to "MyDrive:\MyFolder\Bmp\MyBitmap.Bmp". How can I ensure that only relative paths are used?
>
>Thanks
>Simon White

Simon, put

="MyBitmap.Bmp"

into .Picture property and it will take care of that.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform