StatusBar in Form, but none in code!
I am trying to modify a public-domain NotePad to suit my needs.
FormMain has a StatusBar (named StatusBar1). It's is working fine (Date, NUM, etc), but I like to post something else to it.
The problem: I could not find any reference to StatusBar1, or "Status", anywhere in the entire code!
How is that?
Re: StatusBar in Form, but none in code!
Maybe because it was not necessary to refer to the StatusBar in the code.
You'll be first here. Simply type StatusBar1 followed by a dot to open the intellisense box to show your options.
When a control is there on your form, you can refer to it from any place within the form's code.
The StatusBar has a complex property sheet with pages to define planes on it. If everything you need can be predefined, there is no need to refer to the control in the code.
Double click on the statusbar in the form to jump to its events.
Re: StatusBar in Form, but none in code!
Quote:
Originally Posted by
WoF
Maybe because it was not necessary to refer to the StatusBar in the code.
Thanks! That's it!
NUM, CAPS, Date, etc. don't need any programming.
Re: StatusBar in Form, but none in code!
Fine. Then you can mark the Thread as resolved. :)