PC Review


Reply
Thread Tools Rate Thread

"On Current" event and ActiveX controls

 
 
Béru
Guest
Posts: n/a
 
      20th Jan 2011
Hi,

Using Access 2007, if I create a form and drop a treeview control on
it, then write an handler for the "On Current" event like this:
Private Sub Form_Current()
TreeView4.Nodes.Clear
End Sub

I get a "Runtime error 438 Object doesn't support this property or
method"

However, if I put the exact same code in an "On update" handler, or
even a button click event handler, it works fine.

Is there anything I can do to make things work properly in the "On
Current" event ?

Thanks,
Béru
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone Post-SP2 hack shdoclc.dll to get rid of "Your current security settings prohibit running ActiveX controls on this page." Don Taylor From: Windows XP General 1 27th Apr 2005 11:04 PM
Remove "Your current security settigs prohibit running ActiveX controls ..." J Wolfgang Goerlich Windows XP Internet Explorer 3 28th Oct 2004 06:16 AM
Can ActiveX controls be "disabled" and "enabled"? William DeLeo Microsoft Excel Programming 1 7th May 2004 09:10 PM
Remove "Your current security settigs prohibit running ActiveX controls ..." Don Burden Windows XP Internet Explorer 1 21st Feb 2004 10:53 PM
Turn off error "...current sec sttng..ActiveX controls..as result pg not display correctly.." Dylan56 Windows XP Internet Explorer 1 16th Dec 2003 03:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:48 AM.