Difference between revisions of "HowTo:Inject UI into UBIK Studio"
| Line 34: | Line 34: | ||
= Window = | = Window = | ||
| − | === | + | === Goal === |
| − | + | The goal is to extend the toolbar by injecting a button that opens the target window.<br> | |
| − | [[File:InjectedButton.png|thumb|left| | + | In addition, the “View” menu will be extended with a new entry that also opens the window.<br> |
| + | [[File:InjectedButton.png|thumb|left|298px|Injected button]] | ||
| + | [[File:InjectedMenuEntry.png|thumb|left|508px|Injected menu entry]]<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | ||
| + | |||
=== Implementation === | === Implementation === | ||
1. Create or reuse a .Net library (DLL) project - it doesn't have to be a {{UBIK}} Module.<br> | 1. Create or reuse a .Net library (DLL) project - it doesn't have to be a {{UBIK}} Module.<br> | ||
| Line 61: | Line 64: | ||
8. In the GetWindow method, return your window (step 2).<br> | 8. In the GetWindow method, return your window (step 2).<br> | ||
9. Provide the updated DLL containing your UserControl in UBIK® Studio's [[Injection_Management#Injection_Folder.28s.29|Injection]] folder.<br> | 9. Provide the updated DLL containing your UserControl in UBIK® Studio's [[Injection_Management#Injection_Folder.28s.29|Injection]] folder.<br> | ||
| − | 10. After connecting to a database with UBIK® Studio, the new control can be accessed by the new button in the | + | 10. After connecting to a database with UBIK® Studio, the new control can be accessed by the new button in the toolbar as well as under the "View" menu.<br><br> |
<!-- DO NOT REMOVE THIS -->{{Template:HowTo/End}}<!-- DO NOT REMOVE THIS --> | <!-- DO NOT REMOVE THIS -->{{Template:HowTo/End}}<!-- DO NOT REMOVE THIS --> | ||
Revision as of 11:13, 17 June 2026
Since version 5.2 it is possible to inject UI into UBIK® Studio.
The injected UI can be displayed inside a User Control and or Window.
This article will help you to inject your UI!
See also
tbd.



