Silverfrost Forums

Welcome to our forums

Using %ud with %mn

4 Oct 2019 2:30 #24453

Is this possible? If so, what would the syntax be? %mn is not a control, per se, because I tried:

    i = winio@('%mn[help[help]]%ud&',button1,15)

And it threw a run-time error about the %ud not being used with a control.

/CHECK_WINIO does not pick up this syntax as an error. It might be too infrequently possible that it's not worth trying to include it, but I did try it!

4 Oct 2019 4:25 #24454

User data (%UD) can be attached to a control but not to a menu item. I guess that it could be attached to a menu item but it would be an entirely new construction within the library.

4 Oct 2019 9:20 #24456

Paul, while this would be 'nice', it does not seem to fit syntactically. I appreciate the thought.

Can %ud be used on a Window (%ww or %sy)? Or does that mess with stuff internally?

Bill

5 Oct 2019 5:36 #24459

Within ClearWin+ a Window has a different data base than a control and the %ud data only relates to a control. As above, it should be possible to extend the idea to a Window.

Please login to reply.