Hi everyone, I'm a newbie, I'm working in not so popular IDE called HiAsm, which uses KOL library, I needed to change Combobox height (height of the edit box, not the dropdown list), and encountered that it's not normally changeable and depends on the font size. I searched for a solution on HiAsm, FreePascal and Delphi resources and as I understood this issue is pretty much universal and to solve it I have to change the Style to one of OwnerDraw options (something like csOwnerDrawEditableFixed in Lazarus/LCL or coOwnerDrawFixed in KOL I believe?) and ItemHeight to let's say 14.
But my IDE doesn't provide a GUI way to set the Style property like in Lazarus. I need to add a piece of inline code which will overwrite the Combobox properties. Unfortunately I'm very new to this, I'm not good with writing code yet and I failed to write it myself in this case.
May I ask for an example of the code that does that in Lazarus, so I could try to port it, or a code that naturally works with KOL, that would be even better.
Thank you.
/edited.