Guest Posted March 27, 2011 Share Posted March 27, 2011 Message from: "scarre" Hello, How can assign objects to UniStringGrid cells (or rows). TStringGrid has Objects[Col,Row] property. Is this implemented in TUniStringGrid ? As a workaround I am storing object pointers typecast to integers in a 0 width (hidden) column (see code below). However, 0 width columns are still partly visible in a browser (I'm testing with Firefox). UniStringGrid.Cells[x,y] := IntToStr(Integer(MyObject)); MyObject := TMyObject(StrToInt(UniStringGrid.Cells[x,y])); Regards, Stephane . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 28, 2011 Author Share Posted March 28, 2011 Message from: "Farshad Mohajeri" "scarre" wrote in message news:%23xK7aSL7LHA.1980@anaxagvs227... > Hello, > How can assign objects to UniStringGrid cells (or rows). TStringGrid has > Objects[Col,Row] property. > Is this implemented in TUniStringGrid ? > As a workaround I am storing object pointers typecast to integers in a 0 > width (hidden) column (see code below). However, 0 width columns are still > partly visible in a browser (I'm testing with Firefox). > UniStringGrid.Cells[x,y] := IntToStr(Integer(MyObject)); > MyObject := TMyObject(StrToInt(UniStringGrid.Cells[x,y])); Objects[Col,Row] property is not implemented on Web side. Logged #949 . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.