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

Code written and used in PW 5 / Pw 7-32 produces error in Paradox 8

0 views
Skip to first unread message

Michael Juul Hansen

unread,
Apr 9, 1998, 3:00:00 AM4/9/98
to

This code is written in PW 5 and has never caused problems with either
PW 5 nor PW 7-32

;Unbound-[calculated]Field object on a form
method mouseEnter(var eventInfo MouseEvent)

self.Frame.Style = Outside3DFrame

endMethod

Now with Paradox 8 a runtime error occurs
"Attempted to assign an illegal value to the property"

The values of the Frame.Style property have not been changed with ver.8
and the code passes the syntax check.
Changing the value to Inside3DFrame causes the same runtime error, only
the noFrame value seems to be accepted.

Setting the Frame.Style property at text objects during runtime is free
of errors.

Does anyone know what the problem might be?

--
Michael

Remove NOSPAM to reply

Bob Albrecht

unread,
Apr 9, 1998, 3:00:00 AM4/9/98
to mj...@soelleroed.mail.telia.com

Can you change the frame style interactively? If there's not enough
space around the object to accomadate the new frame style, it may not
allow the style to be set. Just a guess.

Bob

Michael Juul Hansen

unread,
Apr 10, 1998, 3:00:00 AM4/10/98
to Bob Albrecht

Yes there is plenty of space around the field object. The form is in daily use
and has been opened and running with PW 7-32 until the day before yesterday
without any problems

Bob Albrecht skrev:

Michael Juul Hansen

unread,
Apr 11, 1998, 3:00:00 AM4/11/98
to

I tried to create a new form with 1 unbound field and 1 box, with this code
on both. No problems encountered, but the problem persists on the form of
the original message.

method mouseEnter(var eventInfo MouseEvent)

self.Frame.Style = Outside3DFrame

endMethod

method mouseEnter(var eventInfo MouseEvent)

self.Frame.Style = noFrame

endMethod

Michael Juul Hansen skrev:

0 new messages