jen84: “config”: messagebox(button_config.tag) change to “config”: messagebox(s.tag)
jen84: case of ( button_Config: messagebox(“button 1”) button_Config2: messagebox(“button 2”) default: print “error” ) change to case s.tag of (…
this is my toolbar , every button use the same click event , i save the index and other info in .tag , then use them to do different operations
dotnet control have a special property “.tag” , you can save anything init
you can definite functions for every button or case in function
for your requirement , you’d better use dynamic method rollout test “test” ( local colors = DotNetClass “System.Drawing.Color” local img = (dotNet…
jen84: dotnetcontrol test “label” width:100 height:100 pos:[0,0] dotnetcontrol button_Config “TransparentLabel” pos:[0,0] width:100 height:100 y…
controls’ default state is not Transport , and this is a common problem to achieve the result , you must rewrite the label fn TransparentLabelfn = ( …
Based on your description , there’s no problem . you can post what you tried with error if you havn’t try , search “dotnet” there are lots of examples…
windows prevent other processes from obtaining instances , you can only get instance of created by yourself there’s a dotnet project to break through …
any property definited by a kind of controller , bezier_float is main controller for float numerical control , object’s pos / rotation are default t…
for o in selection do ( try o.visibility.controller catch o.visibility = bezier_float() if o.primaryVisibility then o.visibility.controller.value =…
$.visibility.controller.value = 0.5
i havn’t found primitive method , then you can traversal nodes by yourself sel=#() fn getchecknodes n = ( for i = 0 to n.nodes.count – 1 do ( if …
you are perfectionist maybe for you , there’s no need to add python in max