delphi example but should give you the idea-- you need to pass the parameters in a string--make sure you put the ";" at the end!

Code:

Panel2 := pan_create('bmap = levelcode3.pcx;pos_x = 325;
pos_y = 105;flags=visible;
button=15,20,ThumbNail3.pcx,ThumbNail3.pcx,ThumbNail3.pcx,
Null,Null,Null;',
_VAR(1));




www.LazyDogSoftware.com
Delphi SDK Homepage

A7 Pro 780
Delphi 5 through 2010