OlegTimkiv Posted April 11, 2019 Share Posted April 11, 2019 Добрый день! В зависимости от выбранного языка, изменяться свойство EmptyText. При присвоении значения свойству, ошибка "applyEmptyText is not a function". Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 11, 2019 Share Posted April 11, 2019 4 minutes ago, OlegTimkiv said: В зависимости от выбранного языка, изменяться свойство EmptyText Добрый день, Пожалуйста, можете уточнить вопрос ..? Quote Link to comment Share on other sites More sharing options...
stas Posted April 11, 2019 Share Posted April 11, 2019 Есть такое, встречается Решил созданием своей функции applyEmptyText 1 Quote Link to comment Share on other sites More sharing options...
MSMK Posted April 12, 2019 Share Posted April 12, 2019 15 hours ago, OlegTimkiv said: Добрый день! В зависимости от выбранного языка, изменяться свойство EmptyText. При присвоении значения свойству, ошибка "applyEmptyText is not a function". UniEdit1.JSInterface.JSCall('inputEl.el.dom.setAttribute', ['placeholder', 'Test']); Quote Link to comment Share on other sites More sharing options...
MSMK Posted April 12, 2019 Share Posted April 12, 2019 EmptyText.7z Quote Link to comment Share on other sites More sharing options...
MSMK Posted April 12, 2019 Share Posted April 12, 2019 юбилей) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 12, 2019 Share Posted April 12, 2019 Здравствуйте, Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 12, 2019 Share Posted April 12, 2019 Я не смог воспроизвести. Вы можете просто использовать EmptyText свойство: procedure TMainForm.UniButton1Click(Sender: TObject); begin //UniEdit1.JSInterface.JSCall('inputEl.el.dom.setAttribute', ['placeholder', 'Test']); UniEdit1.EmptyText := 'Test' end; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.