Platforms to show: All Mac Windows Linux Cross-Platform

Back to Picture class.

Picture.ScrollHorizontalMBS(delta as Integer, wrap as boolean, scrollmask as boolean) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Graphics & Pictures MBS Picture Plugin 6.5 ✅ Yes ✅ Yes ❌ No ✅ Yes All
Scrolls the image data horizontally.
Example
dim p as Picture

p=LogoMBS(500) // any bitmap image

if p.ScrollHorizontalMBS(100,true,false) then
Title="ok"
end if

Backdrop=p

Returns true on success and false on failure.
Works only on Mac OS and Windows with 32bit bitmap images.
scrollmask defines whether a mask (if one exists) is also scrolled.
Wrap will define whether the image will wrap on the edges. If wrap is enabled on Mac, the whole thing speeds up.

Blog Entries

The items on this page are in the following plugins: MBS Picture Plugin.


The biggest plugin in space...