Posted on 2000-04-23
I've (with the help of having 3 Delphi Questions answered excellently) managed to nearly finish my college project but I'm having some procedural difficulties with my program.
Where do I start? OK
1 How do I ensure that the value entered in Edit2.text is no greater than the value entered in Edit1.text?
2 When adding the value from Edit4.text to Edit3.text how do I ensure that the total will not exceed Edit1.text?
3 When subtracting the value of Edit5.text from Edit3.text how do I ensure that the value of Edit3.text will not be a negative amount? i.e. Edit5 can only be less than or equal to Edit3.text
4 If I want Edit2.text to be a maximum of a given percentage of Edit1.text by entering the percentage value in edit6.text how do I do this?