[MSEide-MSEgui-talk] MSEgui-style C/C++-based framework :)

2013-04-24 Thread Ivanko B
http://www.ecere.com

Sometimes it's very needed to reuse C++ DLLs and..

--
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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] assign event.

2013-04-24 Thread Med Hamza
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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] assign event.

2013-04-24 Thread Graeme Geldenhuys
On 2013-04-24 20:37, Med Hamza wrote:
  tab3.tdbstringgrid1.onenter:=s;
 Wrong number of parameters specified for call to s)
 end;


Change that line to...

  tab3.tdbstringgrid1.onenter := @s;


FPC compiler mode 'objfpc' requires that you correctly reference a
method pointer.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] MSEgui program crush

2013-04-24 Thread Alexandre Minoshi
Hello!

One guy send me next e-mail:
=
First, I do want to let you know that I do use pacmanxg from a root 
login and it works without any problems. The issue I'm having is with 
non-root logins, when the user su's to the root user or sudo's the 
program call, or uses ssx to start it up.

When a non-root user su's to the root user, then runs pacmanxg or 
export display=:0 ; pacmanxg, or sudo's the program call, the program 
crashes as follows:

[jghodd@bluestar ~]$ sudo pacmanxg
No protocol specified
An unhandled exception occurred at $0807F208 :
egui : Can not connect to display tinternalapplication .
   $0807F208
   $0807F31D
   $0804E7F0
   $0807B970
   $0804E744
   $0804E44D
   $0804E269

An unhandled exception occurred at $0804C9EF :
An unhandled exception occurred at $B745DDF8 :

[jghodd@bluestar ~]$ su -c pacmanxg
No protocol specified
An unhandled exception occurred at $0807F208 :
egui : Can not connect to display tinternalapplication .
   $0807F208
   $0807F31D
   $0804E7F0
   $0807B970
   $0804E744
   $0804E44D
   $0804E269

An unhandled exception occurred at $0804C9EF :
An unhandled exception occurred at $B7415DF8 :

[jghodd@bluestar ~]$ su - -c pacmanxg
Password:
An unhandled exception occurred at $0807F208 :
egui : Can not connect to display tinternalapplication .
   $0807F208
   $0807F31D
   $0804E7F0
   $0807B970
   $0804E744
   $0804E44D
   $0804E269

An unhandled exception occurred at $0804C9EF :
An unhandled exception occurred at $B7434DF8 :
==end of e-mail===


Unfortunaly I can not reproduce this error on my computer :-\
How to help him?


Yours,
Alexandre Minoshi

--
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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] MSEgui program crush

2013-04-24 Thread Martin Schreiber
On Thursday 25 April 2013 04:19:09 Alexandre Minoshi wrote:
 Hello!

 One guy send me next e-mail:
 =
 First, I do want to let you know that I do use pacmanxg from a root
 login and it works without any problems. The issue I'm having is with
 non-root logins, when the user su's to the root user or sudo's the
 program call, or uses ssx to start it up.

Probably an Xauthority issue. AFAIK kdesu and gnomesu handles this. Google 
lists many hits about it, a Linux expert is wanted for help. 

Martin

--
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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk