Open a file from window

Started by cadplayer, September 05, 2012, 04:54:51 AM

Previous topic - Next topic

cadplayer

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

Are you referring to horizontal scrolling or vertical scrolling? In the second case, there are not enough entries to scroll vertically.
Owen Wengerd (Outside The Box) / ManuSoft

cadplayer

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

Sorry, I don't understand the problem. It might help if you post the relevant code.
Owen Wengerd (Outside The Box) / ManuSoft

cadplayer

Here a test function. Both buttons have same problem that I can´t open file ... and select a file

owenwengerd

#5
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.
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft

Fred Tomke

Hi, I had the same problem in the past and solved that by switching the control's EventInvoke property to AllowCommand.

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

cadplayer

So I wait for next update of ODCL or have it a trick to run it otherwise? /Dirk

Wolfgang S

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

Quote from: Wolfgang S on March 18, 2013, 03:20:22 AMI have the same issue...

Are you using the current build of OpenDCL 7.0.0.10?
Owen Wengerd (Outside The Box) / ManuSoft