MBS Xojo Developer Conference and Training
Join us from 11th to 14th September 2013 in Koblenz.
Join us from 11th to 14th September 2013 in Koblenz.
Platforms to show: All Mac Windows Linux Cross-Platform
CDTextBoxMBS class
Super class: CDBoxMBS
class, ChartDirector,
MBS Real Studio ChartDirector Plugin
(ChartDirector5),
class CDTextBoxMBS,
Plugin version: 8.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: The TextBox class represents text boxes.
Notes: Subclass of the CDBoxMBS class.
Plugin version: 8.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: The TextBox class represents text boxes.
Notes: Subclass of the CDBoxMBS class.
- method setAlignment(a as integer)
- method setFontAngle(angle as double, vertical as boolean=false)
- method setFontColor(colorvalue as color)
- method setFontColor(colorvalue as integer)
- method setFontSize(fontHeight as double, fontWidth as double = 0)
- method setFontStyle(font as string, fontIndex as integer = 0)
- method setHeight(height as integer)
- method setMargin(leftMargin as integer, rightMargin as integer, topMargin as integer, bottomMargin as integer)
- method setMargin(m as integer)
- method setMaxWidth(width as integer)
- method setText(text as string)
- method setTruncate(maxWidth as integer, maxLines as integer = 1)
- method setWidth(width as integer)
Super class CDBoxMBS
- 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
- method paint(d as CDDrawAreaMBS)
- method setZOrder(z as integer)
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:
- /ChartDirector/binaryseries
- /ChartDirector/chains and bars
- /ChartDirector/ChartDirector Control
- /ChartDirector/ChartDirector Control for Web
- /ChartDirector/colorbar
- /ChartDirector/compactline
- /ChartDirector/concentric
- /ChartDirector/confidenceband
- /ChartDirector/datatable
- /ChartDirector/datatable2
- /ChartDirector/depthbar
- /ChartDirector/discontline
- /ChartDirector/donut
- /ChartDirector/dualhbar
- /ChartDirector/explodedpie
- /ChartDirector/fontpie
- /ChartDirector/fontxy
- /ChartDirector/gradientbar
- /ChartDirector/hbar
- /ChartDirector/High Resolution Chart Examples/legendpie2
- /ChartDirector/High Resolution Chart Examples/linefill
The items on this page are in the following plugins: MBS Real Studio ChartDirector Plugin.
Links
Bilder aus Nickenich