That would be then the PictureBox() object ...

sample :



break on

$form = createobject("Kixtart.form")
$form.Caption = "PictureBox sample"

$pic = $form.PictureBox
$pic.Size = 256,256
$pic.Borderstyle = 0

$pic.Picture = "%SystemRoot%\Prairie Wind.bmp"
$pic.OnClick = "$$x = $$form.msgbox('You clicked me !!!',Kixforms,64)"

$pic.Center
$form.Show
while $form.Visible
    $=execute($Form.DoEvents)
loop

exit 1



Please note that the DoubleClick event was replaced by OnClick as it seems to happen that the event is not trapped within my latest build 38

J.
_________________________