-
You can do it more closely to .NET style
PropAttrib = class(TCustomAttribute)
public
FDispName: string;
FCategory: string;
constructor Create(const ADispName, ACategory: string);
end;TClass1 = class(TPersistent)
private
FProp1: integer;
FProp2: TDateTime;
FProp3: double;
FProp4: string;
published
[PropAttrib('My Prop 1', 'Serge')]
property Prop1: integer read FProp1 write FProp1;
[Category('Second Prop', 'Serge')]
property Prop2: TDateTime read FProp2 write FProp2;
[Category('My Double Property', 'Konstantin')]
property Prop3: double read FProp3 write FProp3;
[Category('String Prop 2', 'Konstantin')]
property Prop4: string read FProp4 write FProp4;
end; -
Sir.
When do you planning release this issue? I still use your original cxRTTIInspector and have to correct next source manually with every new build (what would be if I purchased VerticalGrid WITHOUT source?)
procedure TcxCustomRTTIInspector.RefreshInspectedProperties;
....
for I:=AIndex downto 0 do if Rows[I] is TcxCategoryRow then Dec(AIndex);//added!!!!!!!!!!!!!!!!function TcxCustomRTTIInspector.GetPropertyEditor: TcxPropertyEditor;
begin
if (FocusedRow <> nil) and (FocusedRow is TcxPropertyRow) then//added!!!!!!!!!!!!!!!!Before I purchased your product I asked about Category functionality and get a positive answer(excellent, fantastic, it can do all). But in fact this is not true. Besides, after all corrections, the product still works not properly - if in pre-last category I try to change last property then the cursor goes to top.
Sincerely,
Konstantin Peskovsky -
Hello Konstantin.
We are still considering this issue. I cannot guarantee that it will be implemented soon. In the meantime, all our resources are concentrated on implementing improvements declared in our VCL Roadmap.
I assure you that we will consider implementing this feature in the next release planning scope. I will trace it myself.
Thank you for your patience and understanding.Best regards,
Ingvar.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+