scroll buttons tablet win10

scroll buttons tablet win10

Postby Silvio.Falconi » Thu Oct 12, 2017 11:52 am

I must create a dialog with buttons ( btnbmp flat) to simulate tables of restaurant on a tablet win10 pro

on screen I cannot insert all tables of restaurant because there's no space

I'm thinking to create only on a page 4X5 lines and only 20 buttons then two buttons to scroll pages up and down

I'm tinking no use a dbf but an array type aTable:= {numtable,place,mesero,opentime,closetime }

sample :

Table number : 1
Place : garden
mesero : Otto
Open table : 12:45

aTable:= {1,"garden","Otto","12:45:55","" }


each time the user can open a table and I can add a record on aTable array

at init the array a table is empty and the procedure must no show any tables

then when the user open a table it must show the btnbmp on dialog with the info of table

How I can make it ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6716
Joined: Thu Oct 18, 2012 7:17 pm

Re: scroll buttons tablet win10

Postby TimStone » Thu Oct 12, 2017 4:08 pm

Maybe you can use an xBrowse with a multi dimensional array. Put table bitmaps on the fields.

When a bitmap is selected, have it popup a diagram of the full table. Store the values for the tables in a dbf that is associated with the array of tables.

Your bitmaps in the browse can have three different symbols: Empty table, Full Table, Partial Table

This sounds like a fun project. Good luck.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2897
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: scroll buttons tablet win10

Postby Silvio.Falconi » Thu Oct 12, 2017 5:17 pm

I wish use buttons no xbrowse
I have the sources with sbutton but I wish use fw button flat
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6716
Joined: Thu Oct 18, 2012 7:17 pm

Re: scroll buttons tablet win10

Postby Otto » Thu Oct 12, 2017 7:17 pm

Hier is a Video:
http://atzwanger-software.com/fw/flatbtn.mp4

Hello Silvio,
I think FLATBTN is exactly what you need. Change or overwrite the painting method.
I do it for my dashbord where I show the free rooms in a hotel.
The graphic shows for how many days the room is free.
Depending on the width of the Dialog the buttons are rearranged.
This dialog is a kind of responsive.
This is a work in progress.


Please post a picture/sketch of what you want.

Best regards,
Otto

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 5994
Joined: Fri Oct 07, 2005 7:07 pm

Re: scroll buttons tablet win10

Postby Gale FORd » Thu Oct 12, 2017 7:24 pm

What about using Tabs/Folder?
Each tab could hold so many tables/buttons.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: scroll buttons tablet win10

Postby Silvio.Falconi » Sat Oct 14, 2017 4:14 pm

gale,
a restaurant have many saloon and each saloon have many tables
i wish show only 4 buttons for saloon scrolled and only 20 tables buttons scrolled
I think it cannot hard to make
all can be show on a table win 10
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6716
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Marc Venken and 12 guests