Jump to content

Possibility to render icons in UniStringGrid cells ?


Recommended Posts

Posted

Message from: "scarre"

 

Hello,

Would there be any option/possibility to render icons or small png, bmp

or jpg images in UniStringGrid cells (e.g. by accessing/drawing on cell

canvas in OnDrawCell) ?

Regards,

Stephane

.

 

Posted

Message from: "Farshad Mohajeri"

 

"scarre" wrote in message

news:56A02IB6LHA.2164@anaxagvs227...

> Hello,

> Would there be any option/possibility to render icons or small png, bmp or

> jpg images in UniStringGrid cells (e.g. by accessing/drawing on cell

> canvas in OnDrawCell) ?

> Regards,

 

Currently the only way is to assign an HTML tag directly to cell

Cells[1,1] := 'img.jpg';

 

 

.

 

Posted

Message from: "scarre"

 

On 21/03/2011 22:52, scarre wrote:

> Hello,

> Would there be any option/possibility to render icons or small png, bmp

> or jpg images in UniStringGrid cells (e.g. by accessing/drawing on cell

> canvas in OnDrawCell) ?

> Regards,

> Stephane

 

I suppose it would be more like a TUniDrawGrid component ? Or a

combination of Draw and String Grid...

.

 

Posted

Message from: "scarre"

 

On 21/03/2011 22:55, Farshad Mohajeri wrote:

> "scarre" wrote in message

> news:56A02IB6LHA.2164@anaxagvs227...

>> Hello,

>> Would there be any option/possibility to render icons or small png, bmp or

>> jpg images in UniStringGrid cells (e.g. by accessing/drawing on cell

>> canvas in OnDrawCell) ?

>> Regards,

>

> Currently the only way is to assign an HTML tag directly to cell

> Cells[1,1] := 'img.jpg';

>

>

Great ! That will do for now. Just consider my question as a feature

request, then.

Thanks.

 

.

 

Posted

Message from: "Farshad Mohajeri"

 

"scarre" wrote in message

news:8vEIOMB6LHA.2164@anaxagvs227...

> On 21/03/2011 22:55, Farshad Mohajeri wrote:

>> "scarre" wrote in message

>> news:56A02IB6LHA.2164@anaxagvs227...

>>> Hello,

>>> Would there be any option/possibility to render icons or small png, bmp

>>> or

>>> jpg images in UniStringGrid cells (e.g. by accessing/drawing on cell

>>> canvas in OnDrawCell) ?

>>> Regards,

>>

>> Currently the only way is to assign an HTML tag directly to cell

>> Cells[1,1] := 'img.jpg';

>>

>>

> Great ! That will do for now. Just consider my question as a feature

> request, then.

 

 

Well, a web grid cell doesn't have a Canvas so assigning an Image seems to

be the only way.

 

 

.

 

Posted

Message from: "Farshad Mohajeri"

 

"smart" wrote in message

news:z3zk0lI6LHA.3560@anaxagvs227...

> Hi, Can do English translate Chinese of Controls in web mode?

 

Hi,

 

What do you want to translate? Labels and Captions?

 

 

.

 

Posted

Message from: "Farshad Mohajeri"

 

"smart" wrote in message

news:z3zk0lI6LHA.3560@anaxagvs227...

> Hi, Can do English translate Chinese of Controls in web mode?

 

In ServerModule change ExtLocale parameter.

I think "zh_CN" is for Chinese.

 

 

.

 

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...