cancel
Showing results for 
Search instead for 
Did you mean: 

Toolbar disappear when ole control get focus

0 Kudos

I use Crystal Report ole control in my application. The main toolbar disappear when ole control get focus. is there any way i can get rid of this problem?

PB 12.5 with CR 2008

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Berka;

Looks like you may need to open a support case with SAP on this issue. It could be unique to the way the Crystal Reports plug-in works vs PB. Its hard to tell at this point which piece is at fault.

Regards ... Chris

0 Kudos

Hi Chris,

Yes its hard to tell which piece is at fault. At this point your suggestion is good. I need to ask the SAP support team if they can look into the problem. I will update this thread if SAP get it fixed for me. Thank you for giving it a try.

True Regards,

Berka Franfert

0 Kudos

Hi Chris,

I found no solution for that problem 🙂 damn. Thinking if you can give some idea how i can edit the ole control from Crystal Runtime. I think something like interop project in Visual Studio or ActiveX in VB6 can be used to edit the crystal runtime ole control we add in powerbuilder. Please give me some idea how the required ActiveX control can be edited in either VB or VS. All i want to do is set off the menu update option. I think when Crystal ole control get activated in PB, it try to set the Update option in main menu which i think is not required at all and that is what making problem. if somehow i can tell crystal not to change the Powerbuilder menue then toolbar wont disappear. I need some help to explore it. Need to know where to start what to focus on.

True Regards,

Berka

0 Kudos

Hi Chris;

Thank you so much for reading and answering my question.

Unfortunately the answer did not work for me. I believe if you test this on your system then this painful error will disappear.

I gave it a try but i need more detail. Please let me know what to do next.

Just to get an idea about what the issue is. following images might help others

After data is retrieved into the ole control, the toolbar just disappear

Former Member
0 Kudos

Hi Berka;

That is actually not an issue with PB as it is with your MENU object design. You'll see in the Menu Painter that Menu Items have a merge property and that is probably set to "exclude" by default. You would need to change that option to allow your menu items to either: merge or over-ride with the OLE object's menu items (and of course it's toolbar).

HTH

Regards ... Chris