Custom Delphi 2005 Welcome Page
At Delphi 8, Delphi's Welcome Page was referred to as a chicken rib. Now D2005, Borland has made great improvements to this chicken rib. As BORLAND's BDN continues to grow, it is believed that Welcome Page will continue to abundantly.
Here, we can also pass our own modifications, from defining personalized D2005 Welcome Page.
The D2005 Welcome Page is exported to the Welcome Page folder under the installation directory, and we modified the XML file under the XML folder.
1. Add your own link We can add your favorite links to Memubar on the left of Welcome Page. The method is to modify the MenuBar.xml file, open the file in the Delphi IDE or other editing tool. It can be found that the structure of this XML file content is very simple:
Each Group block represents a link group that appears in menubar, the title name is a group name, and there are multiple items Item, the Title representative item in the group, and the link is the link of this item. URL. We can add your own group in the file or modify or replace existing Group. If we can add the following group:
2, add the ComboBox content Welcome Page has a drop-down list box, let us choose the content of jump. The content of this ComboBox is all from the DefaultProviders.xml file, opens the file, go to the end of the file, we can find that Borland has been commented in the last two paragraphs, respectively, Dei LOPER SITES and BORLAND BLOGS.
We can cancel the annotations of these two parts to make them displayed in ComboBox, of course, other contents of the file can be modified.
3, change the RSS entry limit
Welcome page The default RSS entry is 10, we can rational this limit number. There is a JS folder in the Welcome Page directory, there is a file: rss.js, also open it, find the following:
// limited to 10 Entries Displayed On Welcome Page
IF (MaxItems> 10)
We only need to modify the "10" number. After modifying the file above, you can see the modified content in the Delphi 2005 IDE.