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,619 guests, and 5 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
pan_create <--> bmap_create #168132
11/18/07 23:01
11/18/07 23:01
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
TripleX Offline OP
Expert
TripleX  Offline OP
Expert

Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
Hey,

I'm not sure for 100% (can not always reproduce it) but I believe that buttons in a dynamically created panel (pan_create) are not visible if the bitmap assigned to the button is created dynamically with bmap_create.

Thanks,
Timo

Re: pan_create <--> bmap_create [Re: TripleX] #168133
11/19/07 10:08
11/19/07 10:08
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
All definitions in a programming language are evaluated at compile time. The compiler won't know which bmap you want to assign to your pointer at runtime.

This is why the manual states:

BMAPS USED IN ANY OBJECT DEFINITION MUST BE REAL BMAPS THAT ALREADY EXIST.

If you use bmap pointers, you'll get what they contain at compile time. If they contain NULL you won't see much of them at runtime.

Re: pan_create <--> bmap_create [Re: jcl] #168134
11/19/07 11:25
11/19/07 11:25
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
TripleX Offline OP
Expert
TripleX  Offline OP
Expert

Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
Yep sorry, I only searched the in the bmap/pan_create and bmap_create section of the manual and didn't find the quote above.

Thanks.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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