In the development of the PowerBuilder application, when using DataWindow, we often encounter a certain column of data too long and cannot be displayed at the same time. If the automatic level is scrolling, it is not easy to operate enough. Here, a method is introduced. Implement multi-line display, that is, the automatic folding of column data is realized. The specific steps are as follows:
1) Open this dataWindow.2 in the DataWindow Painter) Double-click the mouse on the column that needs to be set, bounce back this column. 3) Select the Position Tag,
Choose
AutoSize Height Multi-Selection Box. 4) Select the Edit label.
Unchecked
Auto Horz Scroll Multi-Selection Box. 5) Click the OK button to save the modified modification. 6) Detail Band (ie, write a gray long belt with Detail), right-click, select the Properties ... menu item. 7)
Choose
AutoSize Height Multi-Selection Box. 8) Click the OK button to save the modified modification .9) Save this DataWindow.
Note: Connect the Chinese characters (there is no punctuation or space separation in the middle), the system will consider a word without automatic folding.