textbox not updating

Started by Domzinator · 2023-10-20 21:10 UTC · 1 replies · SMF topic #2890

Hi Guys i am trying to update a textbox when the form iInitializes but this does not seem to work i cant understand why. Here is my code:


(setq txt "This is a test")
(defun c:MyCivil3D/Form1#OnInitialize (/)
(dcl-Control-SetText MyCivil3D/Form1/TextBox1 txt)
)
Have you checked all other stuff?
- the dialogue is loaded and active?
- other controls are working fine?
- can you modify the textbox with another command after initializing?
- the textbox-control has all needed events activated?
- ....