1. jay rajan
  2. PowerBuilder
  3. Friday, 17 May 2019 10:33 AM UTC

Hi all

please help me..

 

I create the exe in pb 17 but when i run the exe then login window is open then i submit my credintial then it is ok but after login , my workspace size is decrease or not maximixe automatically , there is need to manually maximize after login 

 

please help me

jay rajan Accepted Answer Pending Moderation
  1. Tuesday, 21 May 2019 08:42 AM UTC
  2. PowerBuilder
  3. # 1

please help

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Friday, 17 May 2019 18:33 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Jay -

You really did not give us much information. It sounds like your application executable does not open maximized as desired, if I understand you correctly.

The WindowState property of your window describes the initial state of the window when it opens. In the Window Painter, change this property in your window to Maximized! and the window should always open in a maximized state.

The PB Help topic for WindowState tells you how to code this behavior if you do not wish to set this property in the painter. In the window's Open event, code: This.WindowState = Maximized!

HTH

Comment
  1. jay rajan
  2. Monday, 20 May 2019 09:05 AM UTC


hi sir,

thanks for the reply



my window state already set maximized



problem is only that when my login window is open in maximize mode and it is ok

but after login my workspace size it decrease in pb 17 exe but not in pb 8
  1. Helpful
There are no comments made yet.
Matthew Balent Accepted Answer Pending Moderation
  1. Friday, 17 May 2019 17:13 PM UTC
  2. PowerBuilder
  3. # 3

Your PB.INI file should contain the information on window size, last workspace, objects, etc.  Normally it is kept in the %appdata% folder.

The default PB.INI is in the IDE installation folders.

 

I have a similar issue in PB19 but in my  case the IDE is maximized and I want it smaller.

Comment
  1. jay rajan
  2. Monday, 20 May 2019 09:08 AM UTC
hi sir,

thanks for the reply



in pb.in , already set maximize = 0

when i chage it to maximize = 1 or minimize = 1 or minimize = 0 then it cant affect my exe and as well as when my build is run manually
  1. Helpful
  1. jay rajan
  2. Monday, 20 May 2019 09:10 AM UTC
actually problem is only that when my login window is open then workspace is maximize mode and it is ok

but after login ,my workspace size it decrease in pb 17 exe but not in pb 8

it 's size is correct in pb 8 but not in pb 17
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 17 May 2019 14:47 PM UTC
  2. PowerBuilder
  3. # 4

Hi Jay;

  I am assuming that you are talking about the PB IDE. I cannot reproduce your issue. The IDE on a restart or coming back from running an App, always returns to the previous size / state it was last using.

Regards ... Chris

PS: Using PB2017R3 build 1880 on W10 10.0.17763

Comment
  1. jay rajan
  2. Monday, 20 May 2019 09:11 AM UTC
hi

thanks for reply

no i am talking about my build on running state

actually problem is only that when my login window is open in maximize mode and it is ok

but after login my workspace size it decrease in pb 17 exe but not in pb 8

it 's size is correct in pb 8 but not in pb 17
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 21 May 2019 18:25 PM UTC
FWIW: This is not something that the PB run-time would do on its own that I can think of. It sounds like something in your applciation's code maybe.

Note: The order of event firing has changed significantly since PB v 8.x. Also, if this is a PFC based APP - you would probably need to update your PFC layer to be PB 2017 compliant.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.