realbasic-nug.it
[Top] [All Lists]

IMAGEWELL

To: "REALbasic NUG Italian" <realbasic-nug dot it at lists dot realsoftware dot com>
Subject: IMAGEWELL
From: "Enrico a Libero" <enricolr at libero dot it>
Date: Tue, 15 Jan 2008 21:13:07 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug dot it at lists dot realsoftware dot com
References: <110EC1C5-6220-4B1E-A084-4C810D6DE572 at tin dot it><D75ADE74-45DF-46D3-9D8A-C2EA416BA534 at cantoberon dot it><8E3AD366-8CF5-4E05-B525-E3327CDF0E52 at tin dot it> <F4E1E804-7FA9-47B5-B48C-C1F76E4B86F3 at cantoberon dot it> <005301c856ef$83196070$6801a8c0 at IMAC> <470C388B-CB38-42A7-8B6B-EA14C1FFF62D at yahoo dot it>
Sempre un saluto a tutti
Vorrei poter inserire a piacere una immagine in una windows trascinandola da una cartella (es la cartella immagini) ho inserito in una window un oggetto IMAGEWELL e seguendo da manuale ho immesso i seguenti controlli :

Nella OPEN :
 Me.AcceptPictureDrop
 Me.AcceptFileDrop("image/x-jpg")

Nel DropObject
 If Obj.PictureAvailable then
   Me.Image=Obj.Picture
 elseif Obj.FolderItemAvailable then
   Me.Image=Obj. FolderItem.OpenAsPicture
 End if

Nel MouseDown
 Dim d as DragItem
 d= NewDragItem( Me.left, Me.top, Me.width, Me.height)
 d.picture= Me.Image
 d.Drag //Allow the drag

Ma non riesco a vedere l'iimagine trascinata.

Sempre un grazie a tutti
Enrico





<Prev in Thread] Current Thread [Next in Thread>