RESTORE IMAGE example
The following example defines a form and list box for selection of an aircraft model and uses RESTORE IMAGE to display a graphic from the memo field Image of the selected record:
use AIRCRDB order AIRCRAFT
select AIRCRDB
define form AC ;
property ;
top 5, ;
left 2, ;
height 13, ;
width 30, ;
text "Aircraft", ;
sizeable true
define listbox Model OF AC ;
property ;
top 1, ;
left 2, ;
height 11, ;
width 26, ;
dataSource "field Aircrdb->Aircraft" , ;
onSelChange {; restore image from binary image timeout 10 }
AC.open( )