1. CJ Lai
  2. PowerBuilder
  3. Thursday, 1 August 2019 19:04 PM UTC

Hi all

 

I have a quick question to which I have not found an answer online.

In the design mode, I put a command button on a window and need to set its Visible property in the IDE to unchecked (false).

It disappears from the window.

I thought that property values were only in action during the run time.

 

Is there a way to keep an object on a window visible in the design mode when the Visible property is UNchecked?

 

Thank you for your input/solution.

 

CJ

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 1 August 2019 19:26 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi CJ;

   In the Window Painter, check this option ...

HTH

Regards ... Chris

Comment
  1. CJ Lai
  2. Thursday, 1 August 2019 19:38 PM UTC
Thank you, Chris, for this pointer. Much appreciated! -CJ
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 1 August 2019 21:01 PM UTC
  2. PowerBuilder
  3. # 1

I just put 'this.Visible = False' in the constructor event. That way you can see the control in the painter.

 

Comment
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.