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 » void SetDisplay(int r, int c, GridDisplay& gd);
void SetDisplay(int r, int c, GridDisplay& gd); [message #37547] Tue, 16 October 2012 04:00 Go to next message
nixnixnix is currently offline  nixnixnix
Messages: 415
Registered: February 2007
Location: Kelowna, British Columbia
Senior Member
Hi Daniel,

This function does not appear to be present in version 5202 which is what I have installed.

Is there a reason for this please?

Nick


Re: void SetDisplay(int r, int c, GridDisplay& gd); [message #37552 is a reply to message #37547] Tue, 16 October 2012 21:58 Go to previous messageGo to next message
BioBytes is currently offline  BioBytes
Messages: 288
Registered: October 2008
Location: France
Experienced Member
Hi Nick,

I use U5431 for Win32 and the method
GridCtrl::SetDisplay(int r,int c, GridDisplay& gd)
is still available. Smile

Regards

Biobytes
Re: void SetDisplay(int r, int c, GridDisplay& gd); [message #37867 is a reply to message #37552] Mon, 19 November 2012 10:27 Go to previous messageGo to next message
deep is currently offline  deep
Messages: 227
Registered: July 2011
Location: Bangalore
Experienced Member
I am currently using 5523,

Its declaration is available in GridCtrl.h file. But I think function is not there in GridBase.cpp

BioBytes wrote on Wed, 17 October 2012 01:28


I use U5431 for Win32 and the method
GridCtrl::SetDisplay(int r,int c, GridDisplay& gd)
is still available. Smile



I get compile time error. I could not locate the function in GridCtrl folder in any file.

Linking...


main.obj : error LNK2001:

unresolved external symbol "public: void __thiscall Upp::GridCtrl::SetDisplay(int,int,class Upp::GridDisplay &)" (?SetDisplay@GridCtrl>@Upp@@QAEXHHAAVGridDisplay>@2@@Z)
C:\DevTools\upp4193\out\tutorial\MSC10.Debug.Debug_Full.Gui\ Grid01.exe : fatal error LNK1120: 1 unresolved externals




Warm Regards

Deepak
Re: void SetDisplay(int r, int c, GridDisplay& gd); [message #37868 is a reply to message #37547] Mon, 19 November 2012 11:11 Go to previous messageGo to next message
deep is currently offline  deep
Messages: 227
Registered: July 2011
Location: Bangalore
Experienced Member
Hi All

I added following function in GridCtrl.cpp

It looks like working.

void GridCtrl::SetDisplay(int r, int c, GridDisplay& gd)
{
	GetItem( r + fixed_rows, c + fixed_cols ).SetDisplay(gd);

}


Warm Regards

Deepak
Re: void SetDisplay(int r, int c, GridDisplay& gd); [message #37880 is a reply to message #37868] Mon, 19 November 2012 19:17 Go to previous messageGo to next message
nixnixnix is currently offline  nixnixnix
Messages: 415
Registered: February 2007
Location: Kelowna, British Columbia
Senior Member
Thanks Deep,

I didn't know how to go about arguing this one but what you found is the same as what I found.

Nick
Re: void SetDisplay(int r, int c, GridDisplay& gd); [message #38136 is a reply to message #37880] Sun, 02 December 2012 16:05 Go to previous message
unodgs is currently offline  unodgs
Messages: 1361
Registered: November 2005
Location: Poland
Ultimate Contributor

Thank you!. Now in svn.
Previous Topic: How to read value from ArrayCtrl?
Next Topic: GridCtrl copy/paste extra columns
Goto Forum:
  


Current Time: Sat Jan 16 10:35:58 CET 2021

Total time taken to generate the page: 0.01481 seconds