Hi, I'm trying to create a visual representation of a vending machine layout so that the office can set up and change the product layout and the guy on the road can see the current layout as he's re-stocking it.It would have a fixed number or rows (shelves) but each row could have a different number of columns (product slots) depending on the size of the product.
My thought was for each slot be represented by a control with a picture of the current product and a combo box containing a list of products that we can stock it with, when we are setting up or changing the product in that slot.So in the app, if row 1 had eight squares representing 8 slots, row 2 might have 4 rectangles representing only 4 slots for larger products.
The WinDockManager looked like it might work for me, but before I really tunnel into that, I thought I'd ask if there was a more suitable control that I should try.
I would be grateful for any thoughts or opinions.
Do let me know if I've managed to post this in the wrong place.
Thanks
Pete
Hello Pete
Can you provide a mockup/illustrate demonstrating the behavior you desire?
From my understanding you are looking more for a grid-like control perhaps in CardView where each row is a card that lists fields with cell values.) If you want to suppress certain columns from appearing within a card you can collapse the field/cell's height manually. band.CardSettings.Style to VariableHeight
Thanks Michael,
Here is a very crude visualization of what I'm trying to do.The squares represent small products in the vending machine (single slots) and the rectangles represent larger products occupying double slots. I'd like to be able to show the product name, stock level and a small image, if possible and to be able to right click on a cell to access and change these properties.The vending machine configuration can change depending on product, so I want to be able to do things like merging / splitting the "cells", I suppose like a table in MS Word.Someone mentioned the GridBagLayout with regard to this project, but I haven't found any examples yet.Hope this image helps.Thanks again