Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CDTextBoxMBS class

Super class: CDBoxMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class ChartDirector MBS ChartDirector Plugin 8.2 Yes Yes Yes Yes No
Function: The TextBox class represents text boxes.
Notes:
Subclass of the CDBoxMBS class.
This is a subclass of an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Super class CDBoxMBS

  • 11 methods
    • method Constructor
    • method getHeight as Integer
    • method getImageCoor(OffsetX as Integer = 0, OffsetY as Integer = 0) as string
    • method getLeftX as Integer
    • method getTopY as Integer
    • method getWidth as Integer
    • method setBackground(colorvalue as color, edgeColor as color, raisedEffect as Integer = 0)
    • method setBackground(colorvalue as Integer, edgeColor as Integer = -1, raisedEffect as Integer = 0)
    • method setPos(x as Integer, y as Integer)
    • method setRoundedCorners(r1 as Integer = 10, r2 as Integer = -1, r3 as Integer = -1, r4 as Integer = -1)
    • method setSize(w as Integer, h as Integer)

Super class CDDrawObjMBS

Sub classes:

Some methods using this class:

  • CDAngularAxisMBS.setLabels(labels() as Double, formatString as string = "") as CDTextBoxMBS
  • CDAngularAxisMBS.setLabels(labels() as string) as CDTextBoxMBS
  • CDAngularAxisMBS.setLabelStyle(font as string = "bold", fontsize as Double = 8, fontcolor as Integer = &hffff0002, fontAngle as Double = 0) as CDTextBoxMBS
  • CDAxisMBS.setLabels(labels() as Double, formatString as string = "") as CDTextBoxMBS
  • CDAxisMBS.setLabels(labels() as string) as CDTextBoxMBS
  • CDAxisMBS.setLabelStyle(font as string = "", fontsize as Double = 8, fontcolor as Integer = &hffff0002, fontAngle as Double = 0) as CDTextBoxMBS
  • CDAxisMBS.setLabelStyle(font as string, fontsize as Double, fontcolor as color, fontAngle as Double = 0) as CDTextBoxMBS
  • CDAxisMBS.setTitle(text as string, font as string = "", fontsize as Double = 8, fontcolor as Integer = &hffff0002) as CDTextBoxMBS
  • CDAxisMBS.setTitle(text as string, font as string, fontsize as Double, fontcolor as color) as CDTextBoxMBS
  • CDBaseChartMBS.addText(x as Integer, y as Integer, text as string, font as string = "", fontsize as Double = 8, fontcolor as Integer = &hffff0002, alignment as Integer = 7, angle as Double = 0, vertical as boolean=false) as CDTextBoxMBS
  • CDBaseChartMBS.addText(x as Integer, y as Integer, text as string, font as string, fontsize as Double, fontcolor as color, alignment as Integer = 7, angle as Double = 0, vertical as boolean=false) as CDTextBoxMBS
  • CDBaseChartMBS.addTitle(alignment as Integer, text as string, font as string = "", fontsize as Double = 12, fontColor as Integer = &hffff0002, bgColor as Integer = &hff000000, edgeColor as Integer = &hff000000) as CDTextBoxMBS
  • CDBaseChartMBS.addTitle(alignment as Integer, text as string, font as string, fontsize as Double, fontColor as color, bgColor as color, edgeColor as color) as CDTextBoxMBS
  • CDBaseChartMBS.addTitle(text as string, font as string = "", fontsize as Double = 12, fontColor as Integer = &hffff0002, bgColor as Integer = &hff000000, edgeColor as Integer = &hff000000) as CDTextBoxMBS
  • CDBaseChartMBS.addTitle(text as string, font as string, fontsize as Double, fontColor as color, bgColor as color, edgeColor as color) as CDTextBoxMBS
  • CDBaseMeterMBS.setLabelStyle(font as string = "", fontsize as Double = -1, fontcolor as Integer = &hffff0002, fontAngle as Double = 0) as CDTextBoxMBS
  • CDBaseMeterMBS.setLabelStyle(font as string, fontsize as Double, fontcolor as color, fontAngle as Double = 0) as CDTextBoxMBS
  • CDDataSetMBS.setDataLabelStyle(font as string = "", fontsize as Double = 8, fontcolor as Integer = 0, fontangle as Double = 0) as CDTextBoxMBS
  • CDDataSetMBS.setDataLabelStyle(font as string, fontsize as Double, fontcolor as color, fontangle as Double = 0) as CDTextBoxMBS
  • CDFinanceChartMBS.addPlotAreaTitle(alignment as Integer, text as string) as CDTextBoxMBS
  • CDLayerMBS.addCustomAggregateLabel(dataItem as Integer, label as string, font as string = "", fontSize as Double = 8, fontColor as Integer = &hffff0002, fontAngle as Double = 0) as CDTextBoxMBS

Some examples which use this class:


The items on this page are in the following plugins: MBS ChartDirector Plugin.


CDSurfaceChartMBS   -   CDThreeDChartMBS




Links
MBS Xojo Plugins