| View previous topic :: View next topic |
| Author |
Message |
asianking Expert Cheater
Reputation: 0
Joined: 25 Jun 2008 Posts: 109
|
Posted: Mon Jul 28, 2008 4:46 pm Post subject: vb forms |
|
|
| is there a way I can lock the windows so when someone using the trainer can't resize the window form? I try to select all and right-click then lock control, but that only lock the buttons, labels, etc...not the window itself...
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Mon Jul 28, 2008 8:56 pm Post subject: |
|
|
Form.BorderStyle=1 or Form.BorderStyle=3
this should be done in design mode
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
Orbit Advanced Cheater
Reputation: 0
Joined: 09 Dec 2007 Posts: 74
|
Posted: Tue Jul 29, 2008 8:16 am Post subject: |
|
|
You can even add this cod ein your formresize
form1.height=(Type the height you need to be freeze)
form1.width=(Type the width you need to be freeze)
So each time a user resizes window it will go back to the original size
the one blland gave you does this automatticaly for you but it changes your form style to.
_________________
VB2008 Programmer  |
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Wed Jul 30, 2008 9:21 am Post subject: |
|
|
| Orbit wrote: | You can even add this cod ein your formresize
form1.height=(Type the height you need to be freeze)
form1.width=(Type the width you need to be freeze)
So each time a user resizes window it will go back to the original size
the one blland gave you does this automatticaly for you but it changes your form style to. |
That will allow the resize first and then it will rollback to whatever you specifed. The first option is better.
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
Orbit Advanced Cheater
Reputation: 0
Joined: 09 Dec 2007 Posts: 74
|
Posted: Wed Jul 30, 2008 11:45 am Post subject: |
|
|
| Naablet wrote: | | Orbit wrote: | You can even add this cod ein your formresize
form1.height=(Type the height you need to be freeze)
form1.width=(Type the width you need to be freeze)
So each time a user resizes window it will go back to the original size
the one blland gave you does this automatticaly for you but it changes your form style to. |
That will allow the resize first and then it will rollback to whatever you specifed. The first option is better. |
I just gave him an option
_________________
VB2008 Programmer  |
|
| Back to top |
|
 |
asianking Expert Cheater
Reputation: 0
Joined: 25 Jun 2008 Posts: 109
|
Posted: Thu Jul 31, 2008 5:50 pm Post subject: |
|
|
ok...how about this.... since it a bit confusing...
I set the property to public and ready to code.
I'm on form2 with an infinite hp button. So how do I code it to get the flash variable?
i try
| Code: | | call myform.flash.setvariable = ("health", 9999) |
and it says something that flash is not declear or something...
RE-EDIT
nevermind... I got it; thanks ya...
| Code: |
call myform.flash.movie.ToString()
call myform.flash.setvariable = ("health", 9999)
|
_________________
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Fri Aug 01, 2008 7:04 am Post subject: |
|
|
| asianking wrote: | ok...how about this.... since it a bit confusing...
I set the property to public and ready to code.
I'm on form2 with an infinite hp button. So how do I code it to get the flash variable?
i try
| Code: | | call myform.flash.setvariable = ("health", 9999) |
and it says something that flash is not declear or something...
RE-EDIT
nevermind... I got it; thanks ya...
| Code: |
call myform.flash.movie.ToString()
call myform.flash.setvariable = ("health", 9999)
|
|
Dont use the "=" in the setvariable property.
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
|