Page 1 of 1 1
Topic Options
#199148 - 2010-07-29 05:29 PM removing the close window open......
Fergieman Offline
Getting the hang of it

Registered: 2010-02-25
Posts: 58
Loc: Ireland
guys , another questions....

Im my logon script , it draws up a nice gui for users to see.
some of the users have sometimes clicked on the X when the logon script is only part way through its run , meaning users are missing drives, apps install etc etc. My question :

Can I remove the X (close) option when the box is drawen. Cant seem to find the code for it anyway !

Screen shot


Edited by Fergieman (2010-07-29 05:30 PM)

Top
#199149 - 2010-07-29 05:40 PM Re: removing the close window open...... [Re: Fergieman]
eriqjaffe Offline
Hey THIS is FUN

Registered: 2004-06-24
Posts: 214
Loc: Arlington Heights, IL USA
Is that using KiXforms?

 Code:
$Form.ControlBox = 0


That should remove the close "X", but users can still close it via ALT-F4. Not sure if there's a workaround for that or not.

You could always make sure that BREAK is OFF, so that if the users interrupt the login script, it just logs them out - at that point, they really have no choice but to let it run, or they'll never be able to log in.

Top
#199151 - 2010-07-29 05:53 PM Re: removing the close window open...... [Re: eriqjaffe]
Fergieman Offline
Getting the hang of it

Registered: 2010-02-25
Posts: 58
Loc: Ireland
brill - thanks Sir ! that did the trick - why oh why didnt I think of that !!
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.061 seconds in which 0.031 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org