Trigger an event using code

Started by Lube, November 06, 2015, 01:53:09 AM

Previous topic - Next topic

Lube

Hello guys, I've a question!
Is it possible to trigger an event without using the mouse? Directly from source code?
Code (autolisp) Select
(defun c:Pippo/Main/R_fuoco#OnSelChanged (ItemIndexOrCount Value /)
  (verifica_R (/ (dcl-ComboBox-GetItemData Pippo/Main/R_fuoco ItemIndexOrCount) 1.0))
)


Thanks :)
Dennis

Lube

I'm doing it this way:
Code (autolisp) Select
(c:Pippo/Main/R_fuoco#OnSelChanged (dcl-ComboBox-GetCurSel Pippo/Main/R_fuoco) T)

But I'm not sure if it's the best way

Fred Tomke

Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]