Having problems with SSTabs OCX 
Author Message
 Having problems with SSTabs OCX

This is a multi-part message in MIME format.

------=_NextPart_000_0001_01BC9A85.A9AAC440
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am having problems with Sheridan TABDLG OLE Control v1.0 (SSTab).=20

I am running a Win95 machine with Visual Basic 4.0 16 bit.

PROBLEM:

I have a SSTab with 5 tabs. On each tab is a DBGrid and a Panel (So I =
have 5 grids and 5 panels). I have code in the form resize proc which =
resizes the tabs and grids when the form is resized. When I maximize the =
form and then restore the form size to normal the grids disappear.

I put some watches in to watch the left property of the grids and panels =
and it looks like the grids and panels a moved to -74700 but when I =
click on the tab it doesn't bring them back to their original position.

This same problem occurs when I have a graph on each tab and I resize, =
the graphs disappear.

If anyony has any suggestions for remidying this problem your help would =
be greatly appreciated!!

Thanks in advance!!

------=_NextPart_000_0001_01BC9A85.A9AAC440
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1008.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#fffff0><FONT color=3D#000000 face=3DArial =
size=3D2><FONT color=3D#000000=20
face=3DHelv size=3D2>
<P>I am having problems with Sheridan TABDLG OLE Control v1.0 =
(SSTab).&nbsp;</P>
<P>I am running a Win95 machine with Visual Basic 4.0 16 bit.</P>
<P>PROBLEM:</P>
<P>I have a SSTab with 5 tabs. On each tab is a DBGrid and a Panel (So I =
have 5=20
grids and 5 panels). I have code in the form resize proc which resizes =
the tabs=20
and grids when the form is resized. When I maximize the form and then =
restore=20
the form size to normal the grids disappear.</P>
<P>I put some watches in to watch the left property of the grids and =
panels and=20
it looks like the grids and panels a moved to -74700 but when I click on =
the tab=20
it doesn't bring them back to their original position.</P>
<P>This same problem occurs when I have a graph on each tab and I =
resize, the=20
graphs disappear.</P>
<P>If anyony has any suggestions for remidying this problem your help =
would be=20
greatly appreciated!!</P>
<P>Thanks in advance!!</P></FONT></FONT></BODY></HTML>

------=_NextPart_000_0001_01BC9A85.A9AAC440--



Thu, 13 Jan 2000 03:00:00 GMT  
 Having problems with SSTabs OCX



Quote:
>I have code in the form resize proc

Be careful there! As you found, the invisible controls are moved to large
negative Left positions, so you never should rearrange or resize invisible
controls!

Best you have at least one fixed control on every tab, and resize the
other controls on the same tab, relative to the Top/Left of the fixed
control.

Also be careful with the ScaleHeight of the Tab, IMO it includes the tabs,
so you never should set controls Top near zero.

DoDi



Sat, 15 Jan 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Having problems with SSTabs OCX

2. Help I'm having a problem with dbgrid32.ocx in unbound mode

3. Having problems registering comctl32.ocx...

4. Creating an OCX and having problems with speed

5. SSTab - tabctl32.ocx problem

6. Is there any way to play a wav and avi without having teh ocx multimedia controls

7. Unexpected error ssTab Tabctl32.ocx

8. help with SSTabs and OCX Bug!!!

9. How to add Textboxes to a SSTab which is inside in a ActiveX Control (OCX)

10. SSTAB / TABCTL32.OCX

11. Search ocx SSTAB in color

12. SSTab not found in TabCtl32.ocx.

 

 
Powered by phpBB® Forum Software