I have a program that has dialogbox with 2 listboxes, 4, comboboxes,

And 6 buttons.  When the user hits a search button (a button used to

Do a sql lookup and bring data back) I want the dialogbox to be

Disabled so that the user can’t mouse click the widgets on the

Dialogbox.  I use the disable method   $D->Disable();  but that

Does not work.  I have even tried disabling each individual

Widget and that does not work.  What happens is that while

The program is searching the database, the user can click

Around the dialogbox and nothing appears to happen. But when the

Sql search procedure is done, the user sees the effect of their

Mouse clicks. Everything they did then becomes evident.

What gives??

Eric, Texas