git-svn-id: https://svn.code.sf.net/p/kolmck/code@52 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
This commit is contained in:
dkolmck
2010-03-18 18:37:07 +00:00
parent 83ed683a62
commit 6c878d4297
2 changed files with 9 additions and 15 deletions

View File

@ -406,7 +406,8 @@ begin
{$IFDEF _LE_DEBUG_}
AddLog(Sender, 'ListEdit:LVN_ITEMCHANGED');
{$ENDIF}
if (fCurLine <> fOwner.LVCurItem) then SetCurLVPos(fOwner.LVCurItem, fCurIdx);
if (fCurLine <> fOwner.LVCurItem) then
SetCurLVPos(fOwner.LVCurItem, fCurIdx);
end;
end;
end;
@ -429,10 +430,12 @@ begin
WM_KILLFOCUS:
begin
pLE := PEcmListEdit(Sender.Parent.CustomObj);
if not Assigned(pLE) then Exit;
with pLE^ do if (fEmbedEd and fAutoHide) then begin
InternalStopEdit(True);
HideInPlaceEd(True);
if Assigned(pLE) then begin
with pLE^ do
if (fEmbedEd and fAutoHide) then begin
InternalStopEdit(True);
HideInPlaceEd(True);
end;
end;
end;
// D[u]fa
@ -608,7 +611,7 @@ begin
fOnGetText(fOwner, fCurIdx, LVCurItem, S);
if bComboEditor then begin
fInPlaceEd.CurIndex := fInPlaceEd.IndexOf(S);
bComboEditor := False; //
bComboEditor := False; //
//fInPlaceEd.DroppedDown := True;
end else begin //if fEmbedEd then begin
if (fInPlaceEd.SubClassName = 'obj_COMBOBOX') then

View File

@ -81,18 +81,9 @@ contains
KOLPrinters in 'KOLPrinters.pas',
mckXPMenus in 'mckXPMenus.pas',
XPMenus in 'XPMenus.pas',
MCKGRushSplitterEditor in 'MCKGRushSplitterEditor.pas',
MCKGRushButtonEditor in 'MCKGRushButtonEditor.pas',
MCKGRushCheckBoxEditor in 'MCKGRushCheckBoxEditor.pas',
MCKGRushControls in 'MCKGRushControls.pas',
MCKGRushImageCollectionEditor in 'MCKGRushImageCollectionEditor.pas',
MCKGRushPanelEditor in 'MCKGRushPanelEditor.pas',
MCKGRushProgressBarEditor in 'MCKGRushProgressBarEditor.pas',
MCKGRushRadioBoxEditor in 'MCKGRushRadioBoxEditor.pas',
tinyPNG in 'tinyPNG.pas',
tinyJPGGIFBMP in 'tinyJPGGIFBMP.pas',
MZLib in 'MZLib.pas',
KOLGRushControls in 'KOLGRushControls.pas',
mckWebBrowser in 'mckWebBrowser.pas',
mckDHTML in 'mckDHTML.pas';