Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by NeoDumont. 07/15/26 16:38
Z9 getting Error 058
by jcl. 07/15/26 15:07
Zorro version 3.0 prerelease!
by madpower2000. 07/14/26 20:11
Accepting new programming clients
by AndrewAMD. 07/14/26 19:32
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 07/09/26 13:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (AndrewAMD, TipmyPip, madpower2000), 2,766 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 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