Forum > Designer
Custom component: Capture clicks and select an item in Designer
howardpc:
Your ClickedItem and HoveredItem are public, and so not available in the Object Inspector.
And your published Items property is the entire collection, so cannot show selection of any individual item, and your
--- Code: ---Items.Item[x]
--- End code ---
array property is a type of property that cannot be published.
hukka:
--- Quote from: howardpc on January 07, 2023, 06:22:31 pm ---Your ClickedItem and HoveredItem are public, and so not available in the Object Inspector.
And your published Items property is the entire collection, so cannot show selection of any individual item, and your
--- Code: ---Items.Item[x]
--- End code ---
array property is a type of property that cannot be published.
--- End quote ---
Hi,
The items are already visible and editable in the component editor. I'd only like to automatically select the one I click on the toolbar component. I should've just posted an image to clarify in my first post:
howardpc:
Are you able to post a compilable project that produces the screenshot you show?
The code in your earlier post cannot be made into a compilable project because of missing BCxxxx unit dependencies.
JuhaManninen:
--- Quote from: howardpc on January 07, 2023, 10:19:44 pm ---Are you able to post a compilable project that produces the screenshot you show?
The code in your earlier post cannot be made into a compilable project because of missing BCxxxx unit dependencies.
--- End quote ---
Actually it is not a project but a package, although the .lpk file was not provided.
Yes, a full package ready to compile and install would be nice. Somebody could maybe help solving the designer integration problem. I don't promise to do that myself though.
hukka:
Sure, here's the installable package. Requires BGRABitmap and BGRAControls.
Navigation
[0] Message Index
[#] Next page
[*] Previous page