Modifica di StartUpPosition di Evey UserForm nel progetto ERRORE: L'object non support la properties;

Impostazione: Ho molti progetti con molti UserForm, e quando li apriamo su un sistema a doppio monitor, la StartUpPosition predefinita è 1 = CenterOwner e si apre verso destra alla visualizzazione principale (il centro del desktop di Windows). Sto cercando di scrivere un piccolo pezzo di codice che modifica una properties; per each forma utente nel progetto. In questo caso, specificamente, .StartUpPosition = 2 (CenterScreen)

Utilizzo di Microsoft Office Professional Plus 2010

So già come cambiare StartUpPosition utilizzando l'editor di properties; in VBA, in Posizioni.StartUpPosition. Il problema è che ci sono tanti UserForm su tanti progetti, voglio cambiarli tutti su each progetto contemporaneamente. In ultima analisi, voglio utilizzare lo stesso codice per modificare qualsiasi properties; utilizzando argomenti di overload del metodo (FormName, Property, Value). Per ora, sto bene avere solo uno per gestire StartUpPosition.

Quando eseguo questo codice, all'avvio del Form utente, funziona come previsto, superando il default di StartUpPosition = 1 (CenterOwner) e visualizza il module al centro dello schermo.

Sub UserForm_Initialize() With UserFormName .StartUpPosition = 2 'CenterScreen' End With End Sub 

Tuttavia, quando l'ho eseguito incorporato in questo loop che cicla attraverso i comandi del progetto da un module, nel tentativo di modificare i valori predefiniti di tutte le forms contemporaneamente, ottengo il seguente errore.

Errore: Errore di run-time '438': L'object non support questa properties; o metodo.

 Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub Sub UserFormStartUp_Center () Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub 'Per each controllo nel progetto' Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub Per each VBComp in Application.VBE.ActiveVBProject.VBComponents Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub 'Controlla per controllare se il controllo è un form utente' Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub Se VBComp.Type = 3 Poi '3 = vbext_ct_MSForm' Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub 'Modifica properties; - StartUpPosition - SAME AS ABOVE' Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub Con VBComp Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub .StartUpPosition = 2 'CenterScreen' Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub 'Loop attraverso i controlli' Sub UserFormStartUp_Center() Dim VBComp As Object 'For each control in project' For Each VBComp In Application.VBE.ActiveVBProject.VBComponents 'Check to see if control is a UserForm' If VBComp.Type = 3 Then '3 = vbext_ct_MSForm' 'Change Property - StartUpPosition - SAME AS ABOVE' With VBComp .StartUpPosition = 2 'CenterScreen' End With End If 'Loop through controls' Next End Sub 

Domanda: Come posso impostare la properties; per il module da memorizzare come impostazione predefinita, non solo in un'istanza in fase di esecuzione, oltre ad entrare in each form utente e modificarla manualmente scornetworking verso la properties; e cliccando su di esso, quindi chiudere la forma e passare al prossimo per ripetere. (Sì, sarei finita ormai, ma ho molti progetti che richiederanno modifiche ai Form utente, mentre imparo nuove tecniche, ho bisogno di patch altri progetti per i clienti)

Ho la sensazione che sia qualcosa di tempo di corsa che non capisco. Devo credere che tu possa impostare questa properties; in modo programmato poiché lo memorizza con altre properties;.

Ricerca:
MSDN: Proprietà dell'object StartUp Secondo MSDN, solo oggetti a runtime possono essere oggetti StartUp.

MSDN: properties; StartUpPosition

Grazie in anticipo per qualsiasi aiuto su questo. Questo mi farà risparmiare molte ore di clic.

EDIT: Aggiunta di quanto segue, dopo aver letto le risposte:

AGGIORNAMENTO: quando eseguo il codice con ciascuno dei suggerimenti che hai citato nella risposta, ho ancora un errore. Errore di run-time: '-2147467259 (80004005)' Il metodo 'Proprietà' dell'object '_VBComponent' non è riuscito.

