Bug #1739

ArrayCtrl: in Multiselect mode, WhenSel is called 5 time each cursor change

Added by Abdelghani Omari almost 7 years ago. Updated over 5 years ago.

Status:ApprovedStart date:06/05/2017
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:CtrlLibSpent time:-
Target version:Release 2019.1

Description

test case :

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN
{
    TopWindow win;
    ArrayCtrl arr;

    arr.AddColumn("");
    arr.MultiSelect();

    arr.WhenSel = [] { PromptOK("WhenSel");};

    for(int i = 0; i < 10; i++)
        arr.Add(i);

    win.Add(arr.SizePos());
    win.Run();
}

ArrayCtrl.patch Magnifier (2.25 KB) Abdelghani Omari, 03/26/2018 07:52 PM

History

#1 Updated by Abdelghani Omari about 6 years ago

  • File ArrayCtrl.patchMagnifier added
  • Status changed from New to Patch ready
  • Target version set to Release 2018.1

#2 Updated by Zbigniew Rebacz about 6 years ago

  • Target version changed from Release 2018.1 to Release 2019.1

#3 Updated by Abdelghani Omari over 5 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF