[SOLVED] CheckBox Editor in TValueListEditor not displayed. lazarus / 31-LCL ---------------------------------------------------------------------- EganSolo · 2021-02-14 08:54 I'm trying to use a check box to edit a cell of TListValueEditor when that cell contains one of the two strings TRUE, FALSE. In the code below VLE is an instance of TValueListEditor. Instances of [TProperty] are stored in the Objects of VLE. If FieldKind is fk_Boolean then I want to use a checkbox (of type TCheckBox) to edit that field. While debugging I can step through the code of the event handler, so it is executed, but the checkbox does not show up. The VLE still shows the simple editor with 'FALSE'. Here's the code of VLESelectEditor Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Procedure TMyForm.VLESelectEditor(Sender: TObject; aCol, aRow: Integer; Var Editor: TWinControl);var aProperty : TProperty;Begin  aProperty := ValueListEditor1.Objects[NameColIdx,aRow] as TProperty;  If aProperty.FieldKind = fk_Boolean  then begin    With CheckBoxEditor Do    begin      Parent     := VLE;      Caption    := '';      Checked    := StrToBool(VLE.Cells[aCol,aRow]);      BoundsRect := VLE.CellRect(acol, arow);      Visible    := True;    end;    VLE.Editor := CheckBoxEditor;  End; ---------------------------------------------------------------------- EganSolo · 2021-02-14 08:59 In the code I posted, I was directly setting the editor in the Value List Editor: VLE.Editor := CheckBox. I was ignoring the variable Editor that was passed as part of the event. Once I changed that statement to Editor := Checkbox. The editor showed-up.