main logo
Subject: V4RB : Picture Field in Win32
Author: Francois Van Lerberghe
Posted: 2000/12/28 11:01:28
 
View Entire Thread
New Search


Hello everybody,

I have some trouble with PictureField on Windows plateform (win 98).

I want to assign pictures stored in Picture fields to some BevelButtons.
On MacOS, no problem. In Windows, I don't see anything.

Here is a piece of code I use to do it :

dim cLan As Vcursor
cLan =3D app.database.SQLselect("Select Image from Lanceur")
// errors test
bevelButton.icon =3D cLan.PictureField(1).GetPicture

All other properties (short and string fields) assigne to the
BevelButton work well.
Is it the right way ? What's the problem on Windows machine ? Must I do
something when I store the picture in the field ?

Thank you and have a great coding new year.

Fran=E7ois Van Lerberghe
Thier Monty, 15A
B-4570 Marchin
Belgique


-------------------------------------------------------------
The Valentina mailing list is brought to you by MacServe.net
For info on lists services, see http://www.macserve.net/lists.html
 
©2000 Francois Van Lerberghe
<-- Prior Message New Search Next Message -->