PC SOFT

WINDEV的在线文档

  • Overview
  • Setting
  • Configuring the popup menu in an Organizer control
  • Details of options
  • "Print" option
  • Customizing the configuration window for printing the scheduler
  • "Send by email" option
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview
Each Organizer control found in a window proposes a menu to the user.

This menu, available without programming, proposes several actions:

  • Choosing the display mode of the schedule: Day, Full week, Working week, Month.
  • Displaying the elements for today.
  • Managing the appointments: Addition, deletion, modification.
  • Copying the content of the appointment.
  • Printing the organizer.
  • 18版本和更高版本
    Sending the organizer by email.
    18新版本
    Sending the organizer by email.
    Sending the organizer by email.
Note: You have the ability to add choices to this menu by programming. To do so, use ..上下文菜单.

Setting

Configuring the popup menu in an Organizer control

The popup menu of the Organizer control can be disabled. To configure the display of the popup menu associated with the Organizer control, you must:
  1. Display the description window of the Organizer control.
  2. Select the "GUI" tab.
  3. Choose the requested menu in the "Popup Menu" combo box. You can:
    • "Display the menu of AAFs (System)": In this case, the automatic menu of the Organizer control will be displayed. See Configuring the menu of AAFs for more details.
    • "Add a popup menu": If this option is checked, you will have the ability to select the custom popup menu to display.
Notes:
  • If both options are checked, the custom popup menu can be added before or after the menu of AAFs.
  • If no option is selected, no popup menu will be selected. The <Disabled> option will be displayed in the description window.
  • ..上下文菜单 can also be used to delete the popup menu specific to the AAF and to restore the standard Windows menu for a specific control.
  • By programming, 禁用应用程序自动功能 is used to delete some options from the popup menu of AAFs specific to the Organizer controls. Different constants can be used according to the option to disable:
    • 应用程序自动功能.打印日程表: used to delete the option for printing the organizer. Caution, this constant can also delete the print option proposed by the Scheduler controls.
    • 18版本和更高版本
      应用程序自动功能.电子邮件发送文件: used to delete the option for sending the organizer by email. Caution, this constant can also delete the email sending option proposed by the Scheduler controls and by the Path edit controls.
      18新版本
      应用程序自动功能.电子邮件发送文件: used to delete the option for sending the organizer by email. Caution, this constant can also delete the email sending option proposed by the Scheduler controls and by the Path edit controls.
      应用程序自动功能.电子邮件发送文件: used to delete the option for sending the organizer by email. Caution, this constant can also delete the email sending option proposed by the Scheduler controls and by the Path edit controls.

Details of options

"Print" option

The "Print" option is used to print the content of the Organizer control. A specific window is displayed, allowing you to configure the print.

This window is used to configure:

  • the orientation of the report.
  • the time interval: day, week, month, ...
  • the period to print (set of dates).
Note: Depending on the options specified for the duration per page and for the period, printing the organizer may require more than one page. For example, an organizer printing the daily schedule over a week will print 1 page per day.

The "Print" button is used to start the print.

The content of the Organizer control is viewed in the print preview.

Regardless of the selected orientation, the content of the Organizer control is entirely printed between the specified bounds.

The characteristics of the print are as follows:

  • The title of the print corresponds to the caption of the Organizer control. If no caption was specified for the Organizer control, the report displays no title.
  • The print respects the color used in the Organizer control.
  • Today's date is printed at the bottom left.
  • The number of the current page and the total number of pages are printed in the bottom right corner.
  • The printing takes into account the writing direction specified by ..输入方向 for the window and/or for the Organizer control.

Notes:

  • The "Print" option found in the popup menu of the Organizer controls requires to provide the print libraries of the WinDev framework with the executable.
  • To avoid proposing the "Print" option in the popup menu of the Organizer control, use 禁用应用程序自动功能 associated with the 应用程序自动功能.打印日程表 constant.
  • To customize the report associated with a specific Organizer control, you must create a new Organizer report based on this Organizer control. It will be automatically associated with the Organizer control and it will be printed via the "Print" option.

