TCursors and UIObjects 
Author Message
 TCursors and UIObjects

A simple problem, probably very basic, but it is confusing me, and
several books don't seem to help!  (I'm a beginner at this.)

I have a small database displayed in a form in a MultiRecord object.  I
am trying to change the color of all record objects in this multirecord
object that have a selected string in a field.  

Using a TCursor, I can scan the table, and count the occurrences of the
string, but I can't figure out how to change the color of the records
that contain the string.  I suspect a UIObject is needed to affect the
form, but how is this done?

Any help would be appreciated.

Wilf Schlosser



Tue, 11 Feb 1997 23:58:19 GMT
 TCursors and UIObjects

: A simple problem, probably very basic, but it is confusing me, and
: several books don't seem to help!  (I'm a beginner at this.)

: I have a small database displayed in a form in a MultiRecord object.  I
: am trying to change the color of all record objects in this multirecord
: object that have a selected string in a field.  

: Using a TCursor, I can scan the table, and count the occurrences of the
: string, but I can't figure out how to change the color of the records
: that contain the string.  I suspect a UIObject is needed to affect the
: form, but how is this done?

What is the name of the record (NOT multi-record, the RECORD inside the MR)?

Assuming it's RecTest, you'll do

RecTest.color=Black (or Gray, Blue, whatever).

--
==============================================================================

||   (the rest of this .sig is under construction...)                       ||
==============================================================================



Wed, 12 Feb 1997 07:41:25 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Help! TCursor and UIObject

2. Help! TCursor and UIObject

3. Sync TCursor to UIobject

4. record locking on Tcursors attached to UIObjects

5. Beginner Paradox Question Re : TableFrames/UIObjects/TCursors

6. TCursor.Locate() and TCursor.qLocate() both fail

7. Question: Reuse of code and it's attachment to UIObjects

8. array of UIObjects?

9. "First"-Property of UIObjects / Setting Focus

10. UIObject.class

11. Passing Field UIObject Parameter

12. methodSet (UIObject) does not work


 
Powered by phpBB® Forum Software