Add the title of Chinese to the error prompt box

zhaozj2021-02-08  214

To the error message box, the title of Chinese is in the data window, and PowerBuilder provides a powerful data verification, allowing you to check the data without writing additional code in the program. However, the uncomfortable in the United States is if you use the data window to lack the wrong message on your life, its title is always "DataWindow Error". This brings great inconvenience to Chinese users. Is there a way to change the title to Chinese? Yes, that is, modify the properties of the data window. The method is as follows: Before the data window operation, the following code is written in the window Open event (assuming your data window control name is dw_1): dw_1.object.dataWindow.Message.title = "Error Tip" This, you have The title of Chinese.

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

New Post(0)