Mon appli en cours d'écriture comporte actuellement 43 fichiers : Le .vbp et
le .vbw, 5 modules .bas, 27 .frm et 9 .frx
Je me suis demandé QUAND VB crée des fichiers binaires .frx. Il semble
qu'il le fait si une feuille contient :
- ImageList + ToolBar
- ou RichTextBox
- ou ListBox
et qu'il n'en crée pas en présence de animation, CommonDialog, frame,
OptionButton, CheckBox, MSFlexGrid, DHTMLEdit et WebBrowser.
Par contre je ne sais quoi penser de PictureBox car ma feuille 'couleur' qui
en porte une n'a pas de .frx, alors que ma feuille 'mymsg' qui porte
seulement 2 CommandButtons + 1 Label + 1 PictureBox a une .frx : Peut-être
est-ce parceque j'ai affecté un fichier image à sa PictureBox, alors que je
code l'image que 'couleur' affiche dans sa PictureBox ?
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
jmn
Extrait de la doc VB 6 :
Binary Property Values Some controls have properties that have binary data as their values, such as the Picture property of picture box and image controls or certain properties of custom controls. Visual Basic saves all binary data for a form in a binary data file separate from the form.
Visual Basic saves the binary data file in the same directory as the form. The binary data file has the same file name as the form, but it has an .frx filename extension. Visual Basic reads the binary data file when loading the form. The binary data file (.frx) must be available to the form when Visual Basic loads it. If you share forms with others that use a binary data file, be sure to provide the binary data file (.frx) as well as the form (.frm).
Properties having binary data as their values appear in the form as a reference to a byte offset in the binary data file. For example, the value of a Picture property appears like this in a form description:
Begin VB.Image imgDemo Picture = "Myform.frx":02EB End
The property listing means that the binary data that defines the Picture property of this control begins at byte 2EB (hex) in the file Myform.frx.
Extrait de la doc VB 6 :
Binary Property Values
Some controls have properties that have binary data as their values, such as
the Picture property of picture box and image controls or certain properties
of custom controls. Visual Basic saves all binary data for a form in a
binary data file separate from the form.
Visual Basic saves the binary data file in the same directory as the form.
The binary data file has the same file name as the form, but it has an .frx
filename extension. Visual Basic reads the binary data file when loading the
form. The binary data file (.frx) must be available to the form when Visual
Basic loads it. If you share forms with others that use a binary data file,
be sure to provide the binary data file (.frx) as well as the form (.frm).
Properties having binary data as their values appear in the form as a
reference to a byte offset in the binary data file. For example, the value
of a Picture property appears like this in a form description:
Begin VB.Image imgDemo
Picture = "Myform.frx":02EB
End
The property listing means that the binary data that defines the Picture
property of this control begins at byte 2EB (hex) in the file Myform.frx.
Binary Property Values Some controls have properties that have binary data as their values, such as the Picture property of picture box and image controls or certain properties of custom controls. Visual Basic saves all binary data for a form in a binary data file separate from the form.
Visual Basic saves the binary data file in the same directory as the form. The binary data file has the same file name as the form, but it has an .frx filename extension. Visual Basic reads the binary data file when loading the form. The binary data file (.frx) must be available to the form when Visual Basic loads it. If you share forms with others that use a binary data file, be sure to provide the binary data file (.frx) as well as the form (.frm).
Properties having binary data as their values appear in the form as a reference to a byte offset in the binary data file. For example, the value of a Picture property appears like this in a form description:
Begin VB.Image imgDemo Picture = "Myform.frx":02EB End
The property listing means that the binary data that defines the Picture property of this control begins at byte 2EB (hex) in the file Myform.frx.
Yves Boyer
Merci de cet extrait. <Some controls have properties that have binary data as their values, such as the Picture property of picture box and image controls ...> donc essentiellement (mais pas seulement) les PictureBox, Image, ImageList.
Yves Boyer
Merci de cet extrait.
<Some controls have properties that have binary data as their values, such
as
the Picture property of picture box and image controls ...> donc
essentiellement (mais pas seulement) les PictureBox, Image, ImageList.
Merci de cet extrait. <Some controls have properties that have binary data as their values, such as the Picture property of picture box and image controls ...> donc essentiellement (mais pas seulement) les PictureBox, Image, ImageList.