Tabstop in sListBox

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37729
    roadrunner
    Participant

    Hi,

    i have found a different behavior between normal Listbox and sListbox.

    In a normal Listbox it is possible to set the Tabstop on different positions like:

    Code:
    const
    // The maximum number of Tabs
    MAX_TABS = 4;
    Tab = #9;

    var
    Tabulators: array[0..MAX_TABS] of Integer;

    begin
    { Set the Tabulator Widths / Tabulatorweiten festlegen}
    Tabulators[0] := 120;
    Tabulators[1] := 120;
    Tabulators[2] := 100;
    Tabulators[3] := 80;
    Listbox1.TabWidth := 1;

    { Set the Tabulators }
    SendMessage(ListBox1.Handle, LB_SETTABSTOPS, MAX_TABS, Longint(@Tabulators));

    But in sListbox it doesn't work. Is there another way to have differnt tabstop positions?

    Best regards,

    Hans-Josef

    #57562
    Support
    Keymaster

    Hello!

    I will check this issue soon.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.