Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (henrybane), 1,182 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | chip programmers | 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