Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Tips on PrevFocus and Multivalue Arrays (Functions/Subroutines/Programs) ====== ====== ====== ==== Created at 12 MAY 1997 02:00PM ==== **PREVFOCUS** ** ** Sometimes when programming we want to know what the last control was that had the focus. In Open Insight we have a property of the System control that tells us this information. The syntax to do this is as follows: prevControl = Get_Property("SYSTEM" , "PREVFOCUS") This system property will always hold the id of the last object that had focus, whether or not the object was on the form or the desktop. PrevFocus is not local to the application. **MULTIVALUE ARRAYS ** ** ** If you want to get all of the data within a MultiValued field the correct property that should be used is the ARRAY property. If the text property is used, only the first line of information is retained in the variable and not the entire field. The syntax to do this is as follows: fieldData = Get_Property("<window name>.<control name>" , "ARRAY") kb/kb_articles/kb0094.txt Last modified: 2024/01/30 13:36by 127.0.0.1