Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Suivant
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