Jump to content

Possibility to render icons in UniStringGrid cells ?


Guest

Recommended Posts

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

.

 

Link to comment
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...