Recent

Author Topic: I have a list from songs!  (Read 23000 times)

Neprofi

  • Full Member
  • ***
  • Posts: 174
I have a list from songs!
« on: June 03, 2015, 09:23:46 pm »
there is a list from English sounds what not to use Label where I have to enter the name, a transcription and a sound, I want it to load from file txt that it would be one after another with a sound postscoring! how it is better for me to load into Memo1 or listbox? that when pressing Button to me would play a sound and information on a sound was output, we will allow: the postscoring goes the words abaut and in Memo the translation of this word a transcription is brought out of file txt! help me to issue somehow! thanks for earlier!

BitBangerUSA

  • Full Member
  • ***
  • Posts: 183
Re: I have a list from songs!
« Reply #1 on: June 04, 2015, 06:12:31 am »
you may want to post in your native language and with Goggle Translation.
even after reading your first post a few times, it is not clear what you want to do.

English sounds := Songs?

'translation of this word' := translation from English to other Human language?
                                         or
'translation of this word' := translation from other Human language to English?

how many sounds/songs?

defined within your program or allow user to enter?
Lazarus Ver 2.2.6 FPC Ver 3.2.2
Windows 10 Pro 64-bit

rvk

  • Hero Member
  • *****
  • Posts: 7045
Re: I have a list from songs!
« Reply #2 on: June 04, 2015, 10:24:18 am »
you may want to post in your native language and with Google Translation.
even after reading your first post a few times, it is not clear what you want to do.
I have a feeling this already might be a translation via Google Translate from Russian to English.
(I've noticed that for some languages Google doesn't do so well with grammar.)

Maybe if, it isn't clear enough, the Bing Translator might do a better job.
(Not sure, though, because for me it's all gibberish :))

But it's best to (also) include your own text in Russian so somebody with knowledge of Russian can see what you mean.

[translated]
У меня есть ощущение это уже может быть перевод через Google Translate с русского на английский.
(Я заметил, что с некоторых языках Google не делает так хорошо с грамматикой).

Может быть, если это не ясно достаточно, Bing Переводчик может сделать работу лучше.

Но это лучше (также) включить свой собственный текст на русском языке, так что кто-то с знанием русского можно увидеть, что вы имеете в виду.
[/translated]

Neprofi

  • Full Member
  • ***
  • Posts: 174
Re: I have a list from songs!
« Reply #3 on: June 04, 2015, 02:51:58 pm »
Ок пишу по русски! а вы переводите, если не понятно)))))  у меня есть список песен который задан в список! Stringlist. Слова в английском языке разные, вот и эти звуки связаны из разных слов, и каждому звуку у меня есть перевод, транскрипция, которые записаны в txt файле ! как можно вывести их из txt файла, допустим в Memo или ListBox, и сделать разноцветным текстом. Смотрим пример:

//Вывести все в Memo end ListBox из txt файла)
привет //green
[haɪ]    //blue
hi         //yellow


за ранее Спасибо)))

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: I have a list from songs!
« Reply #4 on: June 04, 2015, 04:26:49 pm »
You can use RichMemo to produce colored text.

« Last Edit: June 04, 2015, 04:28:35 pm by skalogryz »

Neprofi

  • Full Member
  • ***
  • Posts: 174
Re: I have a list from songs!
« Reply #5 on: June 04, 2015, 06:34:21 pm »
Это мне не помогло читайте внимательней вопрос! как  txt файл загрузить в Memo end Listbox и сделать текст разними цветами!

//Пример:

привет //зеленый
[haɪ] //синий
Hi //желтый

sfeinst

  • Sr. Member
  • ****
  • Posts: 259
Re: I have a list from songs!
« Reply #6 on: June 04, 2015, 07:10:14 pm »
Can you show examples of what you want?  Maybe a short example of file.  A picture of the screen before and after you read the file.  If you can't find a way to draw the screen as an example, just draw on a piece of paper and scan it.

Pictures can sometimes overcome language differences.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: I have a list from songs!
« Reply #7 on: June 04, 2015, 07:23:17 pm »
Это мне не помогло читайте внимательней вопрос! как  txt файл загрузить в Memo end Listbox и сделать текст разними цветами!
А что такое Memo end Listbox?

Вот как это может выглядеть с RichMemo.

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: I have a list from songs!
« Reply #8 on: June 04, 2015, 08:00:33 pm »
Oh, yes, of course a RichEdit control could fit your needs, since you need formatted text.

It could be readonly and would be very much like a TListBox, but with formatted text.
« Last Edit: June 04, 2015, 08:05:01 pm by typo »

Neprofi

  • Full Member
  • ***
  • Posts: 174
Re: I have a list from songs!
« Reply #9 on: June 04, 2015, 08:27:18 pm »
Этот текст у меня записан в txt файле а как вывести его в RichMemo хотя бы??? сейчас скрин покажу
« Last Edit: June 09, 2015, 09:26:53 pm by Neprofi »

Neprofi

  • Full Member
  • ***
  • Posts: 174
Re: I have a list from songs!
« Reply #10 on: June 04, 2015, 08:33:05 pm »
Ну должно получится что этот список грузится из txt или ini файла(((
во типо с такого файла!
« Last Edit: June 09, 2015, 09:27:21 pm by Neprofi »

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: I have a list from songs!
« Reply #11 on: June 04, 2015, 08:34:23 pm »
You should format the text in the control and save it as an RTF file.

Neprofi

  • Full Member
  • ***
  • Posts: 174
Re: I have a list from songs!
« Reply #12 on: June 04, 2015, 08:38:56 pm »
кокой текст отформатировать??? я не понял Вас(

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: I have a list from songs!
« Reply #13 on: June 04, 2015, 08:41:35 pm »
Formatted, yes:

Colored, bold, italic, underline, strikeout, different font sizes.
« Last Edit: June 04, 2015, 08:43:40 pm by typo »

Neprofi

  • Full Member
  • ***
  • Posts: 174
Re: I have a list from songs!
« Reply #14 on: June 04, 2015, 08:44:59 pm »
Вы хотите мне помочь?? в программе??? если да то мне надо что бы в Memo1 выводилась информация которая записана у меня в txt файл)))

 

TinyPortal © 2005-2018