Solved

powerbuilder , opensheet , messagebox

Posted on 2009-03-31
4
1,460 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
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
sandeep_patel earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
when i created w_p10000 window from scratch everything worked ok
0
 
LVL 14

Expert Comment

by:sandeep_patel
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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: …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now