I'm attempting to write an invoicing/stock control program for our family business. A never ending task lol.
After a long break I've decided to start with a clean sheet of paper and a blank Form.
So its back to basics of programming.
The first basic question is should I make a form invisible or close it ?
Assume you start with a form with several buttons the take you to other forms. All the form does is help you navigate to another section.
Is it good practice to close the form you're moving from and then open the form you're moving to or make the form visible/invisble ?
Using a BitBtn, it has a Kind property with a value BkClose. This closes the form. Yet, if I want to allow the esc key to also close the form, I have to do an onclick event. Should this be set to Form1.close or can I somehow link the esc keypress directly to the BitBtn Kind property ?
My Feeblegirl.com Forum boards for mmorpgs, sport, fun, politics...
After a long break I've decided to start with a clean sheet of paper and a blank Form.
So its back to basics of programming.
The first basic question is should I make a form invisible or close it ?
Assume you start with a form with several buttons the take you to other forms. All the form does is help you navigate to another section.
Is it good practice to close the form you're moving from and then open the form you're moving to or make the form visible/invisble ?
Using a BitBtn, it has a Kind property with a value BkClose. This closes the form. Yet, if I want to allow the esc key to also close the form, I have to do an onclick event. Should this be set to Form1.close or can I somehow link the esc keypress directly to the BitBtn Kind property ?
My Feeblegirl.com Forum boards for mmorpgs, sport, fun, politics...