Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
12114:demo [2024/04/15 04:05 UTC] – [Download and Save Sample Code] mwolfe | 12114:demo [2024/04/15 04:45 UTC] – [Create the Tool Window Controls] mwolfe | ||
---|---|---|---|
Line 6: | Line 6: | ||
- Extract from Zip folder | - Extract from Zip folder | ||
- Open twinBASIC > **Sample 4** | - Open twinBASIC > **Sample 4** | ||
- | - Enter Project Name: '' | + | - Enter Project Name: '' |
- Save as: '' | - Save as: '' | ||
- Navigate to: '' | - Navigate to: '' | ||
- Create folder named: '' | - Create folder named: '' | ||
- Filename: '' | - Filename: '' | ||
+ | |||
+ | ===== Customize the Addin Name and Description ===== | ||
+ | Next, let's customize the friendly name and description of our addin. | ||
+ | - Go to **dllRegistration.twin** > **DllRegisterServer** | ||
+ | - In the " | ||
+ | - In the " | ||
+ | - Save the project | ||
+ | - Build the project | ||
+ | - Launch '' | ||
+ | - Switch to VBA: < | ||
+ | - Dock the add-in window | ||
+ | - Go to " | ||
+ | - Go to " | ||
+ | * Point out the " | ||
+ | - Close " | ||
===== Create the Tool Window Controls ===== | ===== Create the Tool Window Controls ===== | ||
Line 16: | Line 31: | ||
- Open myToolWindow.tbcontrol | - Open myToolWindow.tbcontrol | ||
- Select all controls and delete them | - Select all controls and delete them | ||
+ | - Click DIAGNOSTICS error to go to myToolWindow.twin and **delete all dead code** | ||
- Select form and set the following properties: | - Select form and set the following properties: | ||
* Height: 1700 | * Height: 1700 | ||
Line 45: | Line 61: | ||
* Top: 1050 | * Top: 1050 | ||
* Width: 2250 | * Width: 2250 | ||
+ | - Create a version label | ||
+ | * Caption: Version {hhmm} | ||
===== Edit the Code in myToolWindow.twin ===== | ===== Edit the Code in myToolWindow.twin ===== |