Category: WX

GetColor(): The Function You Didn’t Know You Needed

GetColor(): The Function You Didn’t Know You Needed

The WL language's GetColor() function simplifies the task of assigning unique, harmonious colors to users in our task management system. Instead of manually assigning and managing colors, GetColor() uses the user's ID to consistently generate the same color. This approach reduces complexity and ensures that each user has a unique color, enhancing visual identification in the system.

Buttons are good, Links are Evil?

Buttons are good, Links are Evil?

A bug in the Link control that causes issues with captions containing accented characters can be resolved by changing the links to buttons. This workaround involves selecting the Link Control, choosing “Refactoring and swapping” on the Modification tab, and selecting Button/Link from the switch section. Additionally, using buttons instead of links provides more control over design and functionality, including the ability to use HTML captions and Icon Fonts.

Issue with ‘.’ instead of ‘..’ when using Exist property on JSON data

Issue with ‘.’ instead of ‘..’ when using Exist property on JSON data

Today, we will discuss an issue that arises from using a single '.' instead of '..' to reference properties of elements in JSON data. This problem surfaced while transitioning to the new prefix syntax coding style. It becomes apparent when checking whether a JSON variable exists in the data returned from an API call. The … Continue reading Issue with ‘.’ instead of ‘..’ when using Exist property on JSON data

Assisted Input + wxFileManager = The predictive input you have been looking for?

Assisted Input + wxFileManager = The predictive input you have been looking for?

Predictive Input, Type Ahead Lookup, or whatever you want to call it, it is one of the holy grails of a good User experience. Over the years I have used several approaches to achieve it. Today we will look at using the Assisted Input functions of WL along with the wxFileManager. BTW, There is also … Continue reading Assisted Input + wxFileManager = The predictive input you have been looking for?