Adding a Property to ALL forms 
Author Message
 Adding a Property to ALL forms

Hi,

Instead of adding a property to a form,
is there a way to add a property to every form in the Forms collection ?

Thnx
TP.



Tue, 24 Aug 2004 04:32:35 GMT  
 Adding a Property to ALL forms

Quote:
>Instead of adding a property to a form,
>is there a way to add a property to every form in the Forms collection ?

Simple mindedly (that's all I can mange) can you use the .Tag property?

Regards.

--
Martin Trump



Tue, 24 Aug 2004 06:38:00 GMT  
 Adding a Property to ALL forms


Quote:
>>Instead of adding a property to a form,
>>is there a way to add a property to every form in the Forms collection ?

One further point.

I ran this code...

Private Sub Form_Load()

    addon$ = "XXXXX"
    For i = 1 To 1000000#
        Tag = Tag & addon$
        If (i Mod 1000) = 0 Then
            Debug.Print Len(Tag)
            Beep
        End If
    Next i

End Sub

When the debug o/p reached  165000 I gave up.

Looks like you can add "War and Peace", the collected works of
Shakespear etc. to the Tag property.

Regards.

--
Martin Trump



Tue, 24 Aug 2004 09:08:21 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Adding New Properties To The Form Controls

2. Adding a Property to a Form?

3. Windows forms designer automatically adds code that sets properties of custom controls

4. Adding a custom property to a form

5. using a form to add to File>Properties in Word

6. Form Dynamic property , app Dynamic property ?

7. Adding a control to a windows form from an add-in

8. Adding a Form to a VB Add-In at Run time

9. How to add code to form and controls from my Add-In

10. how to change properties of the main form from a another form

11. prohibit form designer to call a property on a form

12. Changing form-properties while running before loading the form

 

 
Powered by phpBB® Forum Software