Tags:
tag this topic
create new tag
view all tags
---+ .TEXT SET BX CNR R <em>This subroutine sets the radius of the corners of the "current" </em>text box<em>.</em> <br />%TOC% ---++ Usage: <pre> PASS <top_left_radius> FIELD SHARE? N PASS <top_right_radius> FIELD SHARE? N PASS <bottom_right_radius> FIELD SHARE? N PASS <bottom_left_radius> FIELD SHARE? N GOSUB 0CD .TEXT SET BX CNR R * Check for error IF 0CD .TEXT SET BX CNR R NE </pre> ---++ Description: This subroutine sets or resets the radius of the corners on a rounded edge. You must also set the corner style to Rounded via [[CDTextSetBoxCornerType][.TEXT SET BX CNR STYLE]] for this subroutine to have any effect. The parameters are optional. If specified, they must be an unsigned integer in the range 1-999. They represent the radius of the specified corner in pixels. Any parameter that is blank will be reset to the default value of 10 pixels. The first parameter is the top left corner, the second is the top right, the third is bottom right and the fourth is bottom left. If only one parameter is passed, then all corners will be set to that value. Otherwise, the individual values are set as received. Any value not received is cleared indicating that an appropriate default should be used to render the box. You can also use [[CDTextSetBoxCornerRadiusTL][.TEXT SET BX CNR R:TL]], [[CDTextSetBoxCornerRadiusTR][.TEXT SET BX CNR R:TR]], [[CDTextSetBoxCornerRadiusBL][.TEXT SET BX CNR R:BL]] and [[CDTextSetBoxCornerRadiusBR][.TEXT SET BX CNR R:BR]] to set an individual corner radius. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2011-11-18
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2012-02-22
-
JeanNeron
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback