| Function Name |
dcl-PictureBox-DrawText |
| Syntax
|
(dcl-PictureBox-DrawText
<CONTROL>
(List of Lists as (StartX [as
Long]
StartY [as
Long] Color [as
Color] {BackgroundColor [as
Color]} Text [as
String] Justification [as
Integer] {Disabled [as
Boolean]}) ...)) |
| Return Type |
Boolean (T if successful; otherwise NIL) |
| Applies To |
Picture
Box |
此方法绘制从StartX,StartY开始的图片框上的一行或多行文本。 Color是文本的颜色,可选的BackgroundColor参数可以为文本指定背景颜色。 调整指定文本相对于起点的位置。 如果“禁用”为T,则文本将像禁用的控件上的文本一样显示为灰色。 所有点都在客户端坐标中指定(以像素为单位,相对于控件的左上角)。
| Justification |
Description |
| 0 |
Top left |
| 1 |
Top center |
| 2 |
Top right |
| 3 |
Bottom left |
| 4 |
Bottom center |
| 5 |
Bottom right |