Customizing the configuration window for printing the scheduler

WinDev allows you to include the window for configuring the organizer print used by the AAF in your application. You will have the ability to customize:
  • the appearance of this window (modification of skin template for example),
  • the languages supported by this window. This feature is very useful when translating this window into the different languages proposed by the application.

To include the window for configuring the print in your application:

  1. Select "File .. Import .. WinDev elements and their dependencies".On the "项目" pane, in the "项目" group, expand "导入" and select "WinDev elements and their dependencies".
  2. Select the sub-directory containing the elements to import. The window for print configuration is found in the "Programs\Data\Preset windows\AAF" sub-directory of the setup directory of WinDev.
  3. WinDev lists the elements found in the directory. This directory contains the different elements corresponding to the customizable AAFs. The window to import is named "WinDevAaf_ConfigPrintingSchedulerOrganizer.wdw".
  4. Validate. The window is included in the project and it can be modified. This custom window will be automatically taken into account when running the application.
Notes:
  • The window must not be renamed.
  • If this window is included in your application, you may not benefit from the improvements made to this window during the different updates. Don't forget to check whether this window has evolved.
  • Caution: To modify this window, the corresponding file must not be read-only. Modify the characteristics of the file in Windows if necessary.
  • If you are using an Organizer control in your project, the Print AAF of the Organizer control will also use this window.

18版本和更高版本

"Send by email" option

The "Send by email" option is used to:
  • print the content of the Organizer control in an "Organizer.pdf" file.
  • create a new message in the messaging software configured by default and attach the generated "Organizer.pdf" file to this message.
The procedure for printing the organizer in the PDF file is identical to the print procedure performed via the "Print the organizer" option (see the previous paragraph).

The generated Organizer report is not viewed in the print preview but it is directly printed in a file in PDF format.

Notes:

  • The "Send by email" option found in the popup menu of the Organizer controls requires to provide the libraries of the WinDev framework for printing and generating PDF files with the executable.
  • To avoid proposing the "Send by email" option in the popup menu of the Organizer control, use 禁用应用程序自动功能 associated with the 应用程序自动功能.电子邮件发送文件 constant. Caution, this constant can also delete the email sending option proposed by the Scheduler controls and by the Path edit controls.
18新版本

"Send by email" option

The "Send by email" option is used to:
  • print the content of the Organizer control in an "Organizer.pdf" file.
  • create a new message in the messaging software configured by default and attach the generated "Organizer.pdf" file to this message.
The procedure for printing the organizer in the PDF file is identical to the print procedure performed via the "Print the organizer" option (see the previous paragraph).

The generated Organizer report is not viewed in the print preview but it is directly printed in a file in PDF format.

Notes:

  • The "Send by email" option found in the popup menu of the Organizer controls requires to provide the libraries of the WinDev framework for printing and generating PDF files with the executable.
  • To avoid proposing the "Send by email" option in the popup menu of the Organizer control, use 禁用应用程序自动功能 associated with the 应用程序自动功能.电子邮件发送文件 constant. Caution, this constant can also delete the email sending option proposed by the Scheduler controls and by the Path edit controls.

"Send by email" option

The "Send by email" option is used to:
  • print the content of the Organizer control in an "Organizer.pdf" file.
  • create a new message in the messaging software configured by default and attach the generated "Organizer.pdf" file to this message.
The procedure for printing the organizer in the PDF file is identical to the print procedure performed via the "Print the organizer" option (see the previous paragraph).

The generated Organizer report is not viewed in the print preview but it is directly printed in a file in PDF format.

Notes:

  • The "Send by email" option found in the popup menu of the Organizer controls requires to provide the libraries of the WinDev framework for printing and generating PDF files with the executable.
  • To avoid proposing the "Send by email" option in the popup menu of the Organizer control, use 禁用应用程序自动功能 associated with the 应用程序自动功能.电子邮件发送文件 constant. Caution, this constant can also delete the email sending option proposed by the Scheduler controls and by the Path edit controls.