Xojo Developer Conference
Join us from 25th to 27th April 2018 in Denver.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.I'm drawing into a listbox but don't see something.
Feedback.

Answer: If you draw this in a listbox cellbackground, you need to draw on the correct position
Example:
Function CellBackgroundPaint(g As Graphics, row as Integer, column as Integer) As Boolean
dim f as FolderItem
f=SpecialFolder.Desktop
f.DrawWideIconMBS(g,listbox1.left,listbox1.top+row*20,16)
Return true
End Function
Notes: Try this in a listbox. The Graphics object there has a cliping and an offset which the plugin doesn't know about.




Links
MBS FileMaker tutorial videos