Guest Posted March 22, 2011 Share Posted March 22, 2011 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 . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2011 Author Share Posted March 22, 2011 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] := ''; . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2011 Author Share Posted March 22, 2011 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... . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2011 Author Share Posted March 22, 2011 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] := ''; > > Great ! That will do for now. Just consider my question as a feature request, then. Thanks. . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2011 Author Share Posted March 22, 2011 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] := ''; >> >> > 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. . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2011 Author Share Posted March 22, 2011 Message from: "smart" Hi, Can do English translate Chinese of Controls in web mode? Thanks!!! . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2011 Author Share Posted March 22, 2011 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? . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2011 Author Share Posted March 23, 2011 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. . 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.