Search found 682 matches

by djrikki
Sun Apr 01, 2018 2:25 pm
Forum: Code snippets area
Topic: mui.Setter
Replies: 1
Views: 1710

Re: mui.Setter

And lastly, if it's a single item and you need to set multiple key/value pairs default back to using mui.Set().
by djrikki
Sun Apr 01, 2018 1:41 pm
Forum: Code snippets area
Topic: mui.Setter
Replies: 1
Views: 1710

mui.Setter

This small function allows you to set an attribute to a value on multiple items in one function call, enjoy. Remove the ExitOnError() block if you don't need it in your environment. Global Gui Gui = {} /* mui.Set */ Function Gui:Set(objects,attribute,value,postfix) ExitOnError(False) For i, v In IPa...
by djrikki
Sun Apr 01, 2018 1:32 pm
Forum: MUI Royale
Topic: Listview.GetEntry
Replies: 5
Views: 1593

Listview.GetEntry

ListViews by their nature can have any number of Columns, this number can even be dynamic depending on the application, it's not always a fixed amount.

At times it would beneficial to me if were possible to Return values as a table instead of individual column$ variables.
by djrikki
Sun Apr 01, 2018 1:24 pm
Forum: Wishlist
Topic: Function : Default parameters
Replies: 1
Views: 879

Function : Default parameters

It would be helpful in some projects if we were able to specify default parameters on a Function statement something akin to ES6/ES2015 in JavaScript. /* example */ Function Say(word = "Hello World!") DebugPrint(word) EndFunction Say("Hello Andreas!") Say() Output: Hello Andreas! Hello World!
by djrikki
Fri Mar 30, 2018 5:48 pm
Forum: MUI Royale
Topic: ListTree - attempt to get previous node
Replies: 3
Views: 917

Re: ListTree - attempt to get previous node

Thanks, I have plenty of optimising to do.
by djrikki
Fri Mar 30, 2018 12:42 am
Forum: MUI Royale
Topic: ListTree - attempt to get previous node
Replies: 3
Views: 917

Re: ListTree - attempt to get previous node

Local found, active = mui.DoMethod( "windowtree-" .. PadNum(Windows:ReturnActiveWindow(),3), "getentry", "active", "head", "" ) found, parent = mui.DoMethod( "windowtree-" .. PadNum(Windows:ReturnActiveWindow(),3), "getentry", active.muiid, "parent", "" ) In the end I did this which seems a bit long...
by djrikki
Fri Mar 30, 2018 12:27 am
Forum: MUI Royale
Topic: ListTree - attempt to get previous node
Replies: 3
Views: 917

ListTree - attempt to get previous node

Okay I attempting to return the previous node of the (last) VGroup item - which in this situation is the middle named Register node. However, clearly I am not doing something right (or Royale is broken) because when I call 'previous' on the 'active' node I get a DSI everytime. Which of course should...
by djrikki
Tue Mar 27, 2018 7:15 pm
Forum: MUI Royale
Topic: Register.Position
Replies: 3
Views: 1273

Register.Position

Just gave this one ago to see if it had the desired effect on my app, yes it correctly moved the register from position Top to position Bottom - switching tabs worked correctly as expected - however the Active state of the tab was NOT shown visually to me.
by djrikki
Sat Mar 24, 2018 1:58 pm
Forum: MUI Royale
Topic: Toolbar set ActiveObject
Replies: 1
Views: 737

Toolbar set ActiveObject

Perhaps this behaviour is possible to achieve however I haven't worked it out yet. It is possible to set focus on an object in a Window using the ActiveObject attribute however I have not be able to set this focus on a specific Toolbarbutton on a Toolbar. Doesn't appear to be possible or I am dumb. ...
by djrikki
Sun Mar 18, 2018 3:06 pm
Forum: Wishlist
Topic: Switch...Case - multiple expressions
Replies: 8
Views: 1640

Re: Switch...Case - multiple expressions

@JPV @bitRocky it appears I misunderstood the Fallthrough statement it certainly does what I want it to.

Thank you.