Katalogerna
PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


phGantTimePackage FAQ 10509


How can I access to phGantXControl enums like TxTimeStyle in VC++? Please note that this article refers to the phGantTimePackage
Jump to article- 2006-03-31 12:48:00 - Email plexityHide

Question

How can I access to phGantXControl enums like TxTimeStyle in VC++?

I want to set the style of a GantTime, but I can't write in my code

time->SetStyle(tsPipe);

I can only write something like this:

time->SetStyle(8);

Thanks

Answer

This really depends on how you imported the type library, but if all is somewhat standard you should find the enum definition TxTimeStyle in the created h file.

So then you would go

time->SetStyle(TxTimeStyle.tsPipe);

 

Google
WWW plexityHide phGantTimePackage FAQ
Support

Support intro

Knowledgebase

FAQ phGantTimePackage

FAQ GTP.NET

FAQ general

Testimonials

"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%"
Gaurav Patole,
WebTechDevelopers
More testimonials...