You are not logged in.

Jaume

Beginner

  • "Jaume" started this thread

Posts: 13

Location: Poland

Occupation: Photogrammetrist

  • Send private message

1

Monday, January 2nd 2023, 2:23pm

How to add subitems to combobox

Hi,
Is there any simple way to add subitems to main item in combobox? I'd like to create a combobox that allows the user to expand an additional list after clicking on one of the available positions in main list (items).

I put the image as I'd like it to work in the attachments.Thank you for any support.
Jaume has attached the following file:
  • subitems.png (36.41 kB - 33 times downloaded - latest: Mar 5th 2023, 8:27am)

Jaume

Beginner

  • "Jaume" started this thread

Posts: 13

Location: Poland

Occupation: Photogrammetrist

  • Send private message

3

Tuesday, January 3rd 2023, 12:45pm

Thank you for your offer but I need only a simple solution for the small case.

I'm wodenring if it's possible to insert two combobox one above the other in such a way that the first one when is unfodling, the second one moves down together with the expand layer (underneath) instead of being covered by the first one. What settings for combobox I need to use to make it happend?
Jaume has attached the following images:
  • combobox.jpg
  • combobox2.jpg
Jaume has attached the following file:
  • combobox1.png (24.83 kB - 13 times downloaded - latest: Mar 5th 2023, 8:27am)

San7

Professional

Posts: 591

Occupation: coding in krpano

  • Send private message

4

Wednesday, January 4th 2023, 3:17pm

Hello, as far as I understand, there are no such settings in the combobox. You can only write your own code or use ready-made solutions.
Approximately what you want here https://novosibpano.ru/VT/menu/, only this option automatically changes the position of the menu depending on the width of the window, try shrinking the browser.
San7 has attached the following image:
  • m.jpg

Similar threads