Hi
I now have 2 toolbars. The main toolbar opens with the main form. When the
user selects Print Report an other form opens and opens a toolbar that is
docked on the left side of the screen. It has 2 buttons right now. The toolbar
opens and docks on the left but the buttons are about a third of the way down
the screen along with the grab handles. So I have a toolbar that is docked on
the left side of the screen just below the toolbar that is docked at the top of
the screen. About 2 inches of blank toolbar then the grab handle and my two
buttons. Here is the code inside the report forms activate method.
frmMain.oToolBars[2].Top = -1
frmMain.oToolBars[2].Left = -1
frmMain.oToolBars[2].SHOW
Here is the code in my main form:
WITH THIS
IF TYPE('.oToolBars[1]') = 'O'
RETURN
ENDIF
.oToolBars[1] = NEWOBJECT('tbrMain','mcp2cls')
.oToolBars[2] = NEWOBJECT('tbrReports','mcp2cls')
.oToolBars[1].SHOW
.oToolBars[1].DOCK(0)
.oToolBars[2].DOCK(1)
ENDWITH
When the reports form first opens I think I see it dock where it should but then moves down the screen.
I have a fast computor and this happens so fast I amnot sure but it looks like it does dock right then
readjusts the buttons down the toolbar.
Can anybody help. Thanks
Thanks
John Marrone
Bloodstock Research Inc
marrone@brisnet.comTo much of a good thing is a good thing!