Ver Mensaje Individual
  #5  
Antiguo 04-10-2010
_cero_ _cero_ is offline
Miembro
 
Registrado: abr 2007
Posts: 147
Reputación: 20
_cero_ Va por buen camino
Es una lástima, aunque seguiré buscando me da que tendré que conformarme con solo sobre escribirlas así al menos no causan conflicto, pero estorban y confunden en el inspector.
Pd. Parece que hay un pequeño método con un editor de propiedades, aunque en este momento ando un poco justo en los tiempos y no profundizaré (quizás para la siguiente versión de los componentes), aun así les paso el código por si a alguien más le interesa.
Código Delphi [-]
unit HideAboutProps;

// Declare a Property-Category-Class

type
  TAboutPropCategory = class(TPropertyCategory)
    // Give it a name and a description
    // Namen und Beschreibung vergeben
    class function Name: string; override;
    class function Description: string; override;
  end;

procedure Register;

implementation

// Register this new Property Category in the Delphi-IDE

procedure Register;
begin
  RegisterPropertyInCathegory(TAboutPropCategory, 'About');
end;

// Implementation of the two class functions from above
class function TAboutPropCategory.Name: string;
begin
  Result := 'About';
end;

class function TAboutPropCategory.Description: string;
begin
  // As you want it ...
  Result := 'Gives information about the author.';

end;

// To use this new category, you only have to include this unit in a package and recompile it.
// If you want, you now can hide all properties called 'About' from being displayed
// in the object inspector.
Responder Con Cita