FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Activex and enumerators
Posts: 116
Joined: Thu Oct 13, 2005 05:14 PM
Activex and enumerators
Posted: Fri Sep 29, 2006 01: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Activex and enumerators
Posted: Fri Sep 29, 2006 04:04 PM

Roberto,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 116
Joined: Thu Oct 13, 2005 05:14 PM
Activex and enumerators
Posted: Fri Sep 29, 2006 04: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Activex and enumerators
Posted: Fri Sep 29, 2006 04: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
Posts: 116
Joined: Thu Oct 13, 2005 05:14 PM
Activex and enumerators
Posted: Fri Sep 29, 2006 04: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Activex and enumerators
Posted: Fri Sep 29, 2006 04: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

Continue the discussion