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
2 registered members (TipmyPip, 1 invisible), 18,699 guests, and 8 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
Page 2 of 2 1 2
Re: Button in a Panel/ lite c [Re: MrGuest] #235322
11/07/08 00:21
11/07/08 00:21
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
you can do this without extra string definition:

TEXT* a_txt =
{//------------------------------------
pos_x = 180;
pos_y = 223;
layer = 4;
font = georgia_font;
string ("text one");
flags = VISIBLE;
}

function NewText()
{//------------------------------------
str_cpy((a_txt.pstring)[0], "text two");
}


3333333333
Re: Button in a Panel/ lite c [Re: MrGuest] #236267
11/13/08 07:19
11/13/08 07:19
Joined: Nov 2007
Posts: 60
D
darci Offline OP
Junior Member
darci  Offline OP
Junior Member
D

Joined: Nov 2007
Posts: 60
great ^^ thx

Re: Button in a Panel/ lite c [Re: darci] #238621
11/28/08 17:46
11/28/08 17:46
Joined: Nov 2007
Posts: 60
D
darci Offline OP
Junior Member
darci  Offline OP
Junior Member
D

Joined: Nov 2007
Posts: 60
one more problems

i want create about 40 texts and each of them should get a own variable position

how can i make it, i mean to create 40 TEXT* cant´t be the only one way or?

Re: Button in a Panel/ lite c [Re: darci] #238622
11/28/08 17:47
11/28/08 17:47
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
create a TEXT array and use txt_create


3333333333
Re: Button in a Panel/ lite c [Re: Quad] #238705
11/29/08 14:18
11/29/08 14:18
Joined: Nov 2007
Posts: 60
D
darci Offline OP
Junior Member
darci  Offline OP
Junior Member
D

Joined: Nov 2007
Posts: 60
could you please show me it with a sample i dont get it right now smirk

Page 2 of 2 1 2

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