Strategic Designs Ltd., forums Forum Index Strategic Designs Ltd., forums
Forums for Starters Orders 1,2,3,4 and Greyhound Manager
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Window Control

 
Post new topic   Reply to topic    Strategic Designs Ltd., forums Forum Index -> Development Discussion
View previous topic :: View next topic  
Author Message
Palk
Selling plater


Joined: 16 Dec 2009
Posts: 48

PostPosted: Tue Mar 09, 2010 3:59 pm    Post subject: Window Control Reply with quote

Well this is a little offtopic and i didn't know where to post this.
Well i'm a programmer and i'm having a stupid problem, but i need the fastest and easy way to solve my problem
If any programmer is there and want to help me i appreciate.
The problem is.....how to change windows after pressing button, i mean when we press the game load or declarations or anything else the window content changes....how to do that? i need it for a home program and i don't want to have multiple labels with multiple content....
How starters orders work with window control? I appreciate for help and sorry for the offtopic question
Back to top
View user's profile Send private message
colmodea
Group 2 winner


Joined: 11 Jun 2008
Posts: 765
Location: Carlow, Ireland.

PostPosted: Tue Mar 09, 2010 6:34 pm    Post subject: Reply with quote

What language are you programming in?
Back to top
View user's profile Send private message
Palk
Selling plater


Joined: 16 Dec 2009
Posts: 48

PostPosted: Tue Mar 09, 2010 6:43 pm    Post subject: Reply with quote

c#, but i don't need any piece of code, only teorical information
if you have piece of code it help also lolol you can show c++, etc.. that i know
Back to top
View user's profile Send private message
colmodea
Group 2 winner


Joined: 11 Jun 2008
Posts: 765
Location: Carlow, Ireland.

PostPosted: Tue Mar 09, 2010 9:17 pm    Post subject: Reply with quote

It's been a long time since I looked at any form of C.

I think the coding needs to be done in the "onclick" command behind the button, or create an event handler if using Visual Studio, and specify the page and location to be directed. By default, same window is the normal setting, unless you specify a new one.

I remember some command about Response.Redirect("pagetogoto.etc"), but not sure if this is limited to web forms only.

If this is more for web forms, just use the target command to specify _self.
Back to top
View user's profile Send private message
Palk
Selling plater


Joined: 16 Dec 2009
Posts: 48

PostPosted: Tue Mar 09, 2010 9:59 pm    Post subject: Reply with quote

Yes Response.Redirect is only used on web applications and not windows application
Back to top
View user's profile Send private message
colmodea
Group 2 winner


Joined: 11 Jun 2008
Posts: 765
Location: Carlow, Ireland.

PostPosted: Tue Mar 09, 2010 10:03 pm    Post subject: Reply with quote

Sorry I wasn't any help..
Back to top
View user's profile Send private message
Mark
Site Admin


Joined: 02 Feb 2007
Posts: 670

PostPosted: Wed Mar 10, 2010 9:06 am    Post subject: Reply with quote

All GUI objects were custom written from scratch in Starters Orders. No windows GUI objects are used. Probably better to ask on a windows programming forum.
Back to top
View user's profile Send private message
Palk
Selling plater


Joined: 16 Dec 2009
Posts: 48

PostPosted: Wed Mar 10, 2010 12:24 pm    Post subject: Reply with quote

Hmm thanks Mark, i already asked on proper forums but no one answer it i keep waitting.

Just to finish this, Mark you can control the object positions on the easy way?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Strategic Designs Ltd., forums Forum Index -> Development Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group