[comp.sys.mac.hypercard] Questions: Fields & Tabs & Find

mike@mecazh.UUCP (Michele Ravani) (03/22/90)

  Hi, working with HC I came upon some problems:
  
    1) Situation: a scrollable unlocked field contains
                  some text separated by tabs as result
                  from a script execution. The field is
                  passed as a file to a word processor.
       
       Problem: clicking the mouse in the field (I-cursor)
                let the tabs disappear. That is, in the 
                word processor the text is separated by 
                blanks. If you don't click the tabs are
                passed on ok. Is this a bug or a feature?
                What can I do to avoid the problem without
                forbidding field editing?
     
     2) Situation: a score of bg fields are present, some
                   hidden. I want to be able to perform
                   a find of some text on any of this fields.
                   
        Problem: You may find text in an hidden field and land
                 with a rectangle around nothing. Making the
                 field visible erases the rectangle around the 
                 found text, which makes me unhappy. 
                 Is there a clean solution?
                 A dirty one could be to always check where the 
                 text has been found and if it is in one of the 
                 hidden fields, make it visible and repeat the
                 find in the given field ...
                 
     3) Problem: How can I bind two different fields to one scrollbar?
                 My mayor problem is at which message should the
                 field length, scroll, ... updating be performed
                 (idle,within,...). Moreover it should be possible
                 to edit the fields without changing the correspondance
                 between lines. Has anybody already solved the problem?
                 (I assume so ... :-))
                 
     Please email me or post to this group
     THANKS A LOT in advance.
  
  
______________________________________________________________________________
Michele Ravani, Mecasoft SA,        |  telephone :  41 1 362 2040           
Guggachstrasse 10, CH-8057 Zurich,  |  e-mail    :  mcsun!chx400!mecazh!mike
Switzerland.                        |               mike@mecazh.UUCP
------------------------------------------------------------------------------