cancel
Showing results for 
Search instead for 
Did you mean: 

PowerBuilder.Net(V12.0) - Datawindow graph function not working

Former Member
0 Kudos

Hi,

I wanted to change the color of the datawindow graph created in PB.Net.

I created a user event with Event ID "pbm_dwngraphcreate".

I used the beloe function to change the color of the graph.

dw_1.SetDataStyle ("gr_1", 1,1,foreground!, ll_color)

dw_1.SetDataStyle ("gr_1", 1,1,shade!, ll_color)

dw_1.SetDataStyle ("gr_1", 1,1,LineColor!, ll_color)


But these are not getting reflected in datawindow. The same code with PB classic version works fine. But with .Net code its not working.

Is there anything we need to mention in particular for PB.net ?


Appreciate your help!.


Regards

Babin A B

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I am usinf wpf screen

Former Member
0 Kudos

Hi Babin;

  FWIW: PB 12.0 .NET had many issues with it as it was the 1st release of PB.Net product. I would suggest upgrading to at least PB 12.5.NET or better yet 12.6.NET to take advantage of the many fixes to the PB.net product in general.

Regards ... Chris

Former Member
0 Kudos

Hi Chris,

Thanks for your inputs.

I tired with PowerBuilder 12.5 .Net version. Still I am not able to change the datawindow color using "SetDataStyle " .

Let me know if there are any other options.

Thanks

Babin A B

Former Member
0 Kudos

Oh Dear ... 

Sounds like a PB.Net issue. You might want to create a simple example and open up a support ticket with SAP on this problem. If the code works OK in PB Classic - it should work the same in PB.Net.

The only other suggestion now would be to download the PB.Net v12.6 trial version and see if this problem is still an issue with the latest release.