is it possibile to use string enumrators with fw activex?
I don't know how to find the correspondent numeric of a string enumerator.
Regards,
Roberto Parisi
Activex and enumerators
-
- Posts: 116
- Joined: Thu Oct 13, 2005 5:14 pm
- Location: Italy
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 116
- Joined: Thu Oct 13, 2005 5:14 pm
- Location: Italy
Activex and enumerators
oObj := TActiveX():New(...)
oObj:SetProp("Alignment", taRight)
taRight is a numeric enumerator, but I don't know what number is, how to get it?
I hope you understand my bad english.
Regards,
Roberto
oObj:SetProp("Alignment", taRight)
taRight is a numeric enumerator, but I don't know what number is, how to get it?
I hope you understand my bad english.
Regards,
Roberto
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 116
- Joined: Thu Oct 13, 2005 5:14 pm
- Location: Italy
Activex and enumerators
Many thx Antonio.
Ok... my problem is that with complex activex with tens of enumrations i don't know what number I must use. Is there a way to get a list (like an array) of enumrations? Reading many commercial activex docs I see they give for an activex the following groups:
- Properties
- Methods
- Events
- Enumrations
I get properties, methods and events lists, but I don't know how to get enumerations list.
Thx in advance,
Roberto
Ok... my problem is that with complex activex with tens of enumrations i don't know what number I must use. Is there a way to get a list (like an array) of enumrations? Reading many commercial activex docs I see they give for an activex the following groups:
- Properties
- Methods
- Events
- Enumrations
I get properties, methods and events lists, but I don't know how to get enumerations list.
Thx in advance,
Roberto
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: