Search found 527 matches

by RichardL
Thu Jan 25, 2018 10:35 am
Forum: Windows
Topic: Safety while working alone
Replies: 3
Views: 2347

Safety while working alone

Hi,
I have a long term background task relating to the safety of programmers (me and you) working alone for significant parts of the day, during which a medical emergency could arise.

As part of this I need to detect if the computer has received a mouse or keyboard input to any application. The ...
by RichardL
Mon Aug 21, 2017 10:15 am
Forum: Windows
Topic: TAB Order and BindGadgetEvent() problem
Replies: 5
Views: 2734

TAB Order and BindGadgetEvent() problem

Good morning,
I'm not sure if this is a feature, or a bug (heaven forbid!), or I'm doing something stupid.

I have several StringGadget() in a row, created in a loop and the TAB key order lets me move back and fore between them.

If I write the program using the conventional PB EventMangement style ...
by RichardL
Thu Aug 17, 2017 3:47 pm
Forum: Windows
Topic: [Solved] ListIconGadget() ~ How do I lock the scrollbars?
Replies: 11
Views: 4400

Re: [Solved] ListIconGadget() ~ How do I lock the scrollbars

Good afternoon,

Thank you Rashad... that works beautifully!

Best regards
RichardL
by RichardL
Thu Aug 17, 2017 12:25 pm
Forum: Windows
Topic: [Solved] ListIconGadget() ~ How do I lock the scrollbars?
Replies: 11
Views: 4400

Re: ListIconGadget() ~ How do I temporarily lock the scrollb

Gentlemen,
Thank you all for your assistance, it is much appreciated.

I have used Rashad's solution because, most conveniently I already had the necessary callback procedure and flag in place (and the right way up!).
All I needed to do was patch in a few lines from Rashad's example.
The solution ...
by RichardL
Wed Aug 16, 2017 9:47 am
Forum: Windows
Topic: [Solved] ListIconGadget() ~ How do I lock the scrollbars?
Replies: 11
Views: 4400

[Solved] ListIconGadget() ~ How do I lock the scrollbars?

Good morning all,
My application allows the user to scroll around data in a ListIconGadget to select an area.
The user then presses a 'Go' button. At that point I need to lock the grid in position while some other processes happen.
DisableGadget() disrupts the display too much and is ruled out.

Any ...
by RichardL
Tue Jul 18, 2017 9:10 pm
Forum: Coding Questions
Topic: Preventing RunProgram() Authorisation Screen
Replies: 3
Views: 1881

Re: Preventing RunProgram() Authorisation Screen

@kpeters58
Thanks for the suggestion. The problem is that each end user would need to carry out the same procedure and I'm fairly sure that 90% of them would not be able to carry it out!
I need a solution that can be incorporated into the main EXE. Something like:

Turn off the protection / monitor ...
by RichardL
Tue Jul 18, 2017 9:16 am
Forum: Coding Questions
Topic: Preventing RunProgram() Authorisation Screen
Replies: 3
Views: 1881

Preventing RunProgram() Authorisation Screen

Good morning,

My main program selects one of a number of executable (.exe) interface modules depending on the instruments connected to the PC via USB or serial ports.
It then uses RunProgram() to launch the module and the module and main program then proceed to exchange imported data via an area of ...
by RichardL
Sat Jun 10, 2017 8:45 am
Forum: Tricks 'n' Tips
Topic: Adding a context menu to a Combo Box in Windows
Replies: 5
Views: 2789

Re: Adding a context menu to a Combo Box in Windows

@CJ
Very much what I had in mind :D Thanks.
I have put this in my toolbox for later use.
RichardL
by RichardL
Fri Jun 09, 2017 12:03 pm
Forum: Tricks 'n' Tips
Topic: Adding a context menu to a Combo Box in Windows
Replies: 5
Views: 2789

Re: Adding a context menu to a Combo Box in Windows

Hi,
Even better would be to have the right click function over the drop down area of the combobox so you could perform a test (whatever) on any word without selecting it... and the return value should be the position of the word in the list +1.
RichardL
by RichardL
Tue Feb 21, 2017 3:40 pm
Forum: Coding Questions
Topic: WINDOWS10: Finding a Folder
Replies: 2
Views: 1200

Re: WINDOWS10: Finding a Folder

This sorts it out:

https://www.howtogeek.com/howto/windows ... -easy-way/

Sorry for referencing the 'V' word!
by RichardL
Tue Feb 21, 2017 12:09 pm
Forum: Coding Questions
Topic: WINDOWS10: Finding a Folder
Replies: 2
Views: 1200

WINDOWS10: Finding a Folder

I have pensioned off my aging Windows 7 PC and moved to a newer machine that includes a rather small but very fast solid state drive for OS, programs and related storage. This disk is C:

I have a 1TB drive (D:) for files and data and assigned my Documents, Music etc to this drive.
Windows 10 makes ...
by RichardL
Wed Jan 25, 2017 10:56 am
Forum: Tricks 'n' Tips
Topic: Custom Scrollbar Designer
Replies: 3
Views: 2821

Re: Custom Scrollbar Designer

Hi,
Beware, developing trackbars and scrollbars can become addictive and consume valuable beer time :D

Search for 'RichardL MultiTrackBar'

Have a good year!
RichardL
by RichardL
Wed May 18, 2016 9:23 am
Forum: Tricks 'n' Tips
Topic: MultiTrackBarGadget Version 0.7 (Windows+Linux)
Replies: 23
Views: 8800

Re: MultiTrackBarGadget Version 0.7 (Windows+Linux)

Good morning,
Fairly major update... see Rev0.7 in first posting.
Regards to all
RichardL
by RichardL
Fri Apr 15, 2016 9:15 am
Forum: Tricks 'n' Tips
Topic: MultiTrackBarGadget Version 0.7 (Windows+Linux)
Replies: 23
Views: 8800

Re: MultiTrackBarGadget Version 0.5 (Windows+Linux)

Good Morning All,
@Oma
Thank you for your comments, I have included your kind suggestions in the most recent version.

@All
The code in the first posting has been updated to include some new features and includes Oma's suggestions to make it Linux compatible.

Anyone for OSX?

RichardL
by RichardL
Wed Apr 06, 2016 8:23 pm
Forum: Coding Questions
Topic: 5.40LTS Cannot send mail with TLS/Asynchronous
Replies: 27
Views: 9119

Re: 5.40LTS Cannot send mail with TLS/Asynchronous

Hi,
I used the code by RichAlgeni (with my name and account details etc) and it worked first go. Good!
But... when I added a 'cc' and a 'jpg' or 'PDF' attachment the email body text disappears, just the attachment shows in ThunderBird.
Any idea what I'm likely to be doing wrong?
I'm using PB5.41LTS ...