Skip to Content
0

Toolbar disappear when ole control get focus

Sep 06, 2017 at 01:00 AM

163

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Sep 07, 2017 at 08:30 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Sep 21, 2017 at 07:57 AM
0

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


b4data.png (35.4 kB)
afterdata.png (43.1 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Sep 21, 2017 at 01:47 PM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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
Former Member

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