Grid Cell Pictures from Resource

Discussion forum about all things Team Developer 7.x
thomas.uttendorfer
Site Admin
Site Admin
Germany
Posts: 180
Joined: 05 Mar 2017, 17:19
Location: Munich Germany

Grid Cell Pictures from Resource

Post by thomas.uttendorfer » 17 May 2019, 10:23

Hi,
in Grid we can put pictures in cells with

Code: Select all

bOk = SalGridSetCellPicture(hWndGrid, nGridAreaConst, hWndCol, nRow, nCellPropConst, sFileName)
The image must be from file (last parameter).

Does anybody know a way how to use a picture from
a) Database (as binary data)
b) from Resources
instead? Without putting it on disc.

Regards Thomas
Thomas Uttendorfer
[ frevel & fey ] Software-System GmbH
https://thomasuttendorfer.wordpress.com/

thomas.uttendorfer
Site Admin
Site Admin
Germany
Posts: 180
Joined: 05 Mar 2017, 17:19
Location: Munich Germany

Re: Grid Cell Pictures from Resource

Post by thomas.uttendorfer » 17 May 2019, 14:02

Hi Folks,
I found it out.
It's possible to use Images from Resource-Section.
Sample is attached. It's TD7.1 but the same works also in TD7.0 (tested) and maybe other versions.
GridCellPicture.zip
Regards Thomas
You do not have the required permissions to view the files attached to this post.
Thomas Uttendorfer
[ frevel & fey ] Software-System GmbH
https://thomasuttendorfer.wordpress.com/

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 0 guests