home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / apps / 6553 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.4 KB  |  61 lines

  1. Newsgroups: comp.os.ms-windows.apps
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!newsserver.technet.sg!nuscc!nusunix3.nus.sg!eng10056
  3. From: eng10056@nusunix1.nus.sg (LAU YIN CHENG)
  4. Subject: AMIPRO - Macros, Problems
  5. Message-ID: <1993Jan2.015408.3699@nuscc.nus.sg>
  6. Sender: usenet@nuscc.nus.sg
  7. Organization: National University of Singapore
  8. X-Newsreader: TIN [version 1.1 PL6]
  9. Date: Sat, 2 Jan 1993 01:54:08 GMT
  10. Lines: 49
  11.  
  12.  
  13.  
  14.  
  15. Hello there everyone.
  16.  
  17. I have been facing difficulty in constructing a macro to number a figure
  18. and assgn a bookmark to it.
  19.  
  20. I am only able to write a macro to number a figure.
  21.  
  22. As for assigning a bookmark to the figure number so that I can
  23. cross-reference it, I have to do it manually.
  24.  
  25. Below is an example of what I want to accomplish.
  26.  
  27.  
  28.     ....Figure <GetBookMark electr) was drawn on the .....
  29.     ....
  30.  
  31.  
  32.  
  33.  
  34.               Figure <<Seq Figure %N1>> Electrode configurations
  35.                      ^                 
  36.             /
  37.           /
  38.          /
  39.         /
  40. The bookmark 'electr' encloses the Powerfield <Seq Figure %N1> so that
  41. the figure number can be reference in the text as shown by using the
  42. power field <GetBookMark electr>.
  43.  
  44.  
  45. Below is a listing of what I have done so far.
  46.  
  47.     FUNXTION NUMFIG1()
  48.     SetStyle("figure )
  49.     FieldAdd("Seq Figure %N1" )
  50.     Type(" ")
  51.     FieldAdd("Query$(""Enter Figure name"")")
  52.     END FUNCTION
  53.  
  54.  
  55. Anybody got any suggestions and advice?  Please Help
  56. Thanks in Advance
  57.  
  58.  
  59.  
  60. Lau Yin Cheng
  61.