Subj : ToolButton->Name To : borland.public.cpp.borlandcpp From : sa Date : Fri Feb 04 2005 06:51 am Hi, isn't long time that i'm using borland c++ so maybe that question could sound dummy for someone.. So well.. my trouble is that i'm not able to pass the name of a ToolButton object to a function..the type of ToolButton->Name is const AnsiString, but functions accepts pointers types. I tried to use cast command but nothing.. tried too something like this: AnsiString* myString = &ToolButton->Name; but i have trouble in the function that isn't saw like member of my class.. I'm bit confused..can someone explain to me how it work? Thank you very much to all .