Now in PM (Text_SetStyle params: L,R,C and T,B,C)

Questions about MultiCharts and user contributed studies.
bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Now in PM (Text_SetStyle params: L,R,C and T,B,C)

Postby bowlesj3 » 01 Sep 2010

Value1 = Text_SetStyle(CT_ID[X], 2, 2);

It is too bad this function does not have letter code input where the 2,2 is.

R,L,C and A,B,C. Pretty obvious. No need to explain it. I would not need to keep looking up the help if it was this way.
Last edited by bowlesj3 on 18 Jun 2011, edited 1 time in total.

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Re: Text_SetStyle idea

Postby Dave Masalov » 03 Sep 2010

Dear bowlesj3,

It is a good idea indeed. We will consider its implementation in the future versions.

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Text_SetStyle idea

Postby bowlesj3 » 03 Sep 2010

Sounds good Dave. You could probably make the change fairly easily or have a variation on it such as Text_SetStyle_ex maybe. The only minor negative is I assume the params would need quotes: "R", "A" standing for Right and Above. However it is a lot easier to put the quotes on than have to look up the help for each new implementation of the command. It is also handy to be able to just look at existing code and see what it is doing without having to look it up in the help.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Text_SetStyle idea

Postby TJ » 03 Sep 2010

Great idea bowlesj3.
This would definitely save me a lot of look up time.

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Text_SetStyle idea

Postby bowlesj3 » 18 Jun 2011

The idea is submitted for any who liked it before.
https://www.multicharts.com/pm/viewissu ... _no=MC-435


Return to “MultiCharts”