Use Notepad to view the DataWindow data dw_1.saves ("c: /sample.txt", text !, true) run ("NOTEPAD.EXE C: /SAMPLE.TXT", Maximized!) You can place this code in DoubleClicked ( Double click on the Mouse to implement fast data conversion
In the program specified colors, the RGB function is typically tried, and the R, G, and B values are input, respectively. The RGB function returns the color value (long). If you specify the value corresponding to the color directly in the program, you can speed up the running speed of the program. Especially when the single-double line shows that different colors are frequently called the RGB function, the effect is better.
The following table is some common colors
Color Red Green Blue Value Black Black 0 0 0 White White 255 255 255 16777215 Gray Gray 192 192 192 12632256 Dark Grey 128 128 128 8421504 Red Red 255 0 0 255 Dark Red Dark Red 128 0 0 128 Green Green 0 255 0 65280 Deep Green Dark Green 0 128 0 32768 Blue Blue 0 0 255 16711680 Deep Blue Dark Blue 0 0 128 8386608 Purple Red Dark Magenta 128 0 128 8388736 Purple Cyan 0 255 255 16776960 Deep Purple Dark Cyan 0 128 128 8421376 Yellow Yellow 255 255 0 65535 Brown Brown 128 128 0 32896 Special Colors Button Face 79741120 Text 33554432 Background 1090519039 App. Workspace 276856960
RGB function calculation formula: color value = (65536 * blue) (256 * Green) (Red)
There is a gadget colorpad that captures the color of any point of the screen, and you can color. As long as the square colors in the middle of the program window, click the left mouse button and press and hold for about 1 second, you can see the mouse pointer into a cross shape, you can continue to hold down the mouse and drag the pointer to you. On the colors like (or need), the color of the color appears in the lower part of the window. You can also adjust the left and right buttons of the six-digit code (unfortunately 16). At the same time, it can also be adjusted separately to the three colors of red, green, and blue. Each value ranges from 000 to 255. The RGB value captured by ColorPad is combined with the calculation formula. It is very convenient to specify the color in the program.