I am trying to create two list boxes, each having a different number format.
The first will hold a dollar amount and the second a year (integer). Here
are my questions on this:
1. How do I make each box capable of input? For instance, if I want to type
a dollar amount manually, how do I prepare that control for accepting the
number I type in it?
2. How do I make each box infinitely increment/decrement the number
contained inside it? If I have a year in the box, how do I make it so that
when I press the up arrow it keeps incrementing the year by one. The only
approach to inserting a year in the box that I have thought of is to
manually put a set of years in the collection property of the box. For my
program, however, I find it not very flexible to do this. Is there another
way?
The first will hold a dollar amount and the second a year (integer). Here
are my questions on this:
1. How do I make each box capable of input? For instance, if I want to type
a dollar amount manually, how do I prepare that control for accepting the
number I type in it?
2. How do I make each box infinitely increment/decrement the number
contained inside it? If I have a year in the box, how do I make it so that
when I press the up arrow it keeps incrementing the year by one. The only
approach to inserting a year in the box that I have thought of is to
manually put a set of years in the collection property of the box. For my
program, however, I find it not very flexible to do this. Is there another
way?