Link to home
Start Free TrialLog in
Avatar of neilhoman
neilhoman

asked on

Am I missing a Control

Why is there no control in my toolbox that allows me to embed a subform (previously created) in a tabbed control?
I have done this before.... but cant seem to find the control to do it now.

-neil
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Hi,

Try to add the SSTab Control (M$ Tabbed Dialog Control 6.0) from the Components in your VB project.
Avatar of tppradeep18
tppradeep18

you must have used some third party activex control. Reinstall the activeX control
Avatar of neilhoman

ASKER

doin that now
Yeah but I want to embed a form that I have into the tab control... is there no insert subform tool?
Like in access ...
I am nearly sure I did it in VB before.
Maybe try to use the SetParent API:

Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long

· hWndChild
Identifies the child window.

· hWndNewParent
Identifies the new parent window. If this parameter is NULL, the desktop window becomes the new parent window.

regards
ehhh... ok ill try that... but I used to be able to just select a tool, draw a rectangle tell it what form it was connected to etc.

ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanx emoreau... have just finished that and all is working fine!