Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#59 listview -singlesel option

closed-invalid
Robert May
None
4
2006-06-07
2006-03-22
Greg Dance
No

By name it would seem the -singlesel option would
limit the user to only selecting a single item in the
list view at a time (like a radio button).

Setting the value to 0 or 1 makes no differences, you
can always select multiple items in the list.

If this is not how the option is supposed to work,
please let me know.

Greg

$Main->AddListView(
-name => "BuildView",
-text => "hello world!",
-left => 360,
-top => 450,
-width => 305,
-height => 100,
-style => WS_CHILD | WS_VISIBLE | 1,
-fullrowselect => 1,
-gridlines => 1,
-checkboxes => 1,
-singlesel => 1,
-font => $normal_text,
);

Discussion

  • Greg Dance
    Greg Dance
    2006-03-22

    • priority: 5 --> 4
     
  • Greg Dance
    Greg Dance
    2006-03-22

    Logged In: YES
    user_id=789815

    OK- I found out what it is doing. singlesel controles
    whether or not you can select the line in the list box
    with is different from what I wanted to do. I wanted to
    control the ability limit the number of checkboxes
    checked/selected to one at a time. If anyone knows how to
    do that let me know.

     
  • Robert May
    Robert May
    2006-06-07

    Logged In: YES
    user_id=674651

    Not a bug then? I'll close it.

    Rob.

     
  • Robert May
    Robert May
    2006-06-07

    • assigned_to: nobody --> robertemay
    • status: open --> closed-invalid