Subscribe to [FP-1] Sandich Builder with VB2010        RSS Feed
-----

[Pt 5] Change Form Layout

Icon Leave Comment
First minor form is going to be for the Cash payment option on the Payment Form. It's supposed to be as if you are putting money into a machine and the machine is telling you how much you put in and how much more you need to put in.

Lets start off with making a new Form.

Form (Change)
BackColor: FireBrick
FormBorderStyle: FixedSingle
Text: Change
Form: frmChange
MaximunSize: 132, 254
MinumunSize: 132, 254
Size: 132, 254
ControlBox: False
TopMost: True

Spoiler


Such a small Form. And believe it or not, its all the space we need to hold 6 Buttons. Each Button is going to represent a coin or dollar bill. When you click a Button, it acts like you added that coin / bill into the "machine".

Just make one Button and then change the size and color. Then Copy Paste away editing the name, text, and location.


Button (5 Dollar)
BackColor: MediumBlue
Font: 9pt
ForeColor: SkyBlue
Text: $5 Bill
Name: btn5Dollar
Location: 18, 12
Size: 63, 28


Button (1 Dollar)
BackColor: MediumBlue
Font: 9pt
ForeColor: SkyBlue
Text: $1 Bill
Name: btnDollar
Location: 18, 46
Size: 63, 28


Button (Quarter)
BackColor: MediumBlue
Font: 9pt
ForeColor: SkyBlue
Text: Quarter
Name: btnQuarter
Location: 18, 80
Size: 63, 28


Button (Dime)
BackColor: MediumBlue
Font: 9pt
ForeColor: SkyBlue
Text: Dime
Name: btnDime
Location: 18, 114
Size: 63, 28


Button (Nickel)
BackColor: MediumBlue
Font: 9pt
ForeColor: SkyBlue
Text: Nickel
Name: btnNickel
Location: 18, 148
Size: 63, 28


Button (Penny)
BackColor: MediumBlue
Font: 9pt
ForeColor: SkyBlue
Text: Penny
Name: btnPenny
Location: 18, 182
Size: 63, 28




That's it for this form.

0 Comments On This Entry

 

Trackbacks for this entry [ Trackback URL ]

There are no Trackbacks for this entry

October 2017

S M T W T F S
1234567
891011121314
15161718192021
2223 24 25262728
293031    

Tags

    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)