ricaforrica
Programmer
Greetings!
I have an Oracle 6i application. Currently, any called form is displayed in the center of the screen.
But I would like to have my forms in a cascade style. The solution I'm thinking is to have a global variable "n" that stores the number of opened forms. Then I would have to set every window's coordinates to be n*0.5, for instance, on entry. With this method, I would have to increment before any form was called and decrement when the form closes (this could be done with the triggers "when_new_form_instance" or "when_window_closed").
What I would like to know is if there is some runtime variable that can give me the number of opened forms. This way it would be much more simple!
Any ideas?
Thanks!
Ricardo Pinto
I have an Oracle 6i application. Currently, any called form is displayed in the center of the screen.
But I would like to have my forms in a cascade style. The solution I'm thinking is to have a global variable "n" that stores the number of opened forms. Then I would have to set every window's coordinates to be n*0.5, for instance, on entry. With this method, I would have to increment before any form was called and decrement when the form closes (this could be done with the triggers "when_new_form_instance" or "when_window_closed").
What I would like to know is if there is some runtime variable that can give me the number of opened forms. This way it would be much more simple!
Any ideas?
Thanks!
Ricardo Pinto