Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » [BUG #1739, + PATCH]ArrayCtrl: in Multiselect mode, WhenSel is called 5 time each cursor change
[BUG #1739, + PATCH]ArrayCtrl: in Multiselect mode, WhenSel is called 5 time each cursor change [message #49694] Wed, 04 April 2018 14:21
omari is currently offline  omari
Messages: 193
Registered: March 2010
Experienced Member
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();
}


regards
omari.
Previous Topic: SOLVED: Array and Grid on high definition monitor
Next Topic: Display API for ArrayCtrl is too difficult - too much parameters
Goto Forum:
  


Current Time: Wed Nov 20 08:44:54 CET 2019

Total time taken to generate the page: 0.03578 seconds