0
Отвечен

Getting Text property of a selected list item.

rwa 5 лет назад в Tips and Tricks обновлен Aleksandr Romanov (CTO) 5 лет назад 6

I am trying to get the Text attribute from a list item,

The list items are added using user input, the user input gets put in the list as subitem '2' and is named 'Name'.

I am facing the problem that i cannot acces the list subitem Text aka the user input.

I however cannot send the user input using functions because i am using the list as a dynamic list.

I hope i gave enough information for my problem and i hope to see a reaction if anyone has a solution.

Thanks in advance

ХОРОШО, МНЕ ПОНРАВИЛОСЬ

a fast response

Оценка удовлетворенности от rwa 5 лет назад
На рассмотрении

Hello.

Can you attach your test project?

Design_rwa_V8_9-4-2019.irpz


the structure may be a little messy.

the problem lays within the pages:Rooms, Lighting.

and scripts: RoomItems, SaveRooms.

I will be happy to explain my way of thinking troughout the programming if it will help you understand what i am trying to do.

Thanks for the fast response



+1

Hello.

You can get Text from a list item by using the GetItemByIndex() method. Example in the attached project.

List_Text.irpz

Сервис поддержки клиентов работает на платформе UserEcho