Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-08

Compileroptions Error

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Noel Cuillandre
to Jeffrey A. Wormsley: When I try to compile lazarus, I get the following error... Compiling compileroptions.pp…

This error happens because property Pagelist is not declared in the public section of TNotebook's declaration in the file 'extctrls.pp'. This property is only declared in the protected section of TCustomNoteBook declaration.
To solve this error, just copy the line : 'property Pagelist;' to the public section of TNotebook;

Noel.

"Jeffrey A. Wormsley" a �crit :

Show quoted text 18 lines
When I try to compile lazarus, I get the following error... Compiling compileroptions.pp compileroptions.pp(107,17) Error: Cannot access a protected field of an object here compileroptions.pp(108,17) Error: Cannot access a protected field of an object here Fatal: There were 2 errors compiling module, stopping Any clues? Jeff. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Jeffrey A. Wormsley

When I try to compile lazarus, I get the following error...

Compiling compileroptions.pp
compileroptions.pp(107,17) Error: Cannot access a protected field of an object here
compileroptions.pp(108,17) Error: Cannot access a protected field of an object here
Fatal: There were 2 errors compiling module, stopping

Any clues?

Jeff.

Reply by email

Curtis White
to Jeffrey A. Wormsley

The reason this happens is that now TNotebook is like the Delphi TNotebook and these other properties are not exposed. They are exposed in the TTabbedNotebook. I actually have updated the compileroptions dialog to work with the TTabbedNotebook component and also be compatible with Delphi. I will commit this new version to CVS. Just note that this new version contains an OK button at the bottom of the dialog and right now this button crashes Lazarus. Peter said he will fix it when Pierre returns from his holiday.

Curtis

On 08-Aug-99 Jeffrey A. Wormsley wrote 18 lines
When I try to compile lazarus, I get the following error... Compiling compileroptions.pp compileroptions.pp(107,17) Error: Cannot access a protected field of an object here compileroptions.pp(108,17) Error: Cannot access a protected field of an object here Fatal: There were 2 errors compiling module, stopping Any clues? Jeff. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

----------------------------------
Curtis White
Curtis White
http://www.teleport.com/~osiriz/
----------------------------------

Reply by email

Curtis White
to Jeffrey A. Wormsley: When I try to compile lazarus, I get the following error... Compiling compileroptions.pp…

Actually, I just fixed the compileroptions dialog so the button works correctly. I just had to preface the Hide command with the form class (fmCompilerOptions.Hide). Now instead of the button hiding, the form hides as it should. Once Self is fixed, this won't be necessary any more. There appears to be some problem with the TCheckbox component. Since I said I will work on that TCheckbox, I will get it fixed. But for right now it looks strange on the compileroptions dialog until I get it fixed.

I just committed this new compileroptions file to CVS.

Curtis

On 08-Aug-99 Jeffrey A. Wormsley wrote 18 lines
When I try to compile lazarus, I get the following error... Compiling compileroptions.pp compileroptions.pp(107,17) Error: Cannot access a protected field of an object here compileroptions.pp(108,17) Error: Cannot access a protected field of an object here Fatal: There were 2 errors compiling module, stopping Any clues? Jeff. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

----------------------------------
Curtis White
Curtis White
http://www.teleport.com/~osiriz/
----------------------------------

Reply by email