KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Form width to the size of the screen.

 
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic
View previous topic :: View next topic  
Author Message
OwenJ
KiXforms Follower
KiXforms Follower


Joined: 14 Jan 2007
Posts: 19
Location: Alton, Hampshire, England (UK)

PostPosted: Fri May 11, 2007 4:30 pm    Post subject: Form width to the size of the screen. Reply with quote

Hi guys!

I would like to know how to change the form width to the size of the screen. But also I would like to know how to change the "$MESG" testbox, (see attached script) so that it actually expands aswell.

Reason being, I have several colleagues at work, with varying size Res. and screens inches. Smile

Please help...



msg.kix
 Description:
Net Send util. :P

Download
 Filename:  msg.kix
 Filesize:  6.75 KB
 Downloaded:  683 Time(s)


_________________
Owen Johnson. aka |SirianKnight| Shocked
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Gargoyle
KiXforms Aficionado
KiXforms Aficionado


Joined: 30 Dec 2003
Posts: 366
Location: Arizona

PostPosted: Fri May 11, 2007 4:38 pm    Post subject: Reply with quote

I did it this way in one of my scripts.

Code:

$Form1.Screen.Width


This is for Kixforms 2.x

_________________
Parents were invented to make children happy by giving them something to ignore.
Back to top
View user's profile Send private message
OwenJ
KiXforms Follower
KiXforms Follower


Joined: 14 Jan 2007
Posts: 19
Location: Alton, Hampshire, England (UK)

PostPosted: Fri May 11, 2007 4:53 pm    Post subject: Hmmm... Reply with quote

When I try this, is seems to shrink the form instead of making it the width of the screen.
_________________
Owen Johnson. aka |SirianKnight| Shocked
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Gargoyle
KiXforms Aficionado
KiXforms Aficionado


Joined: 30 Dec 2003
Posts: 366
Location: Arizona

PostPosted: Fri May 11, 2007 6:58 pm    Post subject: Reply with quote

This is the script where I was using it.

http://www.kixforms.org/forum/viewtopic.php?t=354


Maybe I forgot something.

_________________
Parents were invented to make children happy by giving them something to ignore.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic 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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group