U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » AddColumn(0, ...) crashes
Re: AddColumn(0, ...) crashes [message #41438 is a reply to message #41433] Tue, 17 December 2013 09:52 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello Klugier

From you screenshot I infer that you have the AddColumn problem.

A simple solution is:

- GridCtrl.cpp, line 1789, to replace
aliases.Add(ToLower(name), ib.id);
with
aliases.Add(name ? ToLower(name) : "", ib.id);

- GridCtrl.cpp, line 1700, to replace
aliases.Add(ToLower(name), id);
with
aliases.Add(name ? ToLower(name) : "", id);

This problem was reported some weeks ago. I would like to see it solved before, mainly because the problem was clearly defined from the beginning.


Best regards
IƱaki
 
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: [BUG & FIX] [GridCtrl] Copy on GridCtrl with no selection will crash a program.
Next Topic: GridCtrl and background color of a row
Goto Forum:
  


Current Time: Wed May 13 03:47:22 GMT+2 2026

Total time taken to generate the page: 0.00813 seconds