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 ?
scroll buttons tablet win10
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
scroll buttons tablet win10
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: scroll buttons tablet win10
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.
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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: scroll buttons tablet win10
I wish use buttons no xbrowse
I have the sources with sbutton but I wish use fw button flat
I have the sources with sbutton but I wish use fw button flat
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: scroll buttons tablet win10
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
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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
Re: scroll buttons tablet win10
What about using Tabs/Folder?
Each tab could hold so many tables/buttons.
Each tab could hold so many tables/buttons.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: scroll buttons tablet win10
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
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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC