General information
Category:
Forms & Form designer
Not a probelm, I shold say sorry for troubling you.
I'm trying to figure out how to control an OLE object.
How can I figure out what properties an object has so I can make use of thise properties in my application. Other than seeing an example, how would I know that I could use the properties listed below? What other properties are available that I don't know about? When I right-click on the object and look at componet properties, I don't see additem, I want to be able to change the pictures and things. I hope this helps.
example
msoutl32.ocx, Outline control.
init method
WITH THIS
.ADDITEM('System Quotes') && 0
.ADDITEM('Existing Customer') && 1
.ADDITEM('New Customer') && 2
.ADDITEM('System Reports') && 3
.ADDITEM('Cash Flow Report') && 4
.ADDITEM('On Order Report') && 5
.ADDITEM('Salesman To-Do List') && 6
.ADDITEM('Quit/Exit System') && 7
.indent(1)=2
.indent(2)=2
.indent(4)=2
.indent(5)=2
.indent(6)=2
.OBJECT.expand(0)=.T.
.OBJECT.expand(3)=.T.
* .Icon(1)="ctrusa.gif"
ENDWITH
>Hi Scott
>I realy did not understand ..
>Please can u explain me in a bit more detail ?
>
>Sorry to trouble u.
>
>
>>I've tried to use the msoutl32.ocx, how can you change the picture for each level of menu. I have looked at the properties (r-click, control properties) I cannot seem to find it. Is it only changeable from program control? If so, how can you expose the proper syntax required when working with the controls? I hope you understand what I'm asking, if not let me know and I will try to explain better.
>>
>>thank you
>>
>>Scott
Previous
Next
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