tips
[Top] [All Lists]

REALbasic Tip: Determining if the Datacontrol is displaying a locked rec

To: "REALbasic Tips" <realbasic-tips at lists dot realsoftware dot com>
Subject: REALbasic Tip: Determining if the Datacontrol is displaying a locked record
From: Geoff Perlman <geoff at realsoftware dot com>
Date: Tue, 30 Oct 2001 11:46:39 -0600
The Datacontrol is a new feature in REALbasic 3.5. It's purpose is to
provide a user interface for navigating through the records in a table. It automatically handles locked records by changing any editifields bound to the Datacontrol to read only when a locked record is displayed. But how can
your code tell if a record is locked or not?

The Datacontrol has an undocumented property called "RecordLocked" which is
true if the record is locked and false if it's not.
--

Geoff Perlman
President & CEO
REAL Software, Inc.
http://www.realsoftware.com
mailto:geoff at realsoftware dot com
Phone: 512-263-1233 x711
Fax:   512-263-1441


 - - - - - - - - - -
Got a useful tip to share? Send it to us at:
REALbasic-tips at lists dot realsoftware dot com dot
For list commands, send "Help" in the body of a message to
<requests at lists dot realsoftware dot com>


<Prev in Thread] Current Thread [Next in Thread>
  • REALbasic Tip: Determining if the Datacontrol is displaying a locked record, Geoff Perlman <=