Main Menu

Recent posts

#61
PlanetSquires Software / Re: Tiko - new Localization fu...
Last post by fbfans - July 29, 2026, 06:14:23 AM
Hi Paul,

I've noticed your frequent major moves recently — it feels like the big version update is getting closer and closer. Great work, and thank you for your hard work.

I also have a few small feature requests that I hope could be considered for the new release:

In the General Options, could we have the ability for users to set the default encoding for newly created files?
In the Compiler Results window, could you add a right-click copy feature that allows selecting a single line or all content? I'm not very skilled at debugging, and sometimes I need to copy error messages to search for solutions online. Currently, I have to switch to the compiler log file to do that, which is a bit inconvenient.
For the localization/language selector, I'd suggest displaying the language names directly in their native form — for example, "简体中文" instead of "Chinese (Simplified)", and "English" instead of "English (US)". This would make it more intuitive.

Thanks a lot for your time!
#62
José Roca Software / Re: AfxStrParseCountAny bug
Last post by José Roca - July 28, 2026, 08:42:22 PM
You're right. I have modified it.

#63
PlanetSquires Software / Tiko - new Project Options fun...
Last post by Paul Squires - July 28, 2026, 07:11:08 PM
New Project Options dialog.

This is the last of the old school, non-themed, dialogs from the current Tiko Editor release.

#64
José Roca Software / AfxStrParseCountAny bug
Last post by Paul Squires - July 28, 2026, 05:46:33 PM
Hi José,

Looks like AfxStrParseCountAny() has a little bug in it.

' ========================================================================================
' * Return the count of delimited fields from a string expression.
' If wszMainStr is empty (a null string) or contains no delimiter character(s), the string
' is considered to contain exactly one sub-field. In this case, AfxStrParseCountAny returns the value 1.
' Delimiter contains a set of characters (one or more), any of which may act as a delimiter character.
' Delimiters are case-sensitive.
' Example: DIM nCount AS LONG = AfxStrParseCountAny("1;2,3", ",;")
' ========================================================================================
PRIVATE FUNCTION AfxStrParseCountAny (BYREF wszMainStr AS CONST WSTRING, BYREF wszDelimiter AS CONST WSTRING = ",") AS LONG
   DIM nCount AS LONG = 1
   DIM nPos AS LONG = 1
   DO
      nPos = INSTR(nPos, wszMainStr, ANY wszDelimiter)
      IF nPos = 0 THEN EXIT DO
      nCount += 1
      nPos += LEN(wszDelimiter)   '<---- THIS IS THE PROBLEM
      ' nPos += 1   '<---- THIS IS THE FIX
   LOOP
   RETURN nCount
END FUNCTION
' ========================================================================================
#65
PlanetSquires Software / Tiko - new Theme Editor functi...
Last post by Paul Squires - July 28, 2026, 02:36:10 PM
Finally! The new theme editor is complete and working. It allows interactive selection and management of themes, with the added coolness that all color changes can be seen live in the editor itself as you make them. Once you're happy with the colors then simply save your changes and the new theme is active.

I still need to do a pass on the theme element names themself and rework the colors assigned to the default dark and light themes but I need to finish the refactor of all of the dialogs within Tiko itself before deciding on theme colors.
#66
PlanetSquires Software / Re: PsControls Updates
Last post by Paul Squires - July 27, 2026, 07:14:18 PM
FYI - taking a week to build all of these standalone custom controls is really starting to pay dividends now that I am refactoring the guts of Tiko. Large areas of code, often times duplicated, is now replaced with better defined custom controls.
#67
PlanetSquires Software / Tiko - new Keyboard Shortcuts ...
Last post by Paul Squires - July 27, 2026, 04:15:22 PM
Attached are screenshots of the new Keyboard Shortcuts editor. I think it is a great improvement over the current version. Much more modern, easier to read, theme aware. Best of all, it is interactive. You can simply press your key combination and the editor will assign it correctly (you can still also check the boxes and select from the list if you prefer).

This will hopefully find its way into the Development branch soon.
#68
PlanetSquires Software / Tiko - new Localization functi...
Last post by Paul Squires - July 27, 2026, 01:11:53 PM
Just finished working on a brand new implementation of the Localization edit dialog within Tiko. It is much improved and interactive. You select the langauage and the second PsListTree appears for editing. You edit the language phrase directly in the row (like editing a node in a Treeview).

This was the last phase in the Settings/Options redesign that I needed to do so I now consider the new Options dialog complete. I am also thinking of renaming that whole "Environment Options" stuff to simply "Settings". Seem simpler and I think more consistent with the way that most applications handle that concept.

See attached screenshots if this interests you.

The new changes have not yet been pushed to the Development branch (let alone the Main branch), but I am getting close to doing so. I want to finish the Theme edit dialog before I push all the changes to Development.


#69
PlanetSquires Software / Help Center - search Win32 key...
Last post by Paul Squires - July 27, 2026, 11:22:08 AM
The Help Center has been modified to do a best attempt search on Win32 api keywords. The keywords as defined in Tiko's \settings\keywords\winapi_keywords.txt file.

https://www.planetsquires.com/docs

It is still the plan to have this entire website offline and local to Tiko and F1 keypresses to automatically search for help.

The limitation with Win32 api keywords help is that it directs to Microsoft's own documentation rather than store archived copies of it on the Help Center site.
#70
PlanetSquires Software / Re: PsControls Updates
Last post by Paul Squires - July 26, 2026, 08:14:35 PM
Updated control:  PsListBox -> renamed to -> PsListTree

Changed the name in order to better reflect the new capabilities. PsListTree emulates the best of traditional listboxes and treeviews. The recent treeview additions allow for unlimited parent/child branches and in-place node editing.