RE: add scroll frmtable - Mailing list pgadmin-hackers

From frank_lupo
Subject RE: add scroll frmtable
Date
Msg-id HC97A0$2D6B0DF53A46C7B22F7EE2669518EF9D@email.it
Whole thread Raw
List pgadmin-hackers
> 
> 
> > -----Original Message-----
> > From: frank_lupo [mailto:frank_lupo@email.it] 
> > Sent: 24 March 2003 09:11
> > To: Dave Page
> > Cc: pgadmin-hackers
> > Subject: Re: [pgadmin-hackers] add scroll frmtable
> > 
> > 
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: frank_lupo [mailto:frank_lupo@email.it]
> > > > Sent: 24 March 2003 08:05
> > > > To: Dave Page
> > > > Cc: pgadmin-hackers
> > > > Subject: Re: [pgadmin-hackers] add scroll frmtable
> > > > 
> > > > 
> > > > 
> > > > The problem is when compile VB, Initialize usercontrol which
> > > > is present in frmdummy. When Initialize form the frmmain.svr 
> > > > object is not Initialize.
> > > 
> > > Hi Frank,
> > > 
> > > That still doesn't work. I get error 91 on the first 
> > occurance of the 
> > > ctx object.
> > > 
> > > Regards, Dave.
>
  > > 

0A> > > 
> > 
> > I have compiled without errors.
> > What wants to say the first occurance of the ctx object?
> 
> Hmm, odd. Attached is the error I get. It gets to about 75% of 'Writing
> EXE...' and then gives error 91, and drops to the debugger. As I said,
> this is odd as it happens when I build pgadmin.exe, not when I run the
> code. 
> 
> I think it is because you are referencing objects in the main
> application from the UserControl.Initialize sub, which are not created
> when the IDE builds the exe. Is it possible to move this code so it is
> not called from or below the Initialize sub?
> 
> Regards, Dave.
> 

You have not replaced completely the code that I have passed to you.

In Sub UserControl_Initialize() change the code :
-------
  frmMain.svr.LogEvent "Entering " & App.Title & ":ScrollObjDb.UserControl_Initialize()", etFullDebug
-------
in : 0D
---

-
---
If Not frmMain.svr Is Nothing Then
  frmMain.svr.LogEvent "Entering " & App.Title & ":ScrollObjDb.UserControl_Initialize()", etFullDebug
End If
-------

This code verify if svr object is setting. This problem is present why the 
UserControl is present in frmdummy.


Bye !!
Frank Lupo (Wolf) !!

    /\_ _/\
    \ o o /
--ooo-----ooo---



--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Stai cercando una casella di posta professionale senza pubblicità e senza scadenza? Quello che fa per te è Email.it
Pro15o Pro50, ordinala subito, è proprio forte! 
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1045&d=24-3



pgadmin-hackers by date:

Previous
From: "frank_lupo"
Date:
Subject: Re: add scroll frmtable
Next
From: "Dave Page"
Date:
Subject: Re: add scroll frmtable