On 12/10/2011 09:46 AM, Wahono wrote:
> Strange!
> I know where the problem come from.
> 
> I use event oncellevent, when I call iscellclick(info,[ccr_dblclick]), the 
> problem is got. But after I remove iscellclick(info,[ccr_dblclick]), that is 
> OK.
> 
> procedure tfrmfindsalesorderidfo.wgrid_oncellevent(const sender: TObject;
>                var info: celleventinfoty);
> begin
>  if iscellclick(info,[ccr_dblclick]) then begin
>   addselection(tpopupmenu1);
>  end else if iscellkeypress(info,key_space,[],[]) then begin
>   addselection(tpopupmenu1);
>  end;
> end;
> 
iscellclick() sets es_processed in key event info if it returns true by
key press.
Please use
"
iscellclick(info,[ccr_dblclick,ccr_nokeyreturn]);
"

Martin

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to