SpriteWidth(), SpriteHeight() in quick help not displayed

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

SpriteWidth(), SpriteHeight() in quick help not displayed

Post by Psychophanta »

...and probably others, in PB4.40 windows x86.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: SpriteWidth(), SpriteHeight() in quick help not displayed

Post by gnozal »

Psychophanta wrote:...and probably others, in PB4.40 windows x86.
No problem here with SpriteWidth() nor SpriteHeight() (4.40 windows x86).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: SpriteWidth(), SpriteHeight() in quick help not displayed

Post by Psychophanta »

:?:
I see , neither here, but...
try with this line

Code: Select all

Protected Dim Spr.l(SpriteWidth(*Sprite\No),SpriteHeight(*Sprite\No))
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: SpriteWidth(), SpriteHeight() in quick help not displayed

Post by gnozal »

Psychophanta wrote::?:
I see , neither here, but...
try with this line

Code: Select all

Protected Dim Spr.l(SpriteWidth(*Sprite\No),SpriteHeight(*Sprite\No))
If I paste this code in the PB IDE, I see the quick help line "SpriteWidth(#Sprite) - Return the width in pixel of the specified sprite" for SpriteWidth() in the statusbar.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: SpriteWidth(), SpriteHeight() in quick help not displayed

Post by Psychophanta »

gnozal wrote:If I paste this code in the PB IDE, I see the quick help line "SpriteWidth(#Sprite) - Return the width in pixel of the specified sprite" for SpriteWidth() in the statusbar.
:shock:
Damn, i just paste it in the editor but nothing appears in the status bar, quickhelp doesn't work here with that line.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: SpriteWidth(), SpriteHeight() in quick help not displayed

Post by Vera »

Hi

if I place the cursor within SpriteWidth or SpriteHeight I get no quickhelp

BUT: if I place the cursor within (*Sprite\No) or (*Sprite\No) I get these hints

BUT: removing one of the outer brackets of your example I get the hints (independent of the cursor-position) and also when using e.g. SpriteWidth(*Sprite\No) on its own or behind other commands.

greetings ~ Vera
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: SpriteWidth(), SpriteHeight() in quick help not displayed

Post by Psychophanta »

The same here, so looks like a bug in the editor.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply