On 10/8/11, Flávio Etrusco <[email protected]> wrote:
>> Another approach might be to have a widgetset function like:
>>
>> function KeyCombo_IsCut(const Key: Word; const Shift: TShiftState):
>> Boolean
>>
>> or something like:
>>
>> type
>>  TCommonShortCut = (tcsUnknown,tcsCut, tcsPaste, tcsCopy, tcsBof, tcsEof);
>>
>> function KeyComboToCommonShortcut(const Key: Word; const Shift:
>> TShiftState): TCommonShortCut;
>> begin
>>  //default to tcsUnKnown;
>>  Result := tcsUnKnown;
>>  ...
>> end;
>>
>> Bart
>
> This is a very good idea.
> Check/Test/IsStandardShortCut? ;-)
>

Where (in what unit) should something like this be implemented then?

Bart

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to