Rave reports in Delphi 7 (3)
- Establish a simple report
In the front, introduce everyone to the RAVE component, and introduce you to how to establish a report from today. First of all, I would like to thank the email sent to me, encourage me to continue writing. I also checked the meaning of RAVE today.
Rave is translated into dictionary as "roaring". Rave-up noisy banquet, carnival party, we often hear the Rui Dance Party, which is RAVE PartY.
It is not too easy to chase the RAVE culture. It is not because it is not brought back, just because it covers the faculty, the foundation is too deep, so it is a bit no. From a long way, Rave has a considerable origin of the ceremonies ceremony of indigenous tribes on the continents, because these sacchays usually engenerate people through music and close drums; from near, RAVE In addition to the hippie culture and psychedelic experiments of the 60-year-old hippiece, the two generations of young people are different in addition to dressing, and many mental states and behavioral methods are actually worthy of similarity. Real contemporary RAVE sport combined with the new music and dance music originated from the UK. More than 10 years ago, RAVE first appeared in Manchester and Ibia (UK famous resort). At the end of 1987 and early 1988, two unrelated groups - Schoom and Genesis P began to organize all night in the British, the former is the host of House music, while the latter is dominated by Hardcore. At the same time, RAVE is on Germany and is very popular in Berlin and other big cities. Soon, RAVE attracted hundreds of teenagers on both English, more attracted many DJs from the United States.
Now RAVE is already the most fashionable in Europe, the United States, Japan, and even Hong Kong and Taiwan. The most Underground is a kind of teenager. The RAVE culture has been hit by high-tech brand from the beginning, from the rapid crazy avant-garde electronic dance music, new 奇 剌 激Image vision, to Sharp is dazzling, RAVE and E-Life have become a testimony of technology to young culture.
Of course, I don't know why Nevrona is called RAVE, maybe I have a certain relationship with the sharp dance, just like Java coffee.
For the university, we started to establish a simple report, open Delphi7, create a new project, open the Rave Designer under Tools, in the Rave Designer Page1, drag and drop text, we write text content in the Text property, for example, " My first report ", change the size, color, etc. of the font and the word via the font attribute. Drag and drop the MEMO component, enter a text in the Text property. You can see a multi-line text. Drag and drop the Bitmap component, select the location where the picture inserted into the FileLink property, you can see a picture in the report.
Click [Execute Report] or F9 to check the report after running.
Next, the report is stored in a visual environment, and the visual report is saved as * .rav file. So how do you call in the Delphi program? Drag and drop RvProject, Rvsystem components in Delphi, and connect the RVProject's ENGINE attribute to RVSystem1. RvProject1's ProjectFile property, choose the .rav file that we just saved just. Place a Button on Form1, add Click events, the code is as follows:
Procedure TFORM1.BUTTON1CLICK (Sender: TOBJECT);
Begin
RvProject1.execute; // or rvproject1.executeReport ('report1');
Run the program, click the button, you can see the report we want, you may notice, print settings, the form preview form is English, how to make it display Chinese will introduce, but we just The RVSystem component is placed in the form. There are three properties of TitlePreView, TitleSetup, TitleStatus. You can see the title bar of our form that you want to display after you want to display. The RVSystem component has many properties we need, set the systemprinter's orientation property to Polandscape, and the report is displayed as horizontal. Set the systemPreview's FormStatus property to WSMaximized, the message previewed forms maximizes the display.
Ok, so we finished a simple report.
(Reprint, please state the author - fish (cyq) on the highway)