• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1610
  • Last Modified:

powerbuilder , opensheet , messagebox

i am using the following opensheet command to open a window
opensheet(w_p10000,w_mdi_main,0,original!)
when i am using the command messabox("1","1") to send a message , when i respone to the message dialogue , w_p10000 is minimized. when i recall it it does not appear in the same position (X,Y) where it was before the execution of messagebox command
these things do not happen if use the
open(w_p10000) command instead of the opensheet

What am i doing wrong?



0
basilhs_s
Asked:
basilhs_s
  • 2
2 Solutions
 
sandeep_patelCommented:
did u try to import the sample window i sent in your previous question? or else try to create new sample window (of type main) don't change any property, don't write any code in it and just check center property TRUE and then open with OpenSheet as you are doing right now.

I am sure something goes wrong with PB when you change window type from one to another and then window behaviour couldn't remain the same.

Regards,
Sandeep
0
 
diasroshanCommented:
Hi,

just for investigation sake, can u backup w_p10000 and create a new window from scratch and copy all related DWs and script and save as w_p10000.

The above behaviour is unknown. Try the above and let us know the results.

Cheers,
Rosh
0
 
basilhs_sAuthor Commented:
when i created w_p10000 window from scratch everything worked ok
0
 
sandeep_patelCommented:
I am more curious to know if center property worked in your new window without code to arrange the window in center.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now