Hi Boki,
this is my first try using NextInspector and I run into several problems. Most urgent: is it possible to register some kind of property editor to edit complex types such as TStrings e.g.?
Thank you in advance.
Posted 19 May 2016 - 10:16 AM
Hi Boki,
this is my first try using NextInspector and I run into several problems. Most urgent: is it possible to register some kind of property editor to edit complex types such as TStrings e.g.?
Thank you in advance.
Posted 19 May 2016 - 03:46 PM
NextInspector61.EndEditing; NextInspector61.SelectedNode.AsString := MyDialogForEditingStrings.MyMemoControl.StringsText;or if Inspector is still in edit mode, you can access to the InplaceEdit property:
if NextInspector61.EditingNode <> nil then begin NextInspector61.InplaceEdit.Text := s; end;Hope that this helps.
Posted 19 May 2016 - 05:56 PM
Thank you for your quick reply. Unfortunately there is no EndEditing in my version (the current one, I guess, downloaded yesterday), but a protected method named EndEdit. I already wrote a small cracker class to avoid changing your original source (for assigning text to value when the return-key is pressed). What I would like to get is displaying a different text than the underlying value in case of comlex types (like Delphi's object inspector does), so that e.g. the text "TStrings" is displayed and value contains the text itself.
Anyway, I will try your suggested way.
Posted 19 May 2016 - 07:27 PM
Posted 19 May 2016 - 07:39 PM
Ah, I installed v6 but didn' t know what this event is for. I will try tomorrow, thank you.
Posted 19 May 2016 - 09:22 PM
0 members, 2 guests, 0 anonymous users