New topic: 

Listbox Images

<http://forums.realsoftware.com/viewtopic.php?t=46102>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        jerryab          Post subject: Listbox ImagesPosted: Sat Dec 01, 
2012 1:56 am                         
Joined: Mon Dec 12, 2011 7:25 pm
Posts: 132
Location: Grand Rapids MI Area                I have listbox and load the 
images in it.

My problem is scaling them, Can anyone help..

Below is what I tried in CellTextPaint.
// Create Images in Column 0
Dim  PictureImage() as Picture
PictureImage = Array(ListboxImage, CGLogPicMW, AppSettingsicon1, 
DatabaseSetting)
// Get Row Count
if row < me.listcount then
  // Set for Column 0 only
  if column = 0 then
  // Include Picture Images
  g.DrawPicture PictureImage(row), 6, 4
  'g.DrawPicture(PictureImage, 0, 0, g.Width, g.Height, 0, 0, 
PictureImage.Width, PictureImage.Height)
  end if
end if
Return True
      
_________________
iMac 27" (2.8GHz Intel Core i5, 16GB RAM, 1TB Drive) OS X Lion 10.7.3 and 
Windows 7
Toshiba Laptop Running Windows 7 & WinXP SP3
REAL Studio Enterprise Edition 2012r1
http://www.theultimatecampgroundlog.com
Being rewritten for the Mac  
                             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 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]

Reply via email to