303factory
Registered User.
- Local time
- Today, 06:09
- Joined
- Oct 10, 2008
- Messages
- 136
Hi
I'm trying to activate/deactivate the form control box, and change the position of some buttons by code, but it wont let me do either
TargetForm.ControlBox = False
TargetForm.CloseButton.Left = 12.354
TargetForm.CloseButton.Top = 0
TargetForm.CloseButton.Width = 0.593
TargetForm.CloseButton.Height = 0.593
Is there any reason I can change these values in form design mode but not with the code when it's running?
Thanks!
303
I'm trying to activate/deactivate the form control box, and change the position of some buttons by code, but it wont let me do either
TargetForm.ControlBox = False
TargetForm.CloseButton.Left = 12.354
TargetForm.CloseButton.Top = 0
TargetForm.CloseButton.Width = 0.593
TargetForm.CloseButton.Height = 0.593
Is there any reason I can change these values in form design mode but not with the code when it's running?
Thanks!
303