New topic: DrawIcon problem
<http://forums.realsoftware.com/viewtopic.php?t=26468> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message jefftullin Post subject: DrawIcon problemPosted: Sun Feb 15, 2009 3:58 am Joined: Wed Nov 15, 2006 3:50 pm Posts: 273 Ive started working on Linux, which has ben a bit of a culture shock after Windows and Mac. This piece of code causes the app to just stop dead. No errors, no exception, just closes. Code: ico = newpicture(32,32,32) ico.Graphics.DrawCautionIcon 0,0 Its fine on Windows and Mac, under RB2007 : have I missed a deprecation notice? And similarly, I had to remove a line creating a mask that was fine in RB2007..not sure why.. it seems you get a mask whether you want one or not now? hspic = newpicture (64,64,32) hspic.Graphics.UseOldRenderer = true 'hspic.Mask= newpicture (64,64,32) Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
