1. Devang Modi
  2. PowerBuilder
  3. Tuesday, 17 April 2018 15:55 PM UTC

Hi Techies,

 

When we run application on Web (IE) during running if we disable column & making its backgroundcolor color as Gray then color is not taking effect, it becomes black color. When we again enable it and change background color within application based on some conditions then field's background color is not taking effect. still its remain as black.

 

Do we need to handle it differently?

 

Thanks & Regards,
Devang Modi.

Lars Mosegaard Accepted Answer Pending Moderation
  1. Wednesday, 18 April 2018 01:50 AM UTC
  2. PowerBuilder
  3. # 1

It could be the backgroundmode of the column.  Transparent needs a different background mode from a real colour...

Comment
  1. Devang Modi
  2. Wednesday, 18 April 2018 05:30 AM UTC
Hi ZhoaKai,



Same code is working fine when we run same application in Native PB. But its display black background color when we run same application in Appeon Web. While checking further I had found that we are not followed standard coding procedure due to that Native PB is able to identify it and worked fine but Appeon Web is not working. 



Below are code snippet:



Old Code

ls_mod = "dependent_on.BackGround.Mode=0 dependent_on.BackGround.Color=" + String(RGB(192,192,192)) + "dependent_on.Protect=1"  + "dependent_on.editmask.Required=no"



Issue in above code:

Space is not provided after each property change. Corrected code as below: 

ls_mod = "dependent_on.BackGround.Mode=0 dependent_on.BackGround.Color=" + String(RGB(192,192,192)) + " dependent_on.Protect=1"  + " dependent_on.editmask.Required=no"



 



Probably we can mention same thing in Appeon Documentation so while migration Developer can take care of it. 



Thanks a lot for your quick reply. 



Thanks & Regards,

​Devang Modi.

  1. Helpful
There are no comments made yet.
Appeon Support Team Accepted Answer Pending Moderation
  1. Wednesday, 18 April 2018 01:34 AM UTC
  2. PowerBuilder
  3. # 2

Hi,

I did not reproduce this issue. We recommend opening a support ticket and submitting your test case to Appeon Support: https://www.appeon.com/standardsupport/newbug so we can work on it. 

And please provide a simple PB case to reproduce this issue to us for more study, thanks.

Regards,
ZhaoKai

Comment
  1. Devang Modi
  2. Wednesday, 18 April 2018 05:29 AM UTC
Hi ZhoaKai,



Same code is working fine when we run same application in Native PB. But its display black background color when we run same application in Appeon Web. While checking further I had found that we are not followed standard coding procedure due to that Native PB is able to identify it and worked fine but Appeon Web is not working. 



Below are code snippet:



Old Code

ls_mod = "dependent_on.BackGround.Mode=0 dependent_on.BackGround.Color=" + String(RGB(192,192,192)) + "dependent_on.Protect=1"  + "dependent_on.editmask.Required=no"



Issue in above code:

Space is not provided after each property change. Corrected code as below: 

ls_mod = "dependent_on.BackGround.Mode=0 dependent_on.BackGround.Color=" + String(RGB(192,192,192)) + " dependent_on.Protect=1"  + " dependent_on.editmask.Required=no"



 



Probably we can mention same thing in Appeon Documentation so while migration Developer can take care of it. 



Thanks a lot for your quick reply. 



Thanks & Regards,

Devang Modi.

  1. Helpful
  1. Govinda Lopez @Appeon
  2. Wednesday, 18 April 2018 23:14 PM UTC
Hi Devang,



 



Thank you for your input. I will pass this as a documentation enhancement request.



 



 



Regards,

  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.
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.