Activex and enumerators

Activex and enumerators

Postby Roberto Parisi » Fri Sep 29, 2006 1:55 pm

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
Roberto Parisi
 
Posts: 116
Joined: Thu Oct 13, 2005 5:14 pm
Location: Italy

Postby Antonio Linares » Fri Sep 29, 2006 4:04 pm

Roberto,

Could you please post a little sample of what you need ? thanks,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Activex and enumerators

Postby Roberto Parisi » Fri Sep 29, 2006 4:09 pm

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
Roberto Parisi
 
Posts: 116
Joined: Thu Oct 13, 2005 5:14 pm
Location: Italy

Postby Antonio Linares » Fri Sep 29, 2006 4:14 pm

Roberto,

I see what you mean, thanks :-)

taRight is a constant value that may be defined in a header file. Anyhow, you may try with 0, 1, 2, 3, etc.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Activex and enumerators

Postby Roberto Parisi » Fri Sep 29, 2006 4:18 pm

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
Roberto Parisi
 
Posts: 116
Joined: Thu Oct 13, 2005 5:14 pm
Location: Italy

Postby Antonio Linares » Fri Sep 29, 2006 4:35 pm

Roberto,

No, sorry, we don't know how to get those enumerations values yet. You may review the OCX with Microsoft OleView tool to get all its info.

What OCX are you using ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 74 guests