PC Review


Reply
Thread Tools Rate Thread

default form behavior

 
 
Gary Keramidas
Guest
Posts: n/a
 
      27th Jul 2007
is there any way to change the default form behavior from modal to modeless.
it's my own fault, but i end up losing more code when i create a form to perform
a printpreview. i always forget to change it.

--


Gary



 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      27th Jul 2007
Set the ShowModal property to False.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Gary Keramidas" <GKeramidasATmsn.com> wrote in message
news:%(E-Mail Removed)...
> is there any way to change the default form behavior from modal to
> modeless. it's my own fault, but i end up losing more code when i create a
> form to perform a printpreview. i always forget to change it.
>
> --
>
>
> Gary
>
>
>


 
Reply With Quote
 
Gary Keramidas
Guest
Posts: n/a
 
      27th Jul 2007
i know how to do it, i want the default property set to false every time i
create a form, so i don't have to remember to do it..

--


Gary


"Chip Pearson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Set the ShowModal property to False.
>
>
> --
> Cordially,
> Chip Pearson
> Microsoft MVP - Excel
> Pearson Software Consulting
> www.cpearson.com
> (email on the web site)
>
> "Gary Keramidas" <GKeramidasATmsn.com> wrote in message
> news:%(E-Mail Removed)...
>> is there any way to change the default form behavior from modal to modeless.
>> it's my own fault, but i end up losing more code when i create a form to
>> perform a printpreview. i always forget to change it.
>>
>> --
>>
>>
>> Gary
>>
>>
>>

>



 
Reply With Quote
 
Chip Pearson
Guest
Posts: n/a
 
      29th Jul 2007
There is no way to change the default value. You could write an add-in with
a command to insert a form with code like

Dim UF As Object
With Application.VBE.ActiveVBProject
Set UF = .VBComponents.Add(vbext_ct_MSForm)
UF.Properties("ShowModal").Value = False
End With


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)



"Gary Keramidas" <GKeramidasATmsn.com> wrote in message
news:(E-Mail Removed)...
>i know how to do it, i want the default property set to false every time i
>create a form, so i don't have to remember to do it..
>
> --
>
>
> Gary
>
>
> "Chip Pearson" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Set the ShowModal property to False.
>>
>>
>> --
>> Cordially,
>> Chip Pearson
>> Microsoft MVP - Excel
>> Pearson Software Consulting
>> www.cpearson.com
>> (email on the web site)
>>
>> "Gary Keramidas" <GKeramidasATmsn.com> wrote in message
>> news:%(E-Mail Removed)...
>>> is there any way to change the default form behavior from modal to
>>> modeless. it's my own fault, but i end up losing more code when i create
>>> a form to perform a printpreview. i always forget to change it.
>>>
>>> --
>>>
>>>
>>> Gary
>>>
>>>
>>>

>>

>
>


 
Reply With Quote
 
Gary Keramidas
Guest
Posts: n/a
 
      30th Jul 2007
ok, thanks for the idea, chip.

--


Gary


"Chip Pearson" <(E-Mail Removed)> wrote in message
news:921F777C-51CF-4A4C-BFF9-(E-Mail Removed)...
> There is no way to change the default value. You could write an add-in with a
> command to insert a form with code like
>
> Dim UF As Object
> With Application.VBE.ActiveVBProject
> Set UF = .VBComponents.Add(vbext_ct_MSForm)
> UF.Properties("ShowModal").Value = False
> End With
>
>
> --
> Cordially,
> Chip Pearson
> Microsoft MVP - Excel
> Pearson Software Consulting
> www.cpearson.com
> (email on the web site)
>
>
>
> "Gary Keramidas" <GKeramidasATmsn.com> wrote in message
> news:(E-Mail Removed)...
>>i know how to do it, i want the default property set to false every time i
>>create a form, so i don't have to remember to do it..
>>
>> --
>>
>>
>> Gary
>>
>>
>> "Chip Pearson" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Set the ShowModal property to False.
>>>
>>>
>>> --
>>> Cordially,
>>> Chip Pearson
>>> Microsoft MVP - Excel
>>> Pearson Software Consulting
>>> www.cpearson.com
>>> (email on the web site)
>>>
>>> "Gary Keramidas" <GKeramidasATmsn.com> wrote in message
>>> news:%(E-Mail Removed)...
>>>> is there any way to change the default form behavior from modal to
>>>> modeless. it's my own fault, but i end up losing more code when i create a
>>>> form to perform a printpreview. i always forget to change it.
>>>>
>>>> --
>>>>
>>>>
>>>> Gary
>>>>
>>>>
>>>>
>>>

>>
>>

>



 
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
default click behavior of radio button on showing child form Peted Microsoft C# .NET 2 8th May 2007 04:25 AM
Setting Up Default Behavior PZ Microsoft Excel Misc 4 24th Feb 2007 03:56 AM
Text Only Default Behavior? =?Utf-8?B?S2lyayBQLg==?= Microsoft Excel Misc 3 7th Aug 2005 10:55 PM
Default InputBox Behavior =?Utf-8?B?amNyb3VzZQ==?= Microsoft VB .NET 3 10th Jun 2004 09:06 AM
Default Access Key Behavior Seigfried Microsoft VB .NET 4 1st May 2004 08:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:51 AM.