"Best thing since sliced bread"
Its funny how such a simple cutting of bread created the best thing ever. Eh, I am but a child (17) and I cannot argue about that statement for I am a sandwich fanatic. (We exist and we come in peace)
How can one not have a sandwich without Bread?
Trick question, you can't. Sandwiches are 50% Bread give or take a few percent and having the same contents on different bread greatly changes the taste of the sandwich. Amazing!!!
!!!
On to business
We need to create a field where the user can choose their bread type and if they want it toasted or not.
Lets start by making a Combobox for the user to select their bread. Why Combobox? You could do the same as how you chose your contents for the sandwich, but it will look kind of messy. And choosing bread is different from choosing contents. This sandwich app is for user convenience, not ours. We have to go through hell to make users happy.
Combobox
name: ComboBread
Size: 121, 23
Contents vary but I chose these bread types
Rye
White
Cinnamon Raisin
Pretzel
Cheese Bread
Sour Dough
Bagel
Cornbread
French
Cuban
Panini
Italian
Ok so what we are going to do is ut this in a GroupBox. Why? 2 things
1) User will look at Groupboxes and if they see the heading Bread, they will know thats the section where they manage thier bread. You could use Labels but look at #2
2) Fits the style. Everything is catagorized and organized. So the user knows that there are 5 sections to work with to make a sandwich.
Groupbox
Name: GroupBread
Font: Century Schoolbook, 8.25
ForeColor: Yellow
Text: Bread
Now OUTSIDE the Groupbox we are going to add 2 buttons
These two are going to allow user to Toast or Not Toast their bread
Button
Name: BtnToast, BtnDoNotToast
BackColor: MediumBlue
Font: Microsoft Sans Serif, 8.25
ForeColor: SkyBlue
Text: "Toast", "Do Not Toast"
Set BtnDoNotToast visible false
Set BtnToast Enabled False
Put the Buttons right on top of each other so it looks like there is only 1. Place both of them next to the Bread Groupbox.
Now lets make another Groupbox.
Groupbox
Name: GroupToasted
Font: Microsoft Sans Serif, 8.25
ForeColor: SkyBlue
Size: 69, 88
Text: "Toasted"
Visible: False
This Groupbox will contain RadioButtons which will serve as the choices to have their bread toasted.
RadioButton
Name: RadioLight, RadioMedium, RadioDark, RadioNone
Font: Microsoft Sans Serif, 8.25
ForeColor: SkyBlue
Text: "Light", "Medium", "Dark", "None"
Set RadioNone visible false
Now run it and make sure that everything works and next I will show you how to add meaning to these mere 0s and 1s
Its funny how such a simple cutting of bread created the best thing ever. Eh, I am but a child (17) and I cannot argue about that statement for I am a sandwich fanatic. (We exist and we come in peace)
How can one not have a sandwich without Bread?
Trick question, you can't. Sandwiches are 50% Bread give or take a few percent and having the same contents on different bread greatly changes the taste of the sandwich. Amazing!!!
!!!
On to business
We need to create a field where the user can choose their bread type and if they want it toasted or not.
Lets start by making a Combobox for the user to select their bread. Why Combobox? You could do the same as how you chose your contents for the sandwich, but it will look kind of messy. And choosing bread is different from choosing contents. This sandwich app is for user convenience, not ours. We have to go through hell to make users happy.
Combobox
name: ComboBread
Size: 121, 23
Contents vary but I chose these bread types
Rye
White
Cinnamon Raisin
Pretzel
Cheese Bread
Sour Dough
Bagel
Cornbread
French
Cuban
Panini
Italian
Ok so what we are going to do is ut this in a GroupBox. Why? 2 things
1) User will look at Groupboxes and if they see the heading Bread, they will know thats the section where they manage thier bread. You could use Labels but look at #2
2) Fits the style. Everything is catagorized and organized. So the user knows that there are 5 sections to work with to make a sandwich.
Groupbox
Name: GroupBread
Font: Century Schoolbook, 8.25
ForeColor: Yellow
Text: Bread
Now OUTSIDE the Groupbox we are going to add 2 buttons
These two are going to allow user to Toast or Not Toast their bread
Button
Name: BtnToast, BtnDoNotToast
BackColor: MediumBlue
Font: Microsoft Sans Serif, 8.25
ForeColor: SkyBlue
Text: "Toast", "Do Not Toast"
Set BtnDoNotToast visible false
Set BtnToast Enabled False
Put the Buttons right on top of each other so it looks like there is only 1. Place both of them next to the Bread Groupbox.
Now lets make another Groupbox.
Groupbox
Name: GroupToasted
Font: Microsoft Sans Serif, 8.25
ForeColor: SkyBlue
Size: 69, 88
Text: "Toasted"
Visible: False
This Groupbox will contain RadioButtons which will serve as the choices to have their bread toasted.
RadioButton
Name: RadioLight, RadioMedium, RadioDark, RadioNone
Font: Microsoft Sans Serif, 8.25
ForeColor: SkyBlue
Text: "Light", "Medium", "Dark", "None"
Set RadioNone visible false
Now run it and make sure that everything works and next I will show you how to add meaning to these mere 0s and 1s
0 Comments On This Entry
Trackbacks for this entry [ Trackback URL ]
← January 2022 →
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 |
Tags
My Blog Links
Recent Entries
-
-
Menu Building Pt. 5 Bread Buildingon Apr 18 2016 09:30 AM
-
Menu Building Pt.4 Coding Custom Messageboxon Apr 15 2016 07:42 AM
-
Menu Building Pt. 3 Creating Custom Messageboxon Apr 11 2016 07:51 AM
-
Happy Weekendon Apr 08 2016 09:03 AM
Recent Comments
Search My Blog
7 user(s) viewing
7 Guests
0 member(s)
0 anonymous member(s)
0 member(s)
0 anonymous member(s)



Leave Comment









|