Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can anybody suggest

0 views
Skip to first unread message

Eirik Mangseth

unread,
Feb 13, 1998, 3:00:00 AM2/13/98
to

a solution to this.

in pfc_postopen I'm calling dw_master.EVENT pfc_insertRow()

When compiling I get the following error message:

Private of protected function cannot be accessed: pfc_insertRow

dw_master is inherited from u_dw_certificate which again is inherited
from u_dw.

If I try

u_dw local_dw

local_dw.EVENT pfc_insertRow()

everything's hunky-dory.

I've tried regenerating the class, optimising the library, exporting and
importing the class, creating a completely new dw inherited from u_dw,
full rebuild of the application, all to no avail.

PB version 5.0.02 on Windows NT 4.0 SP3

It's getting late and I'm getting more and more pissed off (Powersoft,
have you ever understood the meaning of quality?)

tia
eirik mangseth
e...@uc-unitedconsultants.com


James Woodger

unread,
Feb 13, 1998, 3:00:00 AM2/13/98
to e...@uc-unitedconsultants.com

Eirik,

I've had this in the past (in PB5) where my object had protected instance
variable. If the last variable was protected or private, PowerBuilder would
sometimes carried on this "privateness" to certain event declarations (which
makes no sense, of course, since PB events are all public).

Anyway, my workaround was to add "Public:" at the bottom of the instance
variable declaration -- the problem then disappeared.

HTH.
-----

Eirik Mangseth

unread,
Feb 16, 1998, 3:00:00 AM2/16/98
to

Thanks, James.

It did the trick (but I'm still a bit pissed of with pb)

eirik mangseth (cpdp, cpi)
e...@uc-unitedconsultants.com

0 new messages