Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why do some properties values get passed down and not ot
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00184175
Message ID:
00184625
Vues:
18
>>Dave,
>>I think that the icon information is stored as a relative path (despite its looking like a full path). Is it possible that your class library is in a different folder from the subclassed form? If VFP can't find an icon or a bmp file it just ignores it and moves on, no error message.
>>
>>>I set the icon property in a form class I created. But for some reason the value in this does not get passed down to subclasses from this form class. The forms (SCXs) that are created from this form class also do not get this icon property value either? Any idea why this particular property value would not get passed down? Thanks in advance.
>
>Dave,
>
> Like Barbara said the property value gets erased if it can't find the file. I usually keep all my graphics related to a particular project in a dir off the project's directory. After I compile the project I can distribute it without the graphics files. Or, in the case of a form used in a common framework, I leave the icon and caption off the form until it is used in a project.

One further note: Unlike forms and PRGs, the Project Manager will not pull in an ICO or BMP file automatically. If you do not plan to distribute them separately, you must add them to the 'Other' tab individually.
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform