Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "KOL";
Текущий архив: 2010.01.10;
Скачать: [xml.tar.bz2];

Вниз

KOL LabeledEdit   Найти похожие ветки 

 
Jon ©   (2008-03-13 04:28) [0]

Is there a TLabeledEdit equivalent for KOL?
It should allow keyboard accelerator to activate editbox.
Thanks in advance.


 
Demt   (2008-03-18 17:38) [1]

LabelEdit = standart label with AcceptChildren plus EditBox.


 
Jon ©   (2008-03-18 21:41) [2]

But if label has accelerator like &Label1 then when I press ALT+L on keyboard I want the editbox to receive focus. Is this possible?


 
Jon ©   (2008-05-05 20:49) [3]

The VCL has property "FocusControl" - I think that is what is required in KOL.


 
Thaddy   (2008-05-06 16:24) [4]

The other way around? Editbox + acceptchildren + label? (didn"t try it)
Must be easy to implemen, though


 
Jon ©   (2008-05-06 16:38) [5]

I tried that to - but the label can only be within the editbox entry field, not outside it.

I also tried a panel with a label and editbox, with focus going to the editbox on focus, but trouble is I still cannot use keyboard accelerators as with the VCL TLabeledEdit.


 
Thaddy   (2008-05-06 17:07) [6]

OnMessage on the label, can focus := true, Catch In the OnMessage handler WM_FOCUS and send it to the editbox.


 
Jon ©   (2008-05-06 20:18) [7]

Thanks. Good idea, OK with mouse click, but not with keyboard accelerator.

I shall have to investigate why labels do not respond to keyboard accelerators.



Страницы: 1 вся ветка

Форум: "KOL";
Текущий архив: 2010.01.10;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.004 c
15-1257939671
Раиса
2009-11-11 14:41
2010.01.10
Как построить график функции (9 класс школы)


15-1257541254
Игорь Шевченко
2009-11-07 00:00
2010.01.10
Дмитрий Заварзин aka Думкин, с днем рождения!


4-1226515228
АгатаКристи
2008-11-12 21:40
2010.01.10
Настройка TCP/IP


2-1258544549
Oleg1963
2009-11-18 14:42
2010.01.10
Ищу родителей. Использование GetParent.


1-1232729509
webpauk
2009-01-23 19:51
2010.01.10
Рисование на ListBox.Canvas





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский