2013-12-19 15:15 UTC
hi evryone
i have a Problem
if i the GB Name so take off a list does not go.
I do not want to write so "Layer_Manager_Form1_GraphicButton12" on Picture Change.
(defun c:layer_zustand_akt (/ )
(setq lza_LayerList
'(
("Layer1" "Layer_Manager_Form1_GraphicButton12")
)
)
(setq lza_sayi (length lza_LayerList) n 0)
(repeat lza_sayi
(setq lza_eleman (nth n lza_Layerlist))
(setq lza_layer (nth 0 lza_eleman))
(setq lza_gbn (nth 1 lza_eleman))
(setq lza_sor (tblsearch "layer" lza_layer))
(setq lza_sonuc (cdr (assoc 62 sor)))
(if (< lza_sonuc 0)
(dcl_Control_SetPicture lza_gbn 107)
(dcl_Control_SetPicture lza_gbn 106)
)
(setq n (+ n 1))
) ;repeat
)
i have a Problem
if i the GB Name so take off a list does not go.
I do not want to write so "Layer_Manager_Form1_GraphicButton12" on Picture Change.
(defun c:layer_zustand_akt (/ )
(setq lza_LayerList
'(
("Layer1" "Layer_Manager_Form1_GraphicButton12")
)
)
(setq lza_sayi (length lza_LayerList) n 0)
(repeat lza_sayi
(setq lza_eleman (nth n lza_Layerlist))
(setq lza_layer (nth 0 lza_eleman))
(setq lza_gbn (nth 1 lza_eleman))
(setq lza_sor (tblsearch "layer" lza_layer))
(setq lza_sonuc (cdr (assoc 62 sor)))
(if (< lza_sonuc 0)
(dcl_Control_SetPicture lza_gbn 107)
(dcl_Control_SetPicture lza_gbn 106)
)
(setq n (+ n 1))
) ;repeat
)