Information générale
Catégorie:
Contrôles ActiveX en VFP
It fails before and my problem related to the property access.
VB
XMLTreeX1.Columns("Subject").HeaderItalic = True
VFP
XMLTreeX1.Columns("Subject").HeaderItalic = .T.
It is works because "Subject" index is collection related and property without index.
But
VB
itemsObj.CaptionCell(h, "Subject") = "XMLTree/X This is a bit of text that should break the line "
VFP
itemsObj.CaptionCell(h, "Subject") = "XMLTree/X This is a bit of text that should break the line "
It fails in VFP because the property is indexed other collection. Strictly speaking, control creators should provide itemsObj.setCaptionCell(h, "Subject") method , but they didn't and which makes this control suitable only in VB . I can access itemsObj.CaptionCell(h, "Subject") in debugger which type "C" and empty "" , but I can't set a value directly.
Can anyone confirm that I am right in my assumption that such controls are not usable in VFP.
>are you sure it will accept 0 as a subscript, in VB you can force it to ( at least with arrays you can )
>
>Regards
>
>Pete Kane
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement