PDA

View Full Version : RibbonBar



Peter Bosch
28-Jan-2015, 10:05 AM
I converted a Project from 17.1 to 18.1.
It worked fine, only the RibbonBar looks strange. I attached 2 files. That from 17.1 looks normal, the one from 18.1 i mostly black.
Any idea where I can look into?

Regards
Peter

Hans van de Laar
28-Jan-2015, 10:26 AM
Peter,

You probably need to copy the Office2007.dll into your programs folder.

Stephen W. Meeley
28-Jan-2015, 11:03 AM
Peter,

18.1 uses a newer revision of the CodeJock controls so make sure that the local copies of the themes in your workspaces program folder are updated to the newer versions. Simply compare the contents of the 18.1 Lib folder and your workspace Programs folder to see what has changed.

Peter van Mil
28-Jan-2015, 11:12 AM
Peter,

There is a thread about it. The solution has to be in this:



Procedure OnCreateCommandBars
...
Boolean bOk
Get LoadResourceImagesFromFile "Office2007.dll" "" to bOk
If bOk Set peVisualTheme to xtpThemeResource
End_Procedure

Peter Bosch
29-Jan-2015, 06:08 AM
Thank you for all the tipps. The hint from Peter van Mil made it.

Best regards,
Peter