tips:revmedia:v3i6a6

QTIPS - Code/Command Help

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 NOV 19912.1+EXPERTMAKEPOPUP, COMMAND.P, SYS.POPUPS, CODE, COMMAND

At a recent RevTI demonstration Mike Pope entered a P into the Code field of a template prompt, and at the command field pressed F2. A popup appeared and one of the options was "Add a new popup". Choosing this option caused the MAKEPOPUP window to be invoked. Upon return from the window the popup name was automatically returned into the command prompt. He was unsure as to when the feature was added but it is definitely quicker than F5, F10, Design Popup!

Further investigation reveals a record called COMMAND.P in the SYS.POPUPS file, and it is this which is used to invoke the MAKEPOPUP logic. To permit the calling of a custom popup for ANY catalyst code at a command prompt create a popup in the SYS.POPUPS file having a key of COMMAND.Code where Code is any valid catalyst code. A simple example would be a SYS.POPUPS record called COMMAND.W which simply displayed a list of all windows in the TEMPLATES file.

(Volume 3, Issue 6, Page 7)

  • tips/revmedia/v3i6a6.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1