Page 1 of 1

Genie's handling of pop-up windows containing subfiles.

Posted: Tue Oct 26, 2010 1:05 pm
by Wayne C.
This problem is similar to a previous topic "Subfiles" / gherta / Oct. 20. It's a little different though.
We have developed a convention for some of our subfiles in which a question mark (?) may be entered into a selection box in order to display a window (with a subfile) containing all the possible options available for this program/subfile. From this pop-up window, the user can select the desired option's code, bringing that code back to the original subfile.
The problem is that the subfile on the pop-up window is not being converted into the grid-styled subfile. I would like to be able to code an "onrowclick" event on the pop-up window subfile so the user could select an option that way instead of the other methods I've rigged up (clicking on the appropriate selection box or manually typing in an X in the desired option's selection box).
I talked to somebody from Profound about this a few months back, and I believe the response back then was that Genie only allowed one subfile per screen or something of that nature. Seeing that recent topic about subfiles made me wonder if some change had been made in handling pop-up windows/subfiles. I know that when I go into design mode with the pop-up window, only a single property appears (screen name).

Re: Genie's handling of pop-up windows containing subfiles.

Posted: Thu Nov 04, 2010 11:34 pm
by Alex
We will be releasing version 2.1.7 soon. In this release, window subfiles are automatically converted to grid-style subfiles.

Re: Genie's handling of pop-up windows containing subfiles.

Posted: Wed Nov 24, 2010 2:47 pm
by Wayne C.
I have applied the latest update (Nov. 9) and am getting the grid style subfiles on the pop-up windows. I have been able to code the option selection on the pop up window, which is great.

The only problem I'm having is that the subfile appearing on the pop-up window seems to have the format/appearance of the subfile on the first screen... even though the proper data is being loaded into the pop-up window subfile.

Is there something I'm doing wrong or need to do? Do I need to manually changing the pop-up window's grid specs?

Re: Genie's handling of pop-up windows containing subfiles.

Posted: Fri Nov 26, 2010 12:50 pm
by Alex
I am not sure if I fully understand the problem. I know all grids have the same default look, whether they appear in a window or not. Can you explain why this is a problem? Does it not look like a window for you? Maybe a screenshot would clarify what the problem is. Thanks.

Re: Genie's handling of pop-up windows containing subfiles.

Posted: Mon Dec 06, 2010 4:01 pm
by Wayne C.
The subfile on the first screen contains 9 or 10 columns and the subfile on the ensuing pop-up window contains 3. In the Genie environment, the pop-up window subfile appears as a 9 or 10 column subfile (instead of 3 columns) with the correct data being displayed in the first 3 columns, albeit with column widths of the first subfile. I got around this in Design Mode by deleting the last 6 or 7 columns (of the pop-up window subfile) and manually moving around the remaining column separators accordingly to accomodate the true size of the data in the 3 columns. That seemed to work fine and I don't recall a similar situation occurring again since.

I have not yet installed the Dec. 6 update.