D
directions
I have vba code that has worked from access 97 - access 2003. It now
fails in access 2007. I hope that I'm missing something simple...
I'm modifying the borderwidth and bordercolor of various controls on
various forms - so I created a function in a module to do the job for
me. The code has a lot of other stuff in it - but here's where I'm
running into problems.
public function myFunction (ctl as control, intWidth as integer)
ctl.borderwidth = intWidth
end function
The problem:
In Access 2007, the control object no longer has any border properties
associated with it... There must be a better way to do this besides
duplicating my code for all of the different types of controls
(textbox, combobox, listbox, etc...)
Please also let me know if there is a simple .Net solution to this
problem. I have VS2005 and also program in VB.Net and C#.Net.
Thanks!
fails in access 2007. I hope that I'm missing something simple...
I'm modifying the borderwidth and bordercolor of various controls on
various forms - so I created a function in a module to do the job for
me. The code has a lot of other stuff in it - but here's where I'm
running into problems.
public function myFunction (ctl as control, intWidth as integer)
ctl.borderwidth = intWidth
end function
The problem:
In Access 2007, the control object no longer has any border properties
associated with it... There must be a better way to do this besides
duplicating my code for all of the different types of controls
(textbox, combobox, listbox, etc...)
Please also let me know if there is a simple .Net solution to this
problem. I have VS2005 and also program in VB.Net and C#.Net.
Thanks!