Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,388 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Error in manual mouse_panel #395660
02/26/12 08:33
02/26/12 08:33
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
Hello !

I have an error in manual in mouse_panel :

The correct code is :

Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
	{
		if(mouse_left)
			if(mouse_panel)
				reset(mouse_panel,SHOW);
		wait(1);
	}
}



Djfeeler

Re: Error in manual mouse_panel [Re: djfeeler] #395661
02/26/12 10:14
02/26/12 10:14
Joined: Sep 2009
Posts: 1,032
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,032
Budapest
This is in the manual of the A7:
Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
  {
    if (mouse_left && mouse_panel) // left button pressed over panel?
      reset(mouse_panel,SHOW); // remove clicked panel
    wait(1);
  }  
}


What should be the wrong part of it?

Last edited by Aku_Aku; 02/26/12 10:14.
Re: Error in manual mouse_panel [Re: Aku_Aku] #395663
02/26/12 10:53
02/26/12 10:53
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
When I compile the compiler return syntax error can't convert ANDAND: FIXED:POINTER:LONG

with this code it is ok or with

Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
  {
    if (mouse_left && mouse_panel ==1) // left button pressed over panel?
      reset(mouse_panel,SHOW); // remove clicked panel
    wait(1);
  }  
}



Re: Error in manual mouse_panel [Re: djfeeler] #395664
02/26/12 10:55
02/26/12 10:55
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
The latest (private) beta fixed this, so please wait for the public beta. wink


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1