Jump to content

Possibility to render icons in UniStringGrid cells ?


Guest

Recommended Posts

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';

 

 

.

 

Link to comment
Share on other sites

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

.

 

Link to comment
Share on other sites

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.

 

.

 

Link to comment
Share on other sites

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.

 

 

.

 

Link to comment
Share on other sites

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?

 

 

.

 

Link to comment
Share on other sites

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.

 

 

.

 

Link to comment
Share on other sites

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