Actions Example 12: Generic Search Dialog

Previous Next

This example is a variation on Actions Example 11: Window with Separate Search Dialog. In this example, you will make the search dialog more generic or abstract; making it reusable in different situations.

The search dialog of example 11 only works if the calling window is an instance of the Reservations info box class. This includes embedded Reservations boxes, and subclasses of the Reservations class.

The search dialog of example 12 will work with any calling windows that require destination and customer search conditions.

But you could go as far as making a generic query toolbar supporting any kind and number of search conditions for any base table.

See Also:

Search Dialog

Reservations Window

Reservations Child Box