Così ho deciso di provare alcune cose, come la printing di un MsgBox dell'elemento immobiliare .. valore, nome, ecc.

 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp MsgBox (VBComp.Properties.Item(50).Value) End With End If Next Per each VBComp in ActiveWorkbook.VBProject.VBComponents For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp MsgBox (VBComp.Properties.Item(50).Value) End With End If Next '~~> Controlla per vedere se il controllo è un form utente' For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp MsgBox (VBComp.Properties.Item(50).Value) End With End If Next Se VBComp.Type = 3 Quindi For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp MsgBox (VBComp.Properties.Item(50).Value) End With End If Next Con VBComp For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp MsgBox (VBComp.Properties.Item(50).Value) End With End If Next MsgBox (VBComp.Properties.Item (50) .Value) For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp MsgBox (VBComp.Properties.Item(50).Value) End With End If Next 

Quando lo faccio, è interessante. Viene visualizzata la casella di messaggio, con le informazioni corrette che corrispondono alla window Locals per quella voce. Poi, DOPO la msgbox, esso fornisce un errore di object. Se è un errore, perché la window del messaggio viene printingta correttamente? È come se il Form utente è un object, ma il Property.Item non è. Tuttavia, ha parametri che possono essere definiti come Nome, Valore, ecc.

Schermata inclusa delle informazioni Locals su quella properties; Oggetto where Object Type = Nothing

Info locali

Ogni UserForm / Control dispone di una properties; accessibile tramite il suo .Properties.Item

Per esempio

 Sub GetPropertiesDetails() Dim VBComp As Object Dim i As Long, j As Long i = 1 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp For j = 1 To .Properties.Count Debug.Print i & ". "; .Properties.Item(j).Name i = i + 1 Next j End With Exit For '<~~ Just want to check for one userform End If Next End Sub Sub GetPropertiesDetails () Sub GetPropertiesDetails() Dim VBComp As Object Dim i As Long, j As Long i = 1 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp For j = 1 To .Properties.Count Debug.Print i & ". "; .Properties.Item(j).Name i = i + 1 Next j End With Exit For '<~~ Just want to check for one userform End If Next End Sub Per each VBComp in ActiveWorkbook.VBProject.VBComponents Sub GetPropertiesDetails() Dim VBComp As Object Dim i As Long, j As Long i = 1 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp For j = 1 To .Properties.Count Debug.Print i & ". "; .Properties.Item(j).Name i = i + 1 Next j End With Exit For '<~~ Just want to check for one userform End If Next End Sub '~~> Controlla per vedere se il controllo è un form utente' Sub GetPropertiesDetails() Dim VBComp As Object Dim i As Long, j As Long i = 1 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp For j = 1 To .Properties.Count Debug.Print i & ". "; .Properties.Item(j).Name i = i + 1 Next j End With Exit For '<~~ Just want to check for one userform End If Next End Sub Se VBComp.Type = 3 Quindi Sub GetPropertiesDetails() Dim VBComp As Object Dim i As Long, j As Long i = 1 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp For j = 1 To .Properties.Count Debug.Print i & ". "; .Properties.Item(j).Name i = i + 1 Next j End With Exit For '<~~ Just want to check for one userform End If Next End Sub Con VBComp Sub GetPropertiesDetails() Dim VBComp As Object Dim i As Long, j As Long i = 1 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp For j = 1 To .Properties.Count Debug.Print i & ". "; .Properties.Item(j).Name i = i + 1 Next j End With Exit For '<~~ Just want to check for one userform End If Next End Sub Per j = 1 Per .Properties.Count Sub GetPropertiesDetails() Dim VBComp As Object Dim i As Long, j As Long i = 1 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp For j = 1 To .Properties.Count Debug.Print i & ". "; .Properties.Item(j).Name i = i + 1 Next j End With Exit For '<~~ Just want to check for one userform End If Next End Sub Debug.Print i & "."; Sub GetPropertiesDetails() Dim VBComp As Object Dim i As Long, j As Long i = 1 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp For j = 1 To .Properties.Count Debug.Print i & ". "; .Properties.Item(j).Name i = i + 1 Next j End With Exit For '<~~ Just want to check for one userform End If Next End Sub Esci per '<~~ Vuoi solo controllare una sola forma di utente Sub GetPropertiesDetails() Dim VBComp As Object Dim i As Long, j As Long i = 1 For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then With VBComp For j = 1 To .Properties.Count Debug.Print i & ". "; .Properties.Item(j).Name i = i + 1 Next j End With Exit For '<~~ Just want to check for one userform End If Next End Sub 

