[Gambas-user] Reading and displaying a picture - stored directly in a DB
T Lee Davidson
t.lee.davidson at gmail.com
Mon Jul 5 15:00:48 CEST 2021
On 7/5/21 5:37 AM, Hans Lehmann wrote:
> Hello,
>
> I am currently testing a DB project for our Gambas online book, where in a SQLite DB table, the name of the flower and its
> picture are stored *directly* in the DB next to an ID. This does not cause any problems. The picture was inserted into the
> PictureBox by hand!
>
>
>
> In the GUI I want either
>
> * after a click on a row in the used component 'DataBrowser' or
> * via the navigation( Start, Back, Next, End)
>
> I want to display the corresponding picture in a PictureBox.
>
> In which event routine do I have to insert the logic for reading the picture content?
>
> With kind regards
>
> Hans
I don't have time to test it at the moment, but perhaps the DataBrowser.MouseDown event?
--
Lee
More information about the User
mailing list