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











SourceForge.net Logo

ArrayCtrlSpanWideCells

 

Demontrates 'SpanWideCells' mode of ArrayCtrl

 

 

main.cpp

 

#include <CtrlLib/CtrlLib.h>

 

using namespace Upp;

 

GUI_APP_MAIN

{

    ArrayCtrl a;

    a.AddColumn("A", 100);

    a.AddColumn("B", 100);

    a.HeaderObject().Absolute();

    a.SpanWideCells();

    

    a.Add("This is very very long line...");

    a.Add("This is long line, but the next column is not empty", 12);

    a.Add("Short line");

    

    TopWindow win;

    win.Add(a.SizePos());

    win.Run();

}

 

 

 

 

Do you want to contribute?