Jump to content

Recommended Posts

Posted

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

.

 

Posted

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

 

 

.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...