CodePudding user response:
Can be programmed to determine the length of the string, and then adjust the font size, root length of the field to do judgmentCodePudding user response:
The column with the detail band Autosize Height tickCodePudding user response:
1. In the datawindow, selected fields, in the property the font size of the item, the point on the right side of the equal sign set expressions:Such as
If (len (lookupdisplay (kcid2) & lt;=20, 60, 50)
//kcid2 field is the DDDW style, so added lookupdisplay
//note that 60, 50 value debugging your own size, the equivalent of 60 font size 11
2. The height of the field can be appropriately adjust big points, such as direct edit type, please check in at the same time in the edit attribute Auto Vert Scroll
CodePudding user response:
How to implement automatic folding line of the column in a DataWindowWe are in the original concept in the process of application development, using a DataWindow, often encounter
To a column the data is too long, not all at the same time shows. If adopting automatic horizontal scroll, operating a
Easy enough to. Here is a kind of method, column multi-line data display, namely the column data automatically,
Fold line. The specific steps are as follows:
1) in the DataWindow Painter in open the DataWindow.
2) double click on to set automatic folding line column, bounce off the column properties window.
3) choose the Position TAB, selected Autosize Height checkboxes.
4) select the Edit tag, uncheck Auto Horz Scroll boxes.
5) click the OK button to save your changes.
6) some Detail Band (i.e., gray strip are written on the Detail), click the right mouse button, select the
The Properties... Menu items.
More than 7) selected Autosize Height marquee.
8), click the OK button to save the changes made.
9) save the DataWindow.
Note:
Together the Chinese characters (no punctuation or space-delimited), system will be considered to be a word, not
Fold line automatically.