Hi Martin,

   I am working with tabsubform example.  I changed some lines to assign a
new event to dbgrid.

   In main.pas

  public
    tab3: ttab3fo;
    procedure s(const sender:tobject); <-----    added
    .....................
.............................................
..................................................
procedure tmainfo.getsub3exe(const sender: TObject;
               var submoduleclass: widgetclassty; var instancevarpo:
pwidget);
begin
 submoduleclass:= ttab3fo;
 instancevarpo:= @tab3;
 tab3.tdbstringgrid1.onenter:=s;  ------->  added      (  I have  Error:
Wrong number of parameters specified for call to "s")
end;

procedure s(const sender:tobject);
begin
 showmessage('enter');
end;


please give me some orientations or working around.
best regards.
Med
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to