On Aug 27, 2006, at 5:07 PM, Terry Ford wrote:


On Aug 27, 2006, at 2:56 PM, Robert Poland wrote:

Hi,

REALbasic 2006 Release 3, OS 10.4.7 (Intel)

I have set the Behavior Property of an EditField to ReadOnly. That works fine with the Mac, Does nothing with the PC.

My book says EditField1.ReadOnly As Boolean

That's correct. The ReadOnly property of an Editfield is a Boolean. BTW, what is "My book"?

"REALbasic Cross-Platform Application Development" by Mark S. Choate, 2006

I also tried EditField1.ReadOnly As Boolean = True

Wrong syntax there. It should be EditField1.ReadOnly = True.

Tried this, No error, Still allows writing on PC.

These both result in an error.

Is this another gotcha from Microsoft?

No, it's an example of how you are having problems relating the Language Reference to the actual code used in REALbasic.

What's to misunderstand about "If True, the text cannot be modified."

Have you done the Tutorial? It can help you understand many of the questions you have been recently asking.

I have printed much of this and refer to it often.

Just did a search of the Tutorial for both "ReadOnly and Read Only. Neither exist in the tutorial.

Terry

Robert Poland
[EMAIL PROTECTED]



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to