| View previous topic :: View next topic |
| Author |
Message |
Palk Selling plater
Joined: 16 Dec 2009 Posts: 48
|
Posted: Tue Mar 09, 2010 3:59 pm Post subject: Window Control |
|
|
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 |
|
 |
colmodea Group 2 winner
Joined: 11 Jun 2008 Posts: 765 Location: Carlow, Ireland.
|
Posted: Tue Mar 09, 2010 6:34 pm Post subject: |
|
|
| What language are you programming in? |
|
| Back to top |
|
 |
Palk Selling plater
Joined: 16 Dec 2009 Posts: 48
|
Posted: Tue Mar 09, 2010 6:43 pm Post subject: |
|
|
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 |
|
 |
colmodea Group 2 winner
Joined: 11 Jun 2008 Posts: 765 Location: Carlow, Ireland.
|
Posted: Tue Mar 09, 2010 9:17 pm Post subject: |
|
|
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 |
|
 |
Palk Selling plater
Joined: 16 Dec 2009 Posts: 48
|
Posted: Tue Mar 09, 2010 9:59 pm Post subject: |
|
|
| Yes Response.Redirect is only used on web applications and not windows application |
|
| Back to top |
|
 |
colmodea Group 2 winner
Joined: 11 Jun 2008 Posts: 765 Location: Carlow, Ireland.
|
Posted: Tue Mar 09, 2010 10:03 pm Post subject: |
|
|
| Sorry I wasn't any help.. |
|
| Back to top |
|
 |
Mark Site Admin
Joined: 02 Feb 2007 Posts: 670
|
Posted: Wed Mar 10, 2010 9:06 am Post subject: |
|
|
| 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 |
|
 |
Palk Selling plater
Joined: 16 Dec 2009 Posts: 48
|
Posted: Wed Mar 10, 2010 12:24 pm Post subject: |
|
|
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 |
|
 |
|