Folding line display, carriage return instead of tab, hidden to grid of the form line

Source: Internet
Author: User
Tags header implement key
Show
Folding line display, carriage return instead of tab, hidden to grid of the form line



1. Implement the data column auto-folding line in the Data window (DataWindow).


PB software is popular in the market, one of the reasons is that its data window function is very strong, and easy to use.
When using DataWindow, you often encounter a column of data that is too long to display all of the cases at the same time. If the automatic horizontal rolling, it is not easy to operate. There is a way to achieve multiple rows of column data display (auto fold lines). The specific steps are as follows:
①. Open this DataWindow in DataWindow panter, double-click the mouse on the column where you want to set the auto fold line, and flick the Properties window for this column. Point position label, select AutoSize heigh multiple selection box; Then select the Edit tab, uncheck the Auto horzscroll box, and click the OK button to save the changes.
②. Dot Detail Band (that is, the detail long gray belt), click the right mouse button, select Properties ... menu item, select the AutoSize height multi-selection box, click the OK button, and save the changes.



2. Use the ENTER key in the Data window (DataWindow) to move between fields instead of the TAB key.


The basic practice is to select the Data window, define a user event, and in the pop-up User Event Definition window, associate the event ID with Pbm_dwnprocessenter, adding the following two lines to the script of the event:
Send (Handle (this), 256,9 Long (0,0)) (a message that handles the TAB key to the system)
Return 1 (Ignore the default processing that should be followed by the ENTER key)



3. Choose the Grid Data window mode to avoid the top of the table also appear in the table line.


Grid Data window can implement tabular report output, but if not controlled or processed above the header, it will appear in the table line of each data column in detail band, which we do not need. The reference method to solve the problem is:
①. You can add a text box above the header in header band, make the text box wide enough to overwrite all data columns, and adjust the vertical length to align the top of the header band.
②. In the text Box Properties ... window, the text box appears blank, and the background color (Background) of the font is set to be the same as the background color of the data window in the Font label page, and the layer (level) of the Position tab is modified to Foreound, and the OK button is clicked. We can see the effect immediately.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.