General information
Category:
ActiveX controls in 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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only