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 » Header in body
Header in body [message #48909] Wed, 25 October 2017 11:24 Go to next message
rafiwui is currently offline  rafiwui
Messages: 105
Registered: June 2017
Location: Stuttgart, Germany
Experienced Member
I am curious about this:
index.php?t=getfile&id=5427&private=0
Somehow my header is moved to the body of the array ctrl.
Initialization code looks like this and is called inside the window constructor:
m_dbTestLayout.m_tableDB.MultiSelect();
m_dbTestLayout.m_tableDB.AddColumn("TE");
m_dbTestLayout.m_tableDB.AddColumn("LE");

m_tableDB is the actual arrayCtrl.
I got this code from the AddressBook example where it works fine.

Anyone got an idea what I am doing wrong?
Ask for more information if needed.


Greetings
Daniel

[Updated on: Wed, 25 October 2017 11:24]

Report message to a moderator

Re: Header in body [message #48910 is a reply to message #48909] Wed, 25 October 2017 15:19 Go to previous messageGo to next message
rafiwui is currently offline  rafiwui
Messages: 105
Registered: June 2017
Location: Stuttgart, Germany
Experienced Member
After adding the ability to sort each column and after sorting one of the columns once the header jumped into the correct position.
But that is just a temporary fix and no final solution so my question is still open.


Greetings
Daniel
Re: Header in body [message #48917 is a reply to message #48910] Tue, 31 October 2017 19:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12022
Registered: November 2005
Ultimate Member
rafiwui wrote on Wed, 25 October 2017 15:19
After adding the ability to sort each column and after sorting one of the columns once the header jumped into the correct position.
But that is just a temporary fix and no final solution so my question is still open.


It is really hard to help without the testcase.

In general, I have not seen anything like this ever.
Re: Header in body [message #48947 is a reply to message #48917] Wed, 08 November 2017 12:45 Go to previous message
rafiwui is currently offline  rafiwui
Messages: 105
Registered: June 2017
Location: Stuttgart, Germany
Experienced Member
Never mind I guess it has something to do with my AutoResizeWindow similiar to the problems I had with the Bars. When I checked it with a normal TopWindow everything worked fine

Greetings
Daniel
Previous Topic: How to hide/show gridctrl column at runtime
Next Topic: GridCtrl
Goto Forum:
  


Current Time: Sun Sep 22 20:55:15 CEST 2019

Total time taken to generate the page: 0.01421 seconds