D DancingAgain Unregistered / Unconfirmed GUEST, unregistred user! 1999-07-19 #2 You can code like this if(ColorDialog->Execute()) Shape1->Brush->Color = ColorDialog1->Color; 即可