On Tue, Mar 19, 2013 at 07:56:34PM -0600, jorge ivan poot diaz wrote: > hello, > > I understand that: > 155 aBtnAdd.SetClickHdl( LINK( this, SvxColorTabPage, ClickAddHdl_Impl ) > ); > > Generates the window to register a new color: > 465 IMPL_LINK( SvxColorTabPage, ClickAddHdl_Impl, void *, EMPTYARG ) > > I want to make: that the new color added > -- The user does not enter the color name, the system automatically do this
Well, you could generate a random unique name, simply change the logic in the code, and do not prompt the user when the name is missing or the name is already in use. By the way, are you doing this just to get used to the code? I doubt this will make it into the source code without discussing the user experience implications. Regards -- Ariel Constenla-Haile La Plata, Argentina
pgpEp7WZEOfMx.pgp
Description: PGP signature