I have an OLE object (PdfCreator, a pdf printer driver for windows)
that among other methods has the followings:

Public Property Get cOption(ByVal PropertyName As String) As Variant
Public Property Let cOption(ByVal PropertyName As String, ByVal Value
As Variant)

Public Property Get cVisible() As Boolean
Public Property Let cVisible(ByVal Value As Boolean)


My xHarbour code was:
object:cVisible( .T.) and in Harbour object:cVisible := .T.

In Harbour I can:
? object:cOption("property") and have the correct value
but I don't know how to set that value !

object:cOption("property") := .T.
is not accepted by the compiler,
object:cOption("property", .T.) is a run-time error....

Is there another way to set this value ? It may also be a problem of
the OLE object, since I
oAS:Cells( 7, 1 ):Value := "Timestamp:"
but this has the :Value part..... and the compiler accepts it....


Thanks,
Francesco
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to