Quando si esegue il codice di cui sopra si otterrà questa nella window immediata

 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 1. ActiveControl 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 2. BackColor 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 3. BorderColor 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 4. BorderStyle 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 5. CanPaste 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 6. CanRedo 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 7. CanUndo 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 8. Controlli 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 9. Ciclo 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 10. _Font_Reserved 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 11. Carattere 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 12. ForeColor 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 13. InsideHeight 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 14. InsideWidth 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 15. KeepScrollBarsVisible 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 16. MouseIcon 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 17. MousePointer 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 18. ImmagineAlignment 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 19. Immagine 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 20. PictureSizeMode 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 21. PictureTiling 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 22. ScrollBars 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 23. ScrollHeight 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 24. ScrollLeft 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 25. ScrollTop 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 26. ScrollWidth 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 27. Selezionato 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 28. SpecialEffect 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 29. VerticalScrollBarSide 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 30. Zoom 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 31. DesignMode 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 32. ShowToolbox 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 33. ShowGridDots 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 34. SnapToGrid 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 35. GridX 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 36. GridY 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 37. DrawBuffer 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 38. Nome 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 39. Didascalia 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 40. Sinistra 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 41. Top 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 42. Larghezza 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 43. Altezza 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 44. Abilitato 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 45. Tag 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 46. ​​HelpContextID 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 47. WhatsThisButton 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 48. WhatsThisHelp 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 49. RightToLeft 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 50. StartUpPosition 1. ActiveControl 2. BackColor 3. BorderColor 4. BorderStyle 5. CanPaste 6. CanRedo 7. CanUndo 8. Controls 9. Cycle 10. _Font_Reserved 11. Font 12. ForeColor 13. InsideHeight 14. InsideWidth 15. KeepScrollBarsVisible 16. MouseIcon 17. MousePointer 18. PictureAlignment 19. Picture 20. PictureSizeMode 21. PictureTiling 22. ScrollBars 23. ScrollHeight 24. ScrollLeft 25. ScrollTop 26. ScrollWidth 27. Selected 28. SpecialEffect 29. VerticalScrollBarSide 30. Zoom 31. DesignMode 32. ShowToolbox 33. ShowGridDots 34. SnapToGrid 35. GridX 36. GridY 37. DrawBuffer 38. Name 39. Caption 40. Left 41. Top 42. Width 43. Height 44. Enabled 45. Tag 46. HelpContextID 47. WhatsThisButton 48. WhatsThisHelp 49. RightToLeft 50. StartUpPosition 51. ShowModal 

Quindi da questo vediamo che la properties; che siamo dopo è a 50 . Ora tutto quello che dobbiamo fare è utilizzare che invece di .StartUpPosition = 2 come te.

 Sub SetUserformStartUp() Dim VBComp As Object For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then VBComp.Properties.Item(50).Value = 2 Next End Sub Sub SetUserformStartUp () Sub SetUserformStartUp() Dim VBComp As Object For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then VBComp.Properties.Item(50).Value = 2 Next End Sub Per each VBComp in ActiveWorkbook.VBProject.VBComponents Sub SetUserformStartUp() Dim VBComp As Object For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then VBComp.Properties.Item(50).Value = 2 Next End Sub '~~> Controlla per vedere se il controllo è un form utente' Sub SetUserformStartUp() Dim VBComp As Object For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then VBComp.Properties.Item(50).Value = 2 Next End Sub Se VBComp.Type = 3 Quindi VBComp.Properties.Item (50) .Value = 2 Sub SetUserformStartUp() Dim VBComp As Object For Each VBComp In ActiveWorkbook.VBProject.VBComponents '~~> Check to see if control is a UserForm' If VBComp.Type = 3 Then VBComp.Properties.Item(50).Value = 2 Next End Sub 

Per gentile concessione di Chris Neilsen (Da commenti)

È inoltre ansible utilizzare:

 VBComp.Properties.Item("StartUpPosition") = 2