If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > How to? - MS ACCESSS Form to use SplitContainer or Splitter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-18-10, 07:35
jd2005 jd2005 is offline
Registered User
 
Join Date: Jan 2010
Posts: 2
How to? - MS ACCESSS Form to use SplitContainer or Splitter

Hello all,
I have created MS ACECSS (2007) forms that are using "TreeView" control on the left and a connected form on the right. But there is a problem. the border between them is fixed...
I want to implement a SplitContainer or Splitter that will have a Treeview on the left side and the associated form on the right side and i can move the border between them.
I have seen many examples on the web for VB but could not understand how to implement it with MS ACECSS VBA. I was looking for the relevant OCX in windows.form for example. I was looking for the an ObjectX "Splitter" control in MS ACCES VBA, but none found.
Here are some references that i came accross:
SplitContainer Class (System.Windows.Forms)
A Splitter WIndow Control For VB - CodeGuru
Hope that someone can help me.
Thanks,
JD2005
Reply With Quote
  #2 (permalink)  
Old 04-18-10, 13:18
canupus canupus is offline
Registered User
 
Join Date: Jul 2004
Location: South Dakota
Posts: 242
Not 100% sure about MS Access 2007 but in previous versions there is no such control.

C
Reply With Quote
  #3 (permalink)  
Old 04-18-10, 13:58
jd2005 jd2005 is offline
Registered User
 
Join Date: Jan 2010
Posts: 2
Hello C,

You are right. there is no such control under MS ACCESS. But just like "TreeView" control which is "borrowed" from Comctl32.ocx and Mscomctl.ocx , I was looking for someone to help "borrow" the SplitContainer object (from a .NET OCX I believe).

Anybody that can help?

Thanks,

JD2005
Reply With Quote
  #4 (permalink)  
Old 04-18-10, 15:04
Sinndho Sinndho is online now
Registered User
 
Join Date: Mar 2009
Posts: 3,446
I'm not sure you can use a native managed object (from .NET) into Access. You would have to make it usable into a COM environment first (a Windows control in .NET does not natively expose an interface to the COM world).

It would be easier to build an OCX from the code provided in the second example (Splitter Window control for VB) using VB6.
__________________
Have a nice day!
Reply With Quote
  #5 (permalink)  
Old 06-13-10, 16:46
Tieske8 Tieske8 is offline
Registered User
 
Join Date: Jun 2010
Posts: 1
Here's an all VBA solution that provides a splitter.
Reply With Quote
Reply

Tags
ms access, splitcontainer, splitter, vba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On