New topic: dragItem.Picture Visual Reference
<http://forums.realsoftware.com/viewtopic.php?t=46563> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message Surfer_Joe Post subject: dragItem.Picture Visual ReferencePosted: Mon Jan 14, 2013 4:23 pm Joined: Mon Mar 03, 2008 1:29 am Posts: 12 I'm using the following code in a ListBox DragRow. I'm not getting a visual reference of the provided picture as I thought I would (Just getting an outline of the drag item). I appologize if this has been answered before. All of the post I've found contain broken links to examples. Any pointers would be greatly appreciated. I should mention I'm using RB version 2007 Thanks, Joe Dim fileIcon As Picture fileIcon = NewPicture( 32, 32, 32 ) fileIcon.Graphics.DrawPicture( file_32_icon, 0, 0 ) fileIcon.Mask.Graphics.DrawPicture( file_32_icon_mask, 0, 0 ) Dim d As dragItem d = NewDragItem( Me.left, Me.top, 32, 32) d.text = me.text d.Picture = fileIcon d.drag If d.destination <> Nil Then msgbox folderitem(d.destination).absolutepath End If return true Last edited by Surfer_Joe on Mon Jan 14, 2013 6:34 pm, edited 1 time in total. Top jakuno Post subject: Re: dragItem.Picture Visual ReferencePosted: Mon Jan 14, 2013 5:13 pm Joined: Fri Aug 31, 2012 3:56 pm Posts: 67 d.DragPicture = fileIcon Top Surfer_Joe Post subject: Re: dragItem.Picture Visual ReferencePosted: Mon Jan 14, 2013 6:33 pm Joined: Mon Mar 03, 2008 1:29 am Posts: 12 Thank you Jakuno However I should have mentioned I'm using an older version RB 2007. Any other thoughts Top jakuno Post subject: Re: dragItem.Picture Visual ReferencePosted: Tue Jan 15, 2013 5:38 am Joined: Fri Aug 31, 2012 3:56 pm Posts: 67 Surfer_Joe wrote:Thank you Jakuno However I should have mentioned I'm using an older version RB 2007. Any other thoughts Maybe an old MBS-Plugin can do the job. Best choice is upgrade to RS 2012. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
