Light
@light
New Member
Joined: Feb 14, 2024
Topics: 6 / Replies: 370
Reply
RE: function pointers?

Hi, You can but you are using curly braces. Light

16 years ago
Forum
Reply
RE: is it possible to update slider width according to the size of UI?

Hi, I would recommend using a .NET TrackBar control, which would give you access to the Size property and much more. Light

16 years ago
Forum
Reply
RE: Copying string to clipboard?

Or use the methods in the Clipboard class in .NET, if you don’t want external dependencies, etc. Light

16 years ago
Forum
Reply
RE: Poly face from mesh face

Hey, You can use a method like this: fn GetPolygonFromFace objPoly objMesh face = ( local faceVerts = GetFace objMesh face local sharedPoly = P…

16 years ago
Forum
Reply
RE: Mouse input window

Hey Paul, You can use the MouseUp event of the PictureBox. You might also need to use TheHold instead of the undo context, like: TheHold.Begin() DoS…

16 years ago
Forum
Reply
RE: MXS Viewport

I think Copy method returns OK because it just performs a shallow copy. Light

16 years ago
Forum
Reply
RE: MXS Viewport

Truly inspirational work. 5 stars from me. Keep them coming. Cheers, Light

16 years ago
Forum
Reply
RE: soft selection math

It’s easy. Implementation: ( local offsetTransformation = lastPos – firstPos for eachVert in softVerts do ( local softTransform = (PolyOp.G…

17 years ago
Forum
Topic
Forum
Replies: 0
Views: 12
Reply
RE: DotNet Listview with checkboxes: Selecting multiple items toggles the checked states

I came across this problem in C#, when using a ListView with FullRowSelect property set to true. You can workaround this by: Setting FullRowSelect p…

17 years ago
Forum
Reply
RE: .net xml reader class

If you have .NET Framework 3.5 (Beta), you could use Linq to Xml. Light

17 years ago
Forum
Reply
RE: isMacro script installed?

I also wrote a function for this similar to Bobo’s which is at orionflame.com > Light > Production Tools > C4 Light

17 years ago
Forum
Reply
RE: Insert comma into a string?

Don’t know of a built in method, but this should do it: fn ToDecimalString str digits = ( local result = “” for i = str.count to 1 by -1 do …

17 years ago
Forum
Reply
RE: List installed macros

Mine is a simple method that parses the macros into a searchable form. You can find it here > Light > Production Tools > Supra > C4 > …

17 years ago
Forum
Reply
RE: creating controls on rollout depending on number of layers in scene?

Hi, You can also check out my LayerMan tool that is similar to what you are asking. It uses multiple TreeView ActiveX controls to get around these pr…

17 years ago
Forum
Page 6 / 26