lazarus 1.8, operation not allowed on sorted list in report designer's properties window

It happens in Lazarus 1.8RC3, 32 or 64, and latest trunk.
new application, put a fast report component on it, right click it and design
add a band, a text. try to change the setting in the textbox, it gives error all the time.

It is OK in Lazarus 1.6.4

Comments

  • edited 1:30AM
    it is caused by lazarus svn change 53100, win32listsl.inc. the check is added to fix bug 30004
    I will check if sorting is really needed.

    https://bugs.freepascal.org/view.php?id=30004

    procedure TWin32ListStringList.Put(Index: integer; const S: string);
    var
    lItemIndex: Integer;
    lSelected: Boolean;
    AData: Pointer;
    begin
    if Sorted then
    Error(SSortedListError,0);
  • edited 1:30AM
    in frxinsp.lfm, turn off Sorted fixes the issue for me.


    object ObjectsCB: TComboBox
    Left = 0
    Height = 27
    Top = 2
    Width = 182
    ItemHeight = 15
    OnDrawItem = ObjectsCBDrawItem
    OnSelect = ObjectsCBClick
    Sorted = False
    Style = csOwnerDrawFixed
    TabOrder = 1
    end

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.