1. David Vasconcelos
  2. PowerBuilder
  3. Thursday, 27 August 2020 17:32 PM UTC

Have not found any syntax/code yet on how to zoom a richedit text control.  Does anyone know or have a workaround?

 

Is there a zoom coding option?  Issue when I place the richtext control on the window the typeable part of the control is on the left side but when zoom is changed it goes to center. If the window is resized then it goes back to the left. I would like it to start in center and keep it there but can't find way of doing this.

When window opens its on the left side (1st photo) then after changing zoom from tool bar it is centered (2nd photo)

 

Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Friday, 28 August 2020 03:34 AM UTC
  2. PowerBuilder
  3. # 1

Hi David,

 

I have tested this issue on PB 12.6 & PB 2019 and they all worked well.

Did you change the rich text control default pane size?

It seems that some code or other reasons have effected this functionally in your case.

So I suggest please kindly report this problem to our ticket system:https://www.appeon.com/standardsupport/newbug  so it can be properly received and tracked. 

And please also provide a sample PB test case (with PBT / PBL) when you submit it to the ticket system.

 

Regards,

 

Comment
  1. David Vasconcelos
  2. Friday, 28 August 2020 12:22 PM UTC
Hi Mark, I should have included the following PB 2017 R3. I will create a new window and make sure no code is change the default behavior of the richtext and see if that works are not.
  1. Helpful
  1. David Vasconcelos
  2. Friday, 28 August 2020 12:39 PM UTC
Hi Mark, the issues is with margins, if margins are zero works fine but if you give margins then that's where the issue comes from. I want to make it look like the page is centered and the user can see the entire page, hence using margins. Set all margins Left, right, top, bottom to 300.



  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.