Information générale
Catégorie:
Contrôles ActiveX en VFP
Two things to check:
- If Blocking is indeed an object, it could work in VB with that syntax if the object has a default property. If you can find it in the docs just add .Blocking.Defaultproperty = .f. (usual names are .Value or .Item)
- If Blocking is a method, (not likely if the VB syntax works) you might have to call it with .Blocking(.F.)
>Nothing helps... Need to change control then... Anyone knows a good activex control to VFP?
>
>/Mårten
>
>>Hi!
>>
>>Does it help without using "Object"?
>>If event with similar name is called with parameter that represents a value of that property whe it is just changed, you just can store it in your own property from that event. For assigning - try to use "STORE" command. There was a similar problem.
>>
>>I already added a record to the VFP8 wishes list to solve this problem...
>>
>>
>>
>>>That's how I do it, and I get the error message...
>>>
>>>>Hi!
>>>>
>>>>Use
>>>>...Object.Blocking = .F.
>>>>
>>>>>I try to use Catalyst SocketWrench, which is a socket activex control but I have runned into a small problem. The control has both a property and an event that is called Blocking.
>>>>>
>>>>>When I try to set the property Blocking = .F. I get the following error message: Blocking is a method, event, or object.
>>>>>
>>>>>How do I solve this issue? Visual Basic seems to have no problem with it properties and events having the same name, does VFP handle things like this in it's own way? I need to be able to access both the property and event...
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