Recent

Author Topic: Questions about KControls?  (Read 1881 times)

katronix

  • Jr. Member
  • **
  • Posts: 54
Questions about KControls?
« on: May 22, 2018, 06:40:24 pm »
Hey all,

Would this be the proper place to ask questions specifically about KControls? (specifically the RTF component?) And sorry for the possible cross-post.

Though my first question could be classified as Lazarus general.

KControls comes with a really nice RTF Word Processor, as a component, I was curious if I wanted to modify the menu bar in my app (w/o changing the original source) how would I go about that? I tried adding my menu component on to to the pre-defined menu, and that didn't work.

Menu := FFrame.MainMenu + MenuItem1;
However, this got me:

Main.pas(48,27) Error: Operator is not overloaded: "TMainMenu" + "TMenuItem"

If someone could point me to the right direction, I'd appreciate it.

Chris

 

TinyPortal © 2005-2018