Folding display, enter the car instead of Tab, hidden the Grid's form line

xiaoxiao2021-03-06  38

Folding display, enter the car instead of Tab, hidden the Grid's form line

1. Implement the data column automatic folding in the Data Window (DataWindow).

One of the reasons why PB software is welcomed in the market is that its data window is very functional, and it is easy to apply. When using DataWindow, the data that is often encountered is too long, and all situations cannot be displayed at the same time. If the automatic horizontal scroll is used, it is not easy to operate. There is a way to realize multi-line display (automatic folding). The specific steps are as follows: 1. This dataWindow is opened in the DataWindow Panter, double-click the mouse on the column that needs to be set, and pops up the attribute window. Point Position Tags, select the AutoSize Heigh Multiper; select the Edit label, do not select the Auto Horzscroll multi-select box; click the OK button to save the modifications. 2. Detail Band (ie, write a gray long belt with Detail), right-click, select the Properties ... menu item, select the AutoSize Height Multiper box, click the OK button, save your modifications.

2. In the data window (DataWindow), use the Enter key to move between the fields.

Its basic practice is: select the data window, define a user event, in the pop-up user event definition window, associate the Event ID with the PBM_DWnProcessenter, add the following two line statements in the script: send (Handle (this) 256, 9 long (0)) (messages to the system to process the TAB key) Return 1 (ignore the default processing of the Enter)

3. Select the GRID data window mode to avoid the form line above the header.

You can implement a table format report output with a GRID data window, but do not control or handle it above the header, which will appear on the table lines of each data column in Detail Band, which is not required. The reference method for solving the problem is: 1. You can add a text box above the header Band, so that the text box is wide enough and can overwrite all the data columns, and adjust the vertical length to the top of the header Band. Qi. 2. In the Properties ... window of the text box, clear the display content of the text box is empty, set the background color of the font to the background color of the data window in the Position of the Position of the Font Tab. The Layer is modified to Foreou in the tab, and you can see the effect immediately.

转载请注明原文地址:https://www.9cbs.com/read-63413.html

New Post(0)