Results 1 to 2 of 2

Thread: property page error

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Location
    the Netherlands
    Posts
    24

    Wink property page error

    Hi all,

    Here is the problem.
    I have made an Usercontrol and linked it to a Property Page.
    When I draw the usercontrol on a form and click on Custom
    (in Property window) I got an error 438 "Object doesnot support property or method" ???

    Here is the code:

    Private Sub PropertyPage_SelectionChanged()
    txtCaption.Text = SelectedControls(0).Name '''' here is the error
    txtBCaption.Text = SelectedControls(0).txtCharSet

    cmbOPeration.Clear
    With cmbOPeration
    .AddItem "0 - All characters"
    .AddItem "1 - Figures"
    .AddItem "2 - Characters"
    .ListIndex = SelectedControls(0).CharAccept
    End With
    Changed = False

    End Sub



    Believe me: Name is surely a property of the selected control....

    Can anyone explain ??

    Greetings, Ger.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Location
    the Netherlands
    Posts
    24
    Nobody ??????

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width