Progress
ADM 2 Guide


SmartFilter Usage Notes

This section discusses special programming considerations for using SmartFilters.

Filter Link as Pass-through Link

The Filter link that connects a SmartFilter and its data source can be implemented as a pass-through link. This allows you to create a SmartFilter in a separate SmartWindow and wait to link it to the Filter-target until you drop the SmartFilter’s SmartWindow into the Filter-target’s SmartWindow.

You can start a SmartFilter that is in a separate SmartWindow from a SmartToolbar. Follow these general steps to do this:

  1. Create a SmartFilter in a separate SmartWindow, specifying all necessary instance properties, and link it temporarily as a Filter-source to THIS–PROCEDURE (the SmartWindow).
  2. Drop this SmartWindow in a SmartWindow with a potential filter—a SmartDataObject that matches the SmartFilter—and answer Yes to the Link Advisor’s prompt about adding the Filter link to the SmartDataObject.
  3. Optionally, specify HideOnInit and DisableOnInit in the SmartWindow’s instance properties dialog box and start the main SmartWindow.
  4. Check the Filter check box in the SmartToolbar’s Instance Property dialog box.

The SmartToolbar can now view and start the SmartFilter’s SmartWindow.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095