Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - validate not fired?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

validate not fired?

 Post Reply Post Reply
Author
Message
Albert1 View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2007
Location: Italy
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albert1 Quote  Post ReplyReply Direct Link To This Post Topic: validate not fired?
    Posted: 06 June 2007 at 4:57am
Why the validate event is not fired when I leave propertygrid by pressing the Tab key?.

In this example I have a propertygrid and a textbox


Private Sub Form_Load()
Dim Item As PropertyGridItem
   
    With PropertyGrid1
        .AddCategory "Category"
        .Categories(1).Expanded = True
        Set Item = .Categories(1).AddChildItem(PropertyItemString, "Item")
    End With
End Sub

Private Sub PropertyGrid1_Validate(Cancel As Boolean)
Stop
End Sub


Check it! All is ok with the mouse. With keyboard the program never stops.
Alberto

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.