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 » Problem with Clipboard in GridCtrl
Re: Problem with Clipboard in GridCtrl [message #35164 is a reply to message #35162] Wed, 18 January 2012 09:49 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3058
Registered: August 2008
Ultimate Member
Hello Daniel

This is the code:
#include <CtrlLib/CtrlLib.h>
#include <GridCtrl/GridCtrl.h>

using namespace Upp;

GUI_APP_MAIN
{
	TopWindow w;
	GridCtrl grid;
	
	grid.Clipboard().CopyColumnNames();
	grid.AddColumn("Data");
	grid.Add(AttrText("123").Center().Paper(LtGreen()).Bold());
	grid.Add(AttrText("023").Center().Paper(LtGreen()).Bold());
	grid.Add(AttrText("523").Center().Paper(LtGreen()).Bold());
	
	w.Add(grid.SizePos());
	
	w.Run();
}

The package is also included.

Thank you Smile.


Best regards
IƱaki

[Updated on: Wed, 18 January 2012 09:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Not able to remove Columns in Grid.
Next Topic: GridCtrl WhenLeftDouble Callback
Goto Forum:
  


Current Time: Tue Jan 21 21:59:25 CET 2020

Total time taken to generate the page: 0.01325 seconds