jholdrid
18th April 2002, 17:10
My users have noticed functionality differences when they zoom to
a session. We are using Baan IVc4 and the B40c.051 windows client.
To return data from the zoomed to session, in some cases they
can just "Double Click" and in others they must select the
item to be returned (check appears) and then "Save and exit".
My users would prefer to just double click, but I cannot see
why one works and one doesn't. We have examined these sessions and both are subsessions, both have "Auto accept" selected on the form field, both are the same type of session, both have the same zoom type , etc.
Can anyone explain the difference in functionality ?
Thanks
MariaC
18th April 2002, 17:30
Can't say I've really noticed that but then I'm not a baan user, I just help others use it :) Maybe it all depends on how the zoom sessions were written. Some are just list of items while other are single occurence sessions. Usually for a list you can double-click, in the single occurence sessions that probably wouldn't work and you'd have to use the save/exit option.
jholdrid
18th April 2002, 21:59
Maria:
Our zoom sessions that we are questioning the functionality of are all Lists.
The session that we can not double click from does not have a program script. The one that does have a program script, Type 1/2/3 (With M.Table), we can double click from.
Would having a script vs. none have anything to do with the
functionality ?
Thanks
___________
lbencic
18th April 2002, 22:18
Do you have the source and can you see anything in the zoom from part, like a return to the calling session? If you don't have the source, can you give us examples 1 each of which sessions work for you and which do not?
Also, I'm running BW B40c.62 and have not updated in a while - .051 is probably very old. You should update your bw.
fmorais
19th August 2008, 20:03
:confused:
Hi everyone.
I also have this question for a long time and, because I've been developing some new sessions in the last few days, I decided to post this.
So, if you have a Type2 zoom session you developed, how can you control if the session returns the value just by double-clicking a line or you if have to mark it and use the exit button?
For simplicity, let's suppose all the sessions have source code (they do not use the standard code), even if the script is empty.
In my case I have some that accept the double-click an some that don't. I could never discover a parameter or some code I could use to control this behavior.
Any inputs?
Thanks a lot
Fred
Hitesh Shah
19th August 2008, 20:40
In Baan IV , all forms have default ok , cancel , continue buttons . If developer ticks that , it becomes visible. When user double clicks, default button gets executed which in turn executes end.program and through which a marked records' return value is returned by standard program to the calling program .
All this is managed by zoom.to$ function, it's return value, it's zoom name , standard program and zoom.from.on.entry / on.exit section code in zoomed session and finally value of exit.val$ in zoomed session .
fmorais
19th August 2008, 20:55
Thanks Hitesh, for the prompt answer.
Just tried it and you're 100% right.
You have to activate the ok button for example (you can even fill "none" in the default button).
The only problem is that the form will have a button on the right.
Details are everything.
Thanks
Fred