IceCold
IceCold

Reputation: 21194

I want to disable JEDI string property editor

How can I disable JEDI string property editor?

I have tried to disable these lines

  // RegisterPropertyEditor(TypeInfo(TCaption), TJvHTLabel, 'Caption', TJvHintProperty);

in jvcl\design\jvCtrlsReg.pas then I have used the JEDI installer to do a full reinstall (with "rebuild packages" option active).

No success.

Upvotes: 1

Views: 373

Answers (2)

Sertac Akyuz
Sertac Akyuz

Reputation: 54812

  • Open JvCoreDxxD.dpk in the IDE.
  • Ctrl+Enter on JvCoreReg.pas
  • Comment the below two lines in JvCoreReg.pas

    RegisterPropertyEditor(TypeInfo(string), BaseClass, 'Hint', TJvHintProperty);
    RegisterPropertyEditor(TypeInfo(TCaption), BaseClass, '', TJvHintProperty);
    

  • Install the package.

    Upvotes: 4

  • Toby Allen
    Toby Allen

    Reputation: 11211

    Assuming that these are the properties you are trying to change, I would first remove the package from delphi (which should delete all components from the pallates) then recompile and reinstall.

    Upvotes: 1

    Related Questions