Started by cadplayer ·
2012-09-05 11:54 UTC ·
10 replies · SMF topic #1889
cadplayer
2012-09-05 11:54 UTC
Hello!
I have discovered a little strange problem if I click on selfmade button from my OpenDCL menu. The lisp routin works perfect but if you look on animation you can see in first command I run with click button it opens a window where I can open a file. In second command I run with another click button I can´t scroll in window.
Both buttons have same properties. But in second routine works command not right. Have you an answer?
owenwengerd
2012-09-05 16:34 UTC
Are you referring to horizontal scrolling or vertical scrolling? In the second case, there are not enough entries to scroll vertically.
cadplayer
2012-09-06 06:03 UTC
Hello Owen!
In second case I can´t open folder with dubbelclick... I don´t understand logic why can I do that in first case and not in second case. The definition of both buttons are same.
Regards Dirk
owenwengerd
2012-09-06 12:23 UTC
Sorry, I don't understand the problem. It might help if you post the relevant code.
cadplayer
2012-09-06 12:55 UTC
Here a test function. Both buttons have same problem that I can´t open file ... and select a file
owenwengerd
2012-09-06 17:17 UTC
I see now. The file dialog displays, but input is disabled. I will need to investigate further to see what is going on.
I didn't test this, but you may be able to work around the problem by setting the form's Keep Focus property to False.
owenwengerd
2012-09-06 19:23 UTC
I can verify that setting Keep Focus to False prevents this problem. I have now made changes in the code for the next build of OpenDCL that should prevent this from happening regardless of the Keep Focus value.
fred_tomke
2012-09-07 03:52 UTC
Hi, I had the same problem in the past and solved that by switching the control's EventInvoke property to AllowCommand.
Regards, Fred
cadplayer
2012-09-07 05:56 UTC
So I wait for next update of ODCL or have it a trick to run it otherwise? /Dirk
Wolfgang S
2013-03-18 10:20 UTC
Hi everybody!
I have the same issue and another information about this:
- when I click the button and stay inside the dialog area the "select file" dialog works fine.
- when I click the button and move outside the dialog area before the "select file" dialog opens it is not working.
owenwengerd
2013-03-19 14:02 UTC
author=Wolfgang S link=topic=1889.msg9608#msg9608 date=1363602022 wrote:I have the same issue...
Are you using the current build of OpenDCL 7.0.0.10?