language neutral GanttBarStyleEdit

I

isuoc75

Hi,

I need to have a language neutral GanttBarStyleEdit to be able to run
a macro with both English and French MSP2007.

GanttBarStyleEdit Item:=-1, Create:=True, Name:="Task Progress",
ShowFor:="Normal", Row:=1, _
StartShape:=pjNoBarEndShape, StartType:=pjSolid, StartColor:=pjBlack,
_
MiddleShape:=pjRectangleBar, MiddlePattern:=pjSolidFillPattern,
MiddleColor:=pjBlack, _
EndShape:=pjNoBarEndShape, EndType:=pjSolid, EndColor:=pjBlack, _
From:=FieldConstantToFieldName(pjTaskActualStart),
To:="CompleteThrough", leftText:="", rightText:=""

How do I replace both <ShowFor:="Normal"> and <To:="CompleteThrough">
with language neutral constants ?

Thank you in advance
 
L

Lars Hammarberg

There are (unfortunately) no language neutral constants for the
GanttBarStyleEdit parameters, nor for filters for that matter!
I've used code checking the Application.LocaleID and hardcoded the various
texts for the languages my add-in/application supported.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

GanttBarFormat 5

Top