Page 2 of 2

Re: Left mouse click action on DBPro Grid

PostPosted: Sat May 17, 2014 3:20 pm
by ebear
Hello Mishem and David,

I think I have found the problem. Mishem the way you use the zmSetMouseMonitor and zmDelMouseMonitor in the mouse enter and mouse exit is I think the solution.
Maybe the way you did it in your second sample would be even better.

I need some time to change a "lot" of things in my publication to be sure. After I have things running I will tell you the results.

Thanks a lot for so far and have a nice evening.

Regards,

Eric

Re: Left mouse click action on DBPro Grid

PostPosted: Sat May 17, 2014 3:34 pm
by mishem
The next time you ask the right question. Do not decide it for two weeks. :)
I have shown you is only the beginning of the solution. I think more you will be able to continue. There is still, in each case the approach should be. Well I do not know what actions occur before or after ...

You need to consider that when you open any windows or monitor may be lost and must be re-run. Or vice versa at the right moment to stop.

Re: Left mouse click action on DBPro Grid

PostPosted: Sun May 18, 2014 9:10 am
by ebear
Hi David, Mishem, All,

Most of the problems are solved, mainly using zmFunctions the way Mishem proposed was a big help.

The only problem that came after changing my script was the following see image:

Image

The application doesn't crash after clicking OK in the error windows, but it isn't of cause a really profs way to publish the application with this error.

Maybe someone has an idea????

Best regards,

Eric

Re: Left mouse click action on DBPro Grid

PostPosted: Sun May 18, 2014 9:35 am
by ebear
Hello All,

I made a simple sample pub with Mishems sample a bit modified, npPops and zmFunctions are required to run it. The error doesn't triggers always so some clicks are needed.
The error mainly comes up when opening, with a right click on one of the rectangles, the npPops menu and after this a left click on one of the rectangles (with the menu open).

http://fseg.eu/neobook/errorsample.pub

Image


Regards,

Eric

Re: Left mouse click action on DBPro Grid

PostPosted: Sun May 18, 2014 9:43 am
by dec
Hello,

Are you taking care to "stop" the mouse monitoring before shown the pop menu?

And what about another possible approach to do the task avoiding this problems?

I do not insist if do not considerer a possible and more affordable solution.

Re: Left mouse click action on DBPro Grid

PostPosted: Mon May 19, 2014 4:14 pm
by mishem
The error mainly comes up when opening, with a right click on one of the rectangles, the npPops menu and after this a left click on one of the rectangles (with the menu open).


I could not repeat the mistake.

1. This clearly gives an error plugin.
2. Try to determine what kind of plug-in generates this error. You can try to catch the moment in the debugger.
3. If zmFonstions download Russian version of the plugin and try it. If the error disappears, it means translation plugin was not made correctly. Pyotr was not the source code had to unpack unpacker and restore the file. Problems might occur. After the transfer was made, the problems could be added. (
4. Unlikely of course, but we can not exclude that plugins can conflict with each other.

Re: Left mouse click action on DBPro Grid

PostPosted: Tue May 20, 2014 2:17 pm
by ebear
Hello Mishem, Hello David,

Thanks both for your great help... everything works now fine!!!!
I will do some improvements yet, but the main solution was the Mishem's sample.

Regards,

Eric

Re: Left mouse click action on DBPro Grid

PostPosted: Tue May 20, 2014 2:19 pm
by dec
ebear wrote:Hello Mishem, Hello David,

Thanks both for your great help... everything works now fine!!!!
I will do some improvements yet, but the main solution was the Mishem's sample.

Regards,

Eric


Glad to know that. ;)