Is it possible to change the image in an imagegadget dynamically?
As mentioned here setgadgetstate works fine.
(Solved) Change ImageGadget image at runtime
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
(Solved) Change ImageGadget image at runtime
Last edited by collectordave on Wed Sep 16, 2015 6:42 am, edited 2 times in total.
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Re: Change ImageGadget image at runtime
SetGadgetState()
see ImageGadget from the helpfile Index for all options
see ImageGadget from the helpfile Index for all options
- BasicallyPure
- Enthusiast
- Posts: 536
- Joined: Thu Mar 24, 2011 12:40 am
- Location: Iowa, USA
Re: Change ImageGadget image at runtime
like this,
Code: Select all
SetGadgetState(imageGadgetNumber, ImageID(imageNumber))
BasicallyPure
Until you know everything you know nothing, all you have is what you believe.
Until you know everything you know nothing, all you have is what you believe.
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Change ImageGadget image at runtime
Thanks working
this can be closed if I knew how
this can be closed if I knew how
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Re: Change ImageGadget image at runtime
Hi dave,
you won't find a 'close-thread-feature' as there is none.
The threads stay 'open' to allow further communication on the topic if wanted / needed.
If you prefer to state that the topic has found its solution you could edit your opening posting and therin alter the topic-title to e.g. Change ImageGadget image at runtime [solved] ... alike some members do now and then.
greets ~ Vera
you won't find a 'close-thread-feature' as there is none.
The threads stay 'open' to allow further communication on the topic if wanted / needed.
If you prefer to state that the topic has found its solution you could edit your opening posting and therin alter the topic-title to e.g. Change ImageGadget image at runtime [solved] ... alike some members do now and then.
greets ~ Vera
Two growing code-collections: WinApi-Lib by RSBasic ~ LinuxAPI-Lib by Omi
Missing a download-file on the forums? ~ check out this backup page.
Missing a download-file on the forums? ~ check out this backup page.