Hi @ all,
i tried to compare 2 pictures within a dialog.
But it doesn't work. Has someone a suggestion to solve the problem?
Thanks a lot
Just curious why you are trying to compare two pictures in the dialog. The picture function in the dialog is very limited so what you are trying to do, I believe, is not possible.
I wanted to make the dialogue more dynamic and appealing.Therefore the image content should be based on the selection of a checkbox or an option button.
In my company the integration of other programming languages in IDEA is limited, so that I can realize my idea exclusively with IDEA script - or even not ...
I thought the solution would be to compare the ID of the image or bitmap file with a path and the file stored there:
==> If "Picture1" = Client.WorkingDirectory() & Pfad & "01_blank_blue.bmp" Then 'Pfad (in german) = path
Thank you very much for your appreciation.
I don't think there is anyway of changing the picture without closing the dialog and reopening it. Once you the bmp has been selected it can't be changed so long as the dialog is open. If you are using 10.3 or above you could probably do this through a Python dialog using Tkinter.
IDEA is a trademark of CaseWare International Inc., used by permission.
All material provided on the IDEAScripting website is presented as is without any warranty or guarantee. Anybody using any solution provided on this pages is encouraged to validate the effectiveness and reliability on their own.
IDEA Help Videos
IDEA Related Videos
IDEA Success Stories