Power Builder - Crystal - Tabpage

 
Vista:

Crystal - Tabpage

Publicado por Alvaro Padilla (2 intervenciones) el 09/12/2004 19:53:22
Tengo el siguiente problema:
Tengo un Datawindow con un Tabpage el cual tiene 6 tab's,
el ultimo tab tiene el OLE de Crystal Viewer.
Al mandarle los parametros al Crystal, me muestra el reporte pero se pone ONTOP sobre todas los Tab's. y me desactiva la barra de herramientas de mi aplicacion.
alguien sabe como solucionar este problema ?
Necesito que no se ponga ONTOP en mis tab's y que solo lo pueda ver cuando seleccione el TAB donde se encuentra el OLE de crystal.
y que no desactive mi barra de herramientas.
aqui va el codigo.
*********
OLEObject g_ole_crx_application
OLEObject g_ole_crx_report
OLEObject g_ole_crx_connection_info
OLEObject g_ole_crx_export_options

string gs_rpt_filename
g_ole_crx_application = Create OLEobject
g_ole_crx_connection_info = Create Oleobject
g_ole_crx_export_options = Create Oleobject
g_ole_crx_application.connecttoNewobject("crystalRuntime.application.8")

gs_rpt_filename = 'C:\Gobware\rCivil\Kiosko\reportes\fuentes\matrimonio.rpt'

g_ole_crx_report = g_ole_crx_application.OpenReport(gs_rpt_filename, 1)

tab_consulta.tab_crystal.crystal.object.ReportSource=g_ole_crx_report
tab_consulta.tab_crystal.crystal.object.DisplayToolBar = False
tab_consulta.tab_crystal.crystal.object.DisplayGroupTree = False
tab_consulta.tab_crystal.crystal.object.ViewReport

***

Saludos
APS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder