On Saturday, January 24, 2004, at 04:34 AM, Bernie Wylde wrote: > My app lets the user specify control and window constant names. > > I wonder if there's a way to prevent the user from entering a > pre-defined FB^3 constant? > > Bernie Sure. Check the entry against a list of pre-defined constants and throw it out if it matches. If the list is sorted, the search can be nearly instantaneous. HTH. e-e =J= a y "