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 » The DataPusher(?) does not show up
The DataPusher(?) does not show up [message #12967] Fri, 30 November 2007 22:30 Go to next message
loki is currently offline  loki
Messages: 36
Registered: October 2007
Member
Hello,

Size a column so, that the last character of a string is hidden.
The little arrow will appear and indicate more text.
But if you move the mouse over it, the DataPusher(?) will not pop up.

index.php?t=getfile&id=873&private=0
  • Attachment: Error_01.png
    (Size: 1.32KB, Downloaded 677 times)

[Updated on: Sat, 01 December 2007 09:48]

Report message to a moderator

Re: The DataPusher(?) does not show up [message #12992 is a reply to message #12967] Tue, 04 December 2007 10:25 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
loki wrote on Fri, 30 November 2007 16:30

Hello,

Size a column so, that the last character of a string is hidden.
The little arrow will appear and indicate more text.
But if you move the mouse over it, the DataPusher(?) will not pop up.

index.php?t=getfile&id=873&private=0


Well, usually it does. Cannot say more without the testcase...
Re: The DataPusher(?) does not show up [message #13127 is a reply to message #12967] Fri, 14 December 2007 17:00 Go to previous messageGo to next message
loki is currently offline  loki
Messages: 36
Registered: October 2007
Member
Sorry, I thought that image and description are enough to show the problem.

So, here is a testcase.
I am using the Ultimate++ 711-dev2 Version.

Greetings loki
  • Attachment: Testcase.zip
    (Size: 1.00MB, Downloaded 312 times)

[Updated on: Fri, 14 December 2007 17:04]

Report message to a moderator

Re: The DataPusher(?) does not show up [message #13154 is a reply to message #13127] Sun, 16 December 2007 23:11 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
loki wrote on Fri, 14 December 2007 11:00

Sorry, I thought that image and description are enough to show the problem.

So, here is a testcase.
I am using the Ultimate++ 711-dev2 Version.

Greetings loki


Thank you, bug in U++, fixed. (You was lucky enough to hit single exact width of column where it failed to work properly).

Quick fix:

Rect ArrayCtrl::GetCellRect(int i, int col)
{
	Rect r;
	r.top = GetLineY(i) - sb;
	r.bottom = r.top + GetLineCy(i);
	int x = 0;
	for(i = 0; header.GetTabIndex(i) != col; i++)
		x += header.GetTabWidth(i);
	r.left = x - header.GetScroll();
	r.right = r.left + header.GetTabWidth(i) - vertgrid + (col == column.GetCount() - 1);
	return r;
}


Mirek
icon14.gif  Re: The DataPusher(?) does not show up [message #13167 is a reply to message #13154] Mon, 17 December 2007 20:28 Go to previous message
loki is currently offline  loki
Messages: 36
Registered: October 2007
Member
Thanks for fixing. Now it works correctly. By the way I noticed an other nice feature of the IDE and UPP. "The direct Access to UPP-source from within my own Project." I really like this! Smile

Greetings loki
Previous Topic: SqlCtrl accessing
Next Topic: Bug in GridCtrl's WhenLeftDouble?
Goto Forum:
  


Current Time: Tue Apr 23 21:02:58 CEST 2024

Total time taken to generate the page: 0.03537 seconds