Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

Open window to specific plane (3 replies)

$
0
0
I have a window with a form on it with multiple planes. The form accesses the same data file, and each plane has both generic information and specific information. The generic information is on plane 0, the specific on planes 1 and 2. I want to open the form to a specific plane.
For example, the form window is about the human body, and since humans are mostly the same that common information will be on plane 0, but the specific information for females are on plane 1 and males on plane 2.
This form window is called from another window that has a browse and buttons. The browse will show all humans, but if I double click on a female in the browse I would like to see the form window open to plane 1, not plane 0. Same with male, just to plane 2.
And there are buttons to add humans. If I click on the 'Add Female' button I would like the form window to open to plane 1, plane 2 for 'Add Male'.
Is there a command I can use to open a window to a specific plane, like OPENSISTER(HumanForm,plane..1)? Or will I have to OPENSISTER(HumanForm,1), passing the 1 to the form, and in the INIT of the window check for the passed in value and set HumanForm..Plane1 (this was my original thought but I thought I would check here on the forum in case there was a better way)?
Thanks in advance for any suggestions.

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>