PC Review


Reply
Thread Tools Rate Thread

Close Buttom

 
 
=?Utf-8?B?YWx2aW4gS3VpcGVy?=
Guest
Posts: n/a
 
      3rd Nov 2007
Hi
In a userform there are a Red Cross to close the form
Can i disable this ?

Regards
alvin

 
Reply With Quote
 
 
 
 
=?Utf-8?B?R2VyYXJkVg==?=
Guest
Posts: n/a
 
      3rd Nov 2007
I use the userform queryclose to disable 'Red Cross'

Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
If CloseMode = vbFormControlMenu Then
Cancel = True
End If
End Sub

--
-----------------------------



"alvin Kuiper" wrote:

> Hi
> In a userform there are a Red Cross to close the form
> Can i disable this ?
>
> Regards
> alvin
>

 
Reply With Quote
 
=?Utf-8?B?YWx2aW4gS3VpcGVy?=
Guest
Posts: n/a
 
      7th Nov 2007
Thanks
Alvin


"GerardV" skrev:

> I use the userform queryclose to disable 'Red Cross'
>
> Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
> If CloseMode = vbFormControlMenu Then
> Cancel = True
> End If
> End Sub
>
> --
> -----------------------------
>
>
>
> "alvin Kuiper" wrote:
>
> > Hi
> > In a userform there are a Red Cross to close the form
> > Can i disable this ?
> >
> > Regards
> > alvin
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Close buttom in a report Leif Thorsen Microsoft Access Reports 1 22nd Mar 2008 01:16 PM
Restart buttom!!!!!!! =?Utf-8?B?REFHUjgwTkU=?= Windows XP Help 0 29th Oct 2005 07:35 PM
How do I add command buttom? rgarber50 Microsoft Excel Misc 1 11th Jul 2005 03:39 AM
Print buttom Gene McKinney Microsoft Frontpage 2 30th Oct 2004 11:21 PM
Search Buttom Dean Windows XP Internet Explorer 1 19th Aug 2004 06:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:36 PM.