Solved

powerbuilder , opensheet , messagebox

Posted on 2009-03-31
4
1,499 Views
Last Modified: 2013-12-26
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
Comment
Question by:basilhs_s
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
sandeep_patel earned 250 total points
ID: 24029423
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
 
LVL 18

Assisted Solution

by:diasroshan
diasroshan earned 250 total points
ID: 24038557
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
 

Author Closing Comment

by:basilhs_s
ID: 31564730
when i created w_p10000 window from scratch everything worked ok
0
 
LVL 14

Expert Comment

by:sandeep_patel
ID: 24045273
I am more curious to know if center property worked in your new window without code to arrange the window in center.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question