Disabling all textboxes on a SSTab

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Geert-Pieter Hof

    Disabling all textboxes on a SSTab

    Hi,

    If have a SSTab control MySSTab with several textboxes and I want to disable
    all textboxes. If was thinking of something like

    Dim MyControl As Control

    For Each MyControl In MySSTab

    If TypeName(MyCont rol) = "TextBox" Then MyControl.Enabl ed = False

    Next

    but this doesn't work as the SSTab control does not have a Controls
    property.

    Does anybody knows a decent solution for this?

    Regards,

    Geert-Pieter Hof



Working...