Search found 80 matches

by RobertRioja
Mon Sep 15, 2025 11:42 pm
Forum: Coding Questions
Topic: Right-click on a ComboBoxGadget
Replies: 5
Views: 237

Re: Right-click on a ComboBoxGadget

Hello Axolotl,

Thank you very much. This is exactly what I needed.

Rob
by RobertRioja
Sun Sep 14, 2025 10:27 pm
Forum: Coding Questions
Topic: Right-click on a ComboBoxGadget
Replies: 5
Views: 237

Right-click on a ComboBoxGadget

I hope someone can answer this. If I click on a ComboBoxGadget, its list will drop down so I can click on any item. That will trigger the #PB_EventType_Change event. However, I need to right-click on an item and I don't see a way of capturing that event.

Any ideas?

Thanks,
Rob
by RobertRioja
Sun Aug 10, 2025 9:40 pm
Forum: Coding Questions
Topic: Hide a Container gadget
Replies: 1
Views: 178

Hide a Container gadget

I can hide or disable a Container gadget, but the controls in the container are not hidden nor disabled. Is there a way to hide/disable everything inside the container?

Thanks,
Robert
by RobertRioja
Mon May 19, 2025 4:10 pm
Forum: Coding Questions
Topic: ListIconGadget Events
Replies: 12
Views: 1363

Re: ListIconGadget Events

Tua: Thank you for your replies. It was very useful and got me started on the right road.

Shardik: Thank you for your example. This was very useful also.

Rashad: I am working with your code. It looks great !!! I am thinking of turning it into a Module, and separate it from the demo code. Once I do ...
by RobertRioja
Sun May 18, 2025 4:35 am
Forum: Coding Questions
Topic: ListIconGadget Events
Replies: 12
Views: 1363

Re: ListIconGadget Events

I figured it out. It only works if you use #PB_ListIcon_FullRowSelect when you create the ListIconGadget.

I will look into the GridExModule.

Thank you,
Robert
by RobertRioja
Sun May 18, 2025 2:36 am
Forum: Coding Questions
Topic: ListIconGadget Events
Replies: 12
Views: 1363

Re: ListIconGadget Events

Thanks for your reply.

GetGadgetState() only returns the row if you click on column 0. Else it returns -1.
But I read up on LVHITTESTINFO and learned that iSubItem returns the column and iItem returns the row.

I am trying to produce a gadget that behaves like a spreadsheet, where you can click on ...
by RobertRioja
Sat May 17, 2025 2:22 am
Forum: Coding Questions
Topic: ListIconGadget Events
Replies: 12
Views: 1363

ListIconGadget Events

If I display a ListIconGadget in a form, I can trap the events such as #PB_EventType_LeftClick. But how do I determine the column and row that was clicked?
Thank you,
Robert
by RobertRioja
Fri May 24, 2024 12:44 am
Forum: Coding Questions
Topic: Access a USB device from PB?
Replies: 11
Views: 2806

Re: Access a USB device from PB?

AZJIO,
Thank you.
Robert
by RobertRioja
Tue May 21, 2024 4:17 am
Forum: Coding Questions
Topic: Access a USB device from PB?
Replies: 11
Views: 2806

Re: Access a USB device from PB?

Idle,

Thanks again.
Robert
by RobertRioja
Thu May 16, 2024 12:41 am
Forum: Coding Questions
Topic: Access a USB device from PB?
Replies: 11
Views: 2806

Re: Access a USB device from PB?

Idle: Thank you for the library. I cannot find documentation on how to use it, routine names, parameters, etc. Where can I find it?

Thanks,
Robert
by RobertRioja
Tue May 14, 2024 5:07 pm
Forum: Coding Questions
Topic: Access a USB device from PB?
Replies: 11
Views: 2806

Re: Access a USB device from PB?

Thank you all for your replies!!!

Idle: Please send me the Win64 library, or tell me how to get it. Thanks.

I downloaded the library that User_Russian posted but it asks for another lib called MISC, which I cannot find.

Thank you
Robert
by RobertRioja
Tue May 14, 2024 2:56 am
Forum: Coding Questions
Topic: Access a USB device from PB?
Replies: 11
Views: 2806

Access a USB device from PB?

Is there a way to access a USB device from PB? Is there a library?

I tried to search the forum for "USB" but the search function will not accept words of less than 4 characters!
by RobertRioja
Thu Feb 23, 2023 5:17 am
Forum: Coding Questions
Topic: How to set external window inside a gadget?
Replies: 9
Views: 1189

Re: How to set external window inside a gadget?

Hi again,

I realized that the sample code I posted has some problems. The user could accidentally resize or even close the help window inside the container. I added some features to make this window "fixed in concrete" by altering its styles. But when the user asks to free it, I reset the styles to ...
by RobertRioja
Wed Feb 22, 2023 2:36 am
Forum: Coding Questions
Topic: How to set external window inside a gadget?
Replies: 9
Views: 1189

Re: How to set external window inside a gadget?

Here is the completed example. Thanks to jacdelad and BarryG for help and inspiration.

This sample code reads a help file "HelpWithThisProgram.chm", which you have to supply, into a container within a main window. The help file is normally in its own window on the desktop. There are 3 buttons. The ...
by RobertRioja
Tue Feb 21, 2023 3:50 pm
Forum: Coding Questions
Topic: How to set external window inside a gadget?
Replies: 9
Views: 1189

Re: How to set external window inside a gadget?

Yes, I agree. Currently, some of my apps have the help built-in, and others have it as a separate chm. The built-in version is simply an HTML file that I display in a webgadget. I am actually looking for a way to have it both ways.

I plan on having the chm appear in the app, as jacdelad helped me ...