Personalising my Custom Command

Jack S wrote on 3/12/2023, 5:37 PM

@jetdv Hi Edward. I've made a lot of progress with my custom command and I'd like to personalise it if I can. I've tried and failed to put a graphic on my main form. How did you you do it for Excalibur? Also, how did you create tabs within tabs?
As always, thanks in advance for any help in pointing me in the right direction.

EDIT:- I'm afraid I jumped the gun a bit. I thought, if I can't place the graphic inside the main form, maybe I can place it outside. That's the answer. I now just have to resize the main form and place the graphic in the correct place so that it appears in the tabbed area without the scroll bars.
The question about the tabbed tabs remains though.

Last changed by Jack S

My system
Genshin Infinity Gaming PC
Motherboard Gigabyte H610M H: m-ATX w/, USB 3.2, 1 x M.2
Power Supply Corsair RM750X
Intel Core i7-13700K - 16-Core [8P @ 3.4GHz-5.4GHz / 8E @ 2.50GHz-4.20GHz]
30MB Cache + UHD Graphics, Ultimate OC Compatible
Case Fan 4 x CyberPowerPC Hyperloop 120mm ARGB & PWM Fan Kit
CPU Fan CyberPowerPC Master Liquid LITE 360 ARGB AIO Liquid Cooler, Ultimate OC Compatible
Memory 32GB (2 x 16GB) DDR5/5200MHz Corsair Vengeance RGB
MSI GeForce RTX 4060 Ti 8GB - Ray Tracing Technology, DX12, VR Ready, HDMI, DP
System drive 1TB WD Black SN770 M.2 NVMe PCIe SSD - 5150MB/s Read & 4900MB/s Write
Storage 2 x 2TB Seagate BarraCuda SATA-III 6.0Gb/s 7200RPM
Windows 11 Home (x64)
Monitors
Generic Monitor (PHL 222V8) connected to GeForce RTX 4060 Ti
Generic Monitor (SAMSUNG) connected to iGPU

Camcorder
SONY Handycam HDR-XR550VE

Comments

jetdv wrote on 3/12/2023, 8:44 PM

My image is inside a "picture box". Just add a picture box to the form and set it to the image.

Google is your friend. I always precede searches with "C#" and then what I'm looking for. But what are you meaning by "tabs within tabs"? Each of my tabs basically has a "form" inside it. I suppose you could add another tab control to that inside form just as easily as you did the original form.

Jack S wrote on 3/13/2023, 5:45 PM

@jetdv By tabs within tabs, I'm referring to your UI which seems to have 3 tabs at the top.

Are these not tabs? I thought they were tabs that, when clicked, opened up more tabbed forms. Thus allowing tabbed forms to be combined into groups.

Thanks for the tip about the Google search method.

My system
Genshin Infinity Gaming PC
Motherboard Gigabyte H610M H: m-ATX w/, USB 3.2, 1 x M.2
Power Supply Corsair RM750X
Intel Core i7-13700K - 16-Core [8P @ 3.4GHz-5.4GHz / 8E @ 2.50GHz-4.20GHz]
30MB Cache + UHD Graphics, Ultimate OC Compatible
Case Fan 4 x CyberPowerPC Hyperloop 120mm ARGB & PWM Fan Kit
CPU Fan CyberPowerPC Master Liquid LITE 360 ARGB AIO Liquid Cooler, Ultimate OC Compatible
Memory 32GB (2 x 16GB) DDR5/5200MHz Corsair Vengeance RGB
MSI GeForce RTX 4060 Ti 8GB - Ray Tracing Technology, DX12, VR Ready, HDMI, DP
System drive 1TB WD Black SN770 M.2 NVMe PCIe SSD - 5150MB/s Read & 4900MB/s Write
Storage 2 x 2TB Seagate BarraCuda SATA-III 6.0Gb/s 7200RPM
Windows 11 Home (x64)
Monitors
Generic Monitor (PHL 222V8) connected to GeForce RTX 4060 Ti
Generic Monitor (SAMSUNG) connected to iGPU

Camcorder
SONY Handycam HDR-XR550VE

jetdv wrote on 3/13/2023, 8:18 PM

That is a single tab bar that has 14 tabs. However, there are two many tabs to fit them all across so it automatically broke it up into two lines. But it's a single tab control.

When you click on the tab, it opens the form associated with/on that tab.

Basically, a tab is created and a form is added to that tab. When that tab is clicked, it automatically opens the form that was added to that tab.

jetdv wrote on 3/13/2023, 8:20 PM

If you shrink the width of the Excalibur window, you'll see the tab configuration change!

but it still has 14 tabs - in this image there are 7 in each row.

Jack S wrote on 3/14/2023, 4:49 AM

Got it. I understand now. Thanks.

My system
Genshin Infinity Gaming PC
Motherboard Gigabyte H610M H: m-ATX w/, USB 3.2, 1 x M.2
Power Supply Corsair RM750X
Intel Core i7-13700K - 16-Core [8P @ 3.4GHz-5.4GHz / 8E @ 2.50GHz-4.20GHz]
30MB Cache + UHD Graphics, Ultimate OC Compatible
Case Fan 4 x CyberPowerPC Hyperloop 120mm ARGB & PWM Fan Kit
CPU Fan CyberPowerPC Master Liquid LITE 360 ARGB AIO Liquid Cooler, Ultimate OC Compatible
Memory 32GB (2 x 16GB) DDR5/5200MHz Corsair Vengeance RGB
MSI GeForce RTX 4060 Ti 8GB - Ray Tracing Technology, DX12, VR Ready, HDMI, DP
System drive 1TB WD Black SN770 M.2 NVMe PCIe SSD - 5150MB/s Read & 4900MB/s Write
Storage 2 x 2TB Seagate BarraCuda SATA-III 6.0Gb/s 7200RPM
Windows 11 Home (x64)
Monitors
Generic Monitor (PHL 222V8) connected to GeForce RTX 4060 Ti
Generic Monitor (SAMSUNG) connected to iGPU

Camcorder
SONY Handycam HDR-XR550VE