Модуль "Новое сообщение" (часть 3) - spSkinMemo1KeyPress
последняя версия: 3.0.9 build 961 beta
от 07 декабря 2007 г.
от 07 декабря 2007 г.
procedure TfrmAT_NewMessage.spSkinMemo1KeyPress(Sender: TObject; var Key: Char); var i: integer; begin i:= Length((Sender as TspSkinMemo).Text); case spSkinRadioGroup2.ItemIndex of 0: begin if (Key in [#13,'А'..'Я','а'..'я']) then Key:=#0; ///spSkinStdLabel2.Caption:= Format(at_sm_n_text_04,[IntTostr(i)]); end; 1: begin if key = #13 then Key:= #0; ///spSkinStdLabel2.Caption:= Format(at_sm_n_text_04,[IntTostr(i)]) end; end; spSkinStdLabel2.Caption:= Format(at_sm_n_text_04,[IntTostr(i)]); end;
Еще записи по теме
- Модуль "Пункты меню" (часть 66) - TVDragDrop
- Модуль "Свойства события" (часть 2) - процедуры
- Модуль "Мое меню" (часть 3) - GetMyMenu
- Модуль "ObexFM" (часть 6) - OBEX_SendCommand
- Модуль "Пункты меню" (часть 28) - EditNodeItemOld
- Модуль "Настройки" (часть 4) - HidePanels
- Модуль "Справочник" (часть 24) - Abonent_Edit
