Progress
ADM 2 Reference
viewObject (browser.p)
Overrides run setDown to set the DOWN attribute for the browse when it is being viewed and to fix problems caused by the browse’s implicit visualization behavior.
Parameters: NoneReturns: Nothing (procedure)Notes:
- setDown must be called from viewObject as opposed to initializeObject to support the object being on a page other than zero, because set down requires a visible browse. This sets DOWN when the object is actually being viewed rather than when it is initialized, which could happen before it is viewed if it is on a page other than zero.
- The browser implicitly sets the buffer to its currently selected row when it is visualized. This might cause problems if the DataSource is being manipulated by another object. An update-target might have called AddRow in the DataSource, which creates a RowObject while the browse still has the old row selected.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |