>I found trayico.ocx control in
www.activex.com and try to use it but i have experianced problems: icons apears on tray but when i move mouse over it disapear and must isue hideicon() and showicon(). Even so it disapear again when i put mouse over icon. What happens?
>
>Thanks.
The problem might be in the event processing (VFP vs. the activeX control) and where you have placed your code. In VFP, the olecontainer control (which acts as a container for ActiveX controls) has its own set of properties and methods. Some of these may be the same names as methods and properties in the ActiveX control. If the ActiveX control isn't behaving properly, look at the following from VFP's help. You might need to use the object property:
Object Property
Provides access to the OLE server properties and methods for an OLE object. Not available at design time. Depending on the OLE server, the properties for the OLE object may be read-only or read-write at run time.
Syntax
OLEObject.Object[.Property] [= eValue]
– Or –
OLEObject.Object[.Method]
Settings
Property Specifies a property the OLE server supports for the OLE object.
eValue Specifies a value for a property the OLE server supports for the OLE object.
Method Specifies a method the OLE server supports for the OLE object
Remarks
For information about the properties and methods supported by the OLE server, see the documentation for the OLE enabled application that created the object. For example, if the OLE object is a Microsoft Excel worksheet, see the Excel documentation for the properties and methods supported by Excel (an OLE enabled application).
Ryan Hirschey