> Ideally Christan would do that for the entire product…

Changing a lot would break a lot of code.
So I do only little changes.

> I am getting a compile errors where i don’t think there should be any due to 
> that. Here is an example
> 
works here:

  dim p as new CDPieChartMBS(300, 300)
  
  dim colors() as Int32
  dim angle as double = 90
  dim scale as double = 1.0
  dim startX as Int32 = 0
  dim startY as Int32 = 0
  
  dim c as integer = p.gradientColor(Colors, angle,Scale,StartX, StartY)
  Break

same with default parameters:

  dim c as integer = p.gradientColor(Colors)
  
Xojo sometimes complains when you pass an integer for double that it can't find 
the method.

> Obviously  I am calling these methods as if they were Shared methods on 
> CDBaseChartMBS.dashLineColor.

It's an instance method. The class keeps a table for mapping from color code to 
the internal objects.

> The docs don’t say if a method is an instance method or shared method on the 
> class…  and the error does not say it is in these cases


> I’m getting specific messages that the following are instances when I don’t 
> think they should be:
> CDBaseChartMBS.halfColor

This one works fine:

  dim p as new CDPieChartMBS(300, 300)
  dim c as integer = p.halfColor(&hCCCCCC)
  Break

> Christian would it be possible for you to start moving methods that don’t 
> need to be instance methods on the CD classes to Shared Methods?

I already did that where possible.


PS: Please download 16.2 plugins soon.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to