kelchris has asked for the wisdom of the Perl Monks concerning the following question:
I really can't get SetCellData and GetCellData to work properly.
But:my $sku = "BR123123"; $grid->SetCellData(1,1,$sku);
SetCellData (nRow, nCol, lParam) from http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=grid
So how do I convert $sku to lParam? And how can I convert that lParam I get from GetCellData to the actual data I set?
I have tried converting sku:
$sku = unpack("L", pack('p', $sku));
then:
$table->SetCellData(1,1,$sku);
But $table->GetCellData(1,1) isn't returning my $sku value
The reason I am using SetCellData is to trace where the rows move after sorting
Any help would be appreciated, thanks!
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::GUI::Grid SetCellData setting and getting data problem
by kelchris (Novice) on Jan 26, 2012 at 18:36 UTC |