gasracoop.blogg.se

Xojo canvas
Xojo canvas









xojo canvas
  1. #Xojo canvas software#
  2. #Xojo canvas code#

I also have another Canvas subclass which allows dragging to resize the CollectionCanvas like a resizabe pane.

#Xojo canvas software#

They are there, because when I click where I know they should be the software responds as though I had clicked on it. The problem is that in Windows, the CollectionCanvasCell items are not visible. Anyone familiar with UICollectionView or NSCollectionView in Cocoa will recognise the concept.

#Xojo canvas code#

It's fast, allows code reuse fairly easily, and makes the collection very customisable.

xojo canvas

Instances of CollectionCanvas are then embedded into windows, the datasource property set to an object which implements the datasource class interface, and a method on the CollectionCanvas instance called to lay out the CollectionCanvasCell items.The number of cells and some layout properties are returned from other methods in the datasource class interface A container control subclass 'CollectionCanvas' which has a control set of CollectionCanvasCell within a canvas and a scrollbar so the set of CollectionCanvasCells can be scrolled.The colour and text for each cell are returned from methods defined in a datasource class interface Canvas subclass 'CollectionCanvasCell' which uses its Paint event to draw a fill colour and some text.The rough layout of the GUI is as follows: The same issue occurs whether I cross-compile for Windows from the MacOS version of Xojo or compile for Windows within the Windows version.

xojo canvas

It's all working great in MacOS, but when I build it for Windows I'm having issues with canvas rendering. I've been working on a project over the last few days which I would like to be cross-platform so I've chosen Xojo.











Xojo canvas