Print Page | Close Window

PROBLEMS WITH TABCONTROL IN VB6

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3187
Printed Date: 17 November 2024 at 11:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PROBLEMS WITH TABCONTROL IN VB6
Posted By: pcmaker
Subject: PROBLEMS WITH TABCONTROL IN VB6
Date Posted: 09 November 2005 at 9:33am

Good Morning.

 

I have this problem, when I use the TABCONTROL and I try it handle a form (page), the TABCONTROL appears well, but when I call to another form from this page in modal form and the modal form pass values to a texts or labels and this after download it, the form page stays  disabled.  All controls appear normal but I can’t use them, whereas in another tab of the same control who handles another form page all is ok. I did the links of the forms like in your example (Visual Basic 6. common/Tabmanager), which is the problem at the time?

 

Thanks for your Replies.




Replies:
Posted By: Oleg
Date Posted: 10 November 2005 at 3:27am

Please instead of extended forms for client pages use PictureBoxes from same form.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: pcmaker
Date Posted: 10 November 2005 at 7:56am
EXCUSE ME, WHERE IS THE DIFERENCE USING IT?

IF YOU CAN EXPLAIN ME BETTER, AN EXAMPLE WILL BE A PERFECT WAY.


Posted By: Oleg
Date Posted: 11 November 2005 at 2:55am

I can't upload example (some problems with Forum)

All you need:

Put TabControl, PictureBox 1, PictureBox 2 and call

TabControl1.InsertItem 0, "Item 1", Picture1.hWnd, 0
TabControl1.InsertItem 1, "Item 2", Picture2.hWnd, 0

as advantage

1. tab order will work for all frame.

2. it will be no problem with modal dialog.

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: pcmaker
Date Posted: 11 November 2005 at 7:36am
OK. I TRY FOLOW YOUR EXPLAIN AND IT WORKS FINE WHEN I CALL OF MODAL FORM, BUT ONLY IT WORKS FINE IF I USE BREAKPOINTS IN VB6, OTHERWISE MY PROGRAM FREEZE AND THE UNIQUE WAY TO SHUTDOWN IS CTRL+ALT+DEL AND CLICK IN VB6.EXE AND TERMINATE.

I UNLOAD AND REMOVEALL OF TABCONTROLS, ONLY I USE OTHER TABCONTROL WITH OTHER FORM BUT THEY WORK FINE BEFORE, BUT I UNLOAD THIS FORM AND THIS TAB.

NOW, WHERE IS THE PROBLEM?

BUT IF IT WORKS FINE, VERY FINE WITH BREAKPOINTS, WHY DONT IT WORKS NORMALY?.

THANK FOR YOUR HELP AND PATIENT.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net