View Single Post
  #6 (permalink)  
Old 03-26-2008, 03:18 PM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 2,816
Default

If the library exposes a reference then you should use: obj.Value = bar.ControlRef, although obj.FromControl(bar.ControlRef) will also work.

FieldName is the instance variable that holds the .Net object in many libraries.
Your assumption is logical but not correct. You can access private fields with Reflection. A little but strange, I agree.
Reply With Quote