Setting Active Row in a PopUp (OpenInsight Specific)
At 01 JUN 1999 02:44:59PM Greg James, ISIS, Inc. wrote:
Is there a way to programmatically set the active row in a popup? It defaults to the first row.
At 01 JUN 1999 03:01PM Cameron Revelation wrote:
Greg,
Yes, see POPUP_EQUATES (the $insert record in SYSPROCS). I believe it is the "POPUP_DEFAULT$" field or something similar to that.
Cameron Purdy
Revelation Software
At 01 JUN 1999 03:51PM Greg James, ISIS, Inc. wrote:
Thanks Cameron. It's field , PINITSELECT$. What about setting the position of the vertical scrollbar, if there is one?
Let's say that my popup's 'PHEIGHT$' is set to 20, and PINITSELECT$ is 15. How could I adjust the VSCROLL position such that PINITSELECT$ is (approximately) the middle row in the popup – given that there are more than 20 rows (total number of rows) in the popup?
At 02 JUN 1999 07:21AM Cameron Revelation wrote:
Greg,
It sounds like you would have to customize the POPUP_SUB source to do that.
Cameron Purdy
Revelation Software