Jump to content


Photo

Add image to TnXgrapchicColumn


  • Please log in to reply
2 replies to this topic

#1 jamiguel77

jamiguel77
  • Members
  • 137 posts
  • Gender:Male

Posted 18 December 2006 - 03:22 AM

Ng.Addrow();

Ng.Cell[0,Ng.RowCount-1].Asstring:=inttostr(Ng.RowCount);
Ng.Cell[7,Ng.RowCount-1].ObjectReference:=Tbitmap(Img.Picture.Graphic); //TnXgrapchicColumn

why when i prees altab for change other app say me a access violation??

or if i delete a row...
Ng.deleteRow(Ng.SelectedRow);

too say a access violation.

i test, same ways, without adding the image and no access violation error, then i think my problem is:

add a image to nectgrid...

exist other way?


NOTE: i convert to bitmap because the user can add jpeg image, tiff images bitmap.... to img component.

Thanks

#2 jamiguel77

jamiguel77
  • Members
  • 137 posts
  • Gender:Male

Posted 03 January 2007 - 02:37 AM

any advice?

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,196 posts
  • Gender:Male

Posted 04 January 2007 - 05:48 PM

Hello jamiquel77,

I really can't find it here, but maybe some small app will help.

Also, check GraphicColumn demo from:
http://www.bergsoft....s&page=graphcol

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users