> ## Content Index
> Fetch the complete content index at: https://nolongerset.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# twinBASIC Update: January 1, 2023
- URL: https://nolongerset.com/twinbasic-update-january-1-2023/
- Published: 2023-01-01T19:12:42.000Z
- Updated: 2026-05-08T12:52:34.000Z
- Description: Highlights include a redesigned form preview button, a file watcher sample application from fafalone, and a holiday message from Wayne Phillips.
- Author: Mike Wolfe
- Tags: twinBASIC Weekly Update, #Import 2026-05-20 02:59

*On April 23, 2021, I helped [Wayne Phillips](twitter.com/WaynePhillipsEA/) introduce the world to [twinBASIC](https://www.twinbasic.com/) at the [Access DevCon Vienna](https://www.donkarl.com/devcon/) conference. I [boldly predicted](https://nolongerset.com/devcon-2021/) that twinBASIC (along with the Monaco editor) would replace VBA and its outdated development environment by 2025\. With that goal in mind, this weekly update is my attempt to keep the project fresh in the minds of the VBA development community.*

*Every Sunday, I will be providing updates on the status of the project, linking to new articles discussing twinBASIC, and generally trying to increase engagement with the project. If you come across items that should be included here, tweet me [@NoLongerSet](https://twitter.com/NoLongerSet) or email me at mike at nolongerset dot com.*

*Here are some links to get involved with the project:*

- **[Custom twinBASIC IDE Installation Guide](https://nolongerset.com/how-to-install-twinbasic/)* (NOTE: the twinBASIC VSCode extension is under a feature freeze until 2023)*
- *[GitHub Issue Tracker (report bugs)](https://github.com/WaynePhillipsEA/twinbasic/issues)*
- *[twinBASIC Discord Server](https://discord.com/invite/UaW9GgKKuE) ([chat about the project](https://github.com/WaynePhillipsEA/twinbasic/discussions/629))*
- *[twinBASIC/VBx LinkedIn Group](https://www.linkedin.com/groups/14132101/)*

---

## Highlights

### Redesigned Preview Button

The form designer **Preview** button got a makeover for Christmas courtesy of DinyaZ.

Here's the old version:

![](https://storage.ghost.io/c/eb/d7/ebd732c1-5f03-4f07-b386-5d08557e15c9/content/images/2023/01/image.png)

And here's its replacement, now with a hover-specific background color:

![](https://storage.ghost.io/c/eb/d7/ebd732c1-5f03-4f07-b386-5d08557e15c9/content/images/2023/01/image-1.png)

![](https://storage.ghost.io/c/eb/d7/ebd732c1-5f03-4f07-b386-5d08557e15c9/content/images/2023/01/image-2.png)

### Various Bug Fixes

No major new functionality to report during this holiday week, but there were several bug fixes. Refer to the changelog below for details.

### 

## Around the Web

### WatchDirectoryChanges

fafalone has posted another sample twinBASIC project over on GitHub. His **WatchDirectoryChanges** application demonstrates how to use the [S**HChangeNotifyRegister**](https://learn.microsoft.com/en-us/windows/win32/api/shlobj%5Fcore/nf-shlobj%5Fcore-shchangenotifyregister) API function to "allow your program to be notified of any changes to files, folders, and other shell objects":

> Use SHChangeNotifyRegister and SHChangeNotification\_Lock to watch directory changes (64bit compatible)

This appears to be a direct import of some sample VB6 code he [posted](https://www.vbforums.com/showthread.php?805991-SHChangeNotifyRegister-updated-and-corrected-including-new-delivery-method) back in 2015 on vbForums.

### Special Thanks from Wayne Phillips

I received the following message the first time I started twinBASIC BETA 218:

![](https://storage.ghost.io/c/eb/d7/ebd732c1-5f03-4f07-b386-5d08557e15c9/content/images/2023/01/image-4.png)

### 

## Changelog

Here are the updates from the past week. You can also find this information by visiting the GitHub [twinBASIC Releases page](https://github.com/WaynePhillipsEA/twinbasic/releases).

[Releases · WaynePhillipsEA/twinbasicContribute to WaynePhillipsEA/twinbasic development by creating an account on GitHub.![](https://github.githubassets.com/favicons/favicon.svg)GitHubWaynePhillipsEA![](https://opengraph.githubassets.com/13bf5f13278e5633e644e312c6a75cfe0baf97f01dd45660573b36f5de0ee945/WaynePhillipsEA/twinbasic)](https://github.com/WaynePhillipsEA/twinbasic/releases)

**WARNING:** The following two issues are present in BETA builds 202 - 218 (the latest build as of publication):

- building ActiveX controls is known to be broken in these builds. Use BETA 201 instead for that feature.
- there are known memory leaks in these versions, so memory usage will be higher than normal

### BETA 214

- fixed: (IDE) sometimes the active debug line would not be forced into view
- improved: (IDE) form designer PREVIEW button has been redesigned \[ DinyaZ, discord \]
- fixed: Controls collection was returning IUnknown entries rather than IDispatch, resulting in some issues
- fixed: corrections to ScaleMode when SetParent API has been used to change the parent of a control at runtime \[ fafalone, discord \]
- fixed: some controls would not be runtime-resizable by the user through dragging when WS\_THICKFRAME style was added via API \[ fafalone, discord \]
- fixed: controls moved by API don't know they've been moved \[ https://github.com/[/issues/1429](https://github.com/twinbasic/twinbasic/issues/1429) \]

### BETA 215

- fixed: (regression) ScaleMode ineffective in BETA 214

### BETA 216

- fixed: BackColor / ForeColor / FontTransparent graphics properties not effective for manual Win API calls \[ https://github.com/[/issues/1434](https://github.com/twinbasic/twinbasic/issues/1434) \]
- fixed: UserControl property descriptions not showing in the form designer

### BETA 217

- fixed: font caching issue in PictureBox / Form / UserControl \[ fafalone, discord \]
- fixed: PictureBox/UserControl ScaleWidth/ScaleHeight properties were reporting sizes including borders \[ fafalone, discord \]
- fixed: (IDE) closing a non-active tab could leave black area below monaco editor if the number of tab rows reduced
- fixed: (regression) (IDE) insertion of new events would not place the cursor inside the new event procedure since BETA 214 \[ sokinkeso, discord \]
- fixed: control arrays in a UserControl would expose an erroneous entry in the form designer property sheet \[ fafalone, discord \]

### BETA 218

- fixed: Form/PictureBox/UserControl TextWidth function was broken \[ fafalone, discord \]
- improved: further tweaked ScaleWidth/ScaleHeight calculation
- fixed: VarPtr is now allowable without the result being used, to match VBx handling \[ AlienSoft, discord \]
- improved: some initial fixes put in place for Form resize issues