Home » Developer & Programmer » Forms » Canvas Color STOPPED changing color programatically (Oracle 10.2.0 Forms 6.0.8)
Canvas Color STOPPED changing color programatically [message #685352] Wed, 15 December 2021 19:55
bluetooth420
Messages: 146
Registered: November 2011
Senior Member
Hi all,

I am facing a weird problem regarding Canvas color changing.

I had written a code in When-New-Form-Instance which is as follow
message(2); pause;	
message(get_Canvas_property('CANVAS16', BACKGROUND_COLOR));

--mcbgc is a varchar2 having r255g255b0   

  Set_Canvas_property('CANVAS16', BACKGROUND_COLOR, mcbgc);
  synchronize;

message(3); pause;
message(get_Canvas_property('CANVAS16', BACKGROUND_COLOR));
  

The above code has worked perfectly for many years.

It has stopped working now.

The only change i have noticed is change in NLS_LANG from "AMERICAN_AMERICA.WE8ISO8859P1" to "AMERICAN_AMERICA.UTF8" in the windows registry.
But even then the above worked for many years but now.


Looking input from experts on the issue.

Thanks

Previous Topic: Migration and upgrades
Next Topic: FORMS 12C: WEB.SHOW_DOCUMENT() is NOT WORKING (5 merged)
Goto Forum:
  


Current Time: Thu Mar 28 04:42:01 CDT 2024