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 » Community » Newbie corner » Column Visible / hidden (arrayCtrl)
Re: Column Visible / hidden (arrayCtrl) [message #55247 is a reply to message #55246] Thu, 22 October 2020 21:52 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
TankYou!

... I was already speculating on a rudimentary solution:

HWld::HWld() //constructor
{ CtrlLayout(*this, "Titulo da janela");
grid.AddColumn("primeira",15);
grid.AddColumn("segunda",25);
grid.AddColumn("terceira",25);
grid.AddColumn("quarta",35);

grid.Add("1","","","");
grid.Add("2","","","");
grid.Add("3","","","");
........................
void HWld::Click(){//redoing / changing number of columns / hides the 1st and 4th column
grid.Reset();
grid.AddColumn("segunda",50);
grid.AddColumn("terceira",50);
grid.Add("1","");
grid.Add("2","");
grid.Add("3","");
return;
......
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: "simple" connection and operation with database
Next Topic: RegisterSystemHotKey not work here
Goto Forum:
  


Current Time: Thu May 16 20:28:42 CEST 2024

Total time taken to generate the page: 0.03354 seconds