Source language: Translate to:

Left mouse click action on DBPro Grid

Questions about our Advanced Database plug-in

Moderator: Neosoft Support

Re: Left mouse click action on DBPro Grid

Postby ebear » Sat May 17, 2014 3:20 pm

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
http://www.lunarsoftware.eu - Lunar Software ERP database Development. Manufacturing processes, Document management, QMS, Stock management. Standalone solutions or connected to Helios Orange and other ERP systems.
User avatar
ebear
 
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic

Re: Left mouse click action on DBPro Grid

Postby mishem » Sat May 17, 2014 3:34 pm

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.
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: Left mouse click action on DBPro Grid

Postby ebear » Sun May 18, 2014 9:10 am

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
http://www.lunarsoftware.eu - Lunar Software ERP database Development. Manufacturing processes, Document management, QMS, Stock management. Standalone solutions or connected to Helios Orange and other ERP systems.
User avatar
ebear
 
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic

Re: Left mouse click action on DBPro Grid

Postby ebear » Sun May 18, 2014 9:35 am

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
http://www.lunarsoftware.eu - Lunar Software ERP database Development. Manufacturing processes, Document management, QMS, Stock management. Standalone solutions or connected to Helios Orange and other ERP systems.
User avatar
ebear
 
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic

Re: Left mouse click action on DBPro Grid

Postby dec » Sun May 18, 2014 9:43 am

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.
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: Left mouse click action on DBPro Grid

Postby mishem » Mon May 19, 2014 4:14 pm

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.
mishem
 
Posts: 575
Joined: Mon Oct 08, 2012 1:51 pm

Re: Left mouse click action on DBPro Grid

Postby ebear » Tue May 20, 2014 2:17 pm

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
http://www.lunarsoftware.eu - Lunar Software ERP database Development. Manufacturing processes, Document management, QMS, Stock management. Standalone solutions or connected to Helios Orange and other ERP systems.
User avatar
ebear
 
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic

Re: Left mouse click action on DBPro Grid

Postby dec » Tue May 20, 2014 2:19 pm

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. ;)
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Previous

Return to NeoBookDBPro

Who is online

Users browsing this forum: No registered users and 1 guest

cron