PDA

Click to See Complete Forum and Search --> : Regions for Forms in Access


Brettrb
Aug 18th, 1999, 07:10 PM
This is probably a weird question for the Database development section, but I was unsure of where else to put it, because it does concern features of Access.

I was wondering how to set up regions for my forms in access. I read the article from vb-world about making regions, however they do not appear to work in Access. I declare the function in a module with this code:

Public Declare Function CreateEllipticRgn Lib "gdi32" _
(ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, _
ByVal Y2 As Long) As Long

Then I call the code in the Form_load procedure. Should I call it somewhere else? Or how should I go about setting up regions for forms in Access?

Thanks
Brett Beckett