Jeremy French
2017-02-08 14:46:16 UTC
When programmatically changing the selection (in a listbox or Write Pro area, for example), is there a way to generate an "On Selection Change" form event for the object whose selection changed?
For example, assume:
1) Array Listbox
2) "On Selection Change" event check-marked
3) Listbox displaying multiple rows
Then a button object method executes the following:
--
GOTO OBJECT(*;"edit_listboxA")
LISTBOX SELECT ROW(*;"edit_listboxA";1;lk replace selection)
--
QUESTION --- Is it possible to get the listbox's "On Selection Change" form event to trigger, after programmatically changing the listbox's selection?
Using:
v16R2
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
*************************************************
For example, assume:
1) Array Listbox
2) "On Selection Change" event check-marked
3) Listbox displaying multiple rows
Then a button object method executes the following:
--
GOTO OBJECT(*;"edit_listboxA")
LISTBOX SELECT ROW(*;"edit_listboxA";1;lk replace selection)
--
QUESTION --- Is it possible to get the listbox's "On Selection Change" form event to trigger, after programmatically changing the listbox's selection?
Using:
v16R2
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
*************************************************