-
This works really well now and has sorted out some other issues I've had with OnSetFocus!
2009-07-13 11:20:07 UTC in OpenDCL
-
This may be more related to my sloppy programming than a bug though I wasn't getting the exception in 4.121, it occurs when calling the GetText function from the first item of an empty list box ie. (dcl_ListBox_GetText Project1_Form1_ListBox1 0). The attached exception dialog displays.
2009-07-12 11:05:43 UTC in OpenDCL
-
The last beta I tested in which it worked was 5.0.2.4.
2009-07-12 10:30:57 UTC in OpenDCL
-
I think this is a bug as I have tested in both Ver 4.121 and Ver 5.116 and found a large discrepancy in speed of the ListBox_AddList function. The routine loads a list of around 1700 items into the list box after reading from file.
I've timed the loading process between the beginning and end of the the process as follows:
(setq start (getvar "MILLISECS"))
(dcl_ListBox_Clear...
2009-07-10 14:28:48 UTC in OpenDCL
-
I guess I should provide more detail about the situation in which I find this function not performing as expected. In Ver 4.xxx I used an OnSetFocus event associated with the text box to trigger selection of the text string when the user clicks inside. I can see the TextBox_SetSel function works fine when initiated from a button but I can't seem to get it to work as it previously did.
2009-07-10 11:56:43 UTC in OpenDCL
-
Perhaps related to the bug report below... this function is not working with text boxes, either using the -1 argument to specify selection of the whole string, or by explicity specifying the length of the string to select.
2009-07-08 14:43:42 UTC in OpenDCL
-
I haven't been able to see what is failing but guess it must be in the dcl_project_import function. I've compiled the vlx with both versions of odcl.lsp and saved the data read by the 'vl-get-resource' function to the blackboard to check what is being retrieved - this is saved in a text file I've uploaded. I suppose this is as expected - though it appears truncated. I've also checked the return...
2009-06-17 14:06:37 UTC in OpenDCL
-
The loading function is the same as that in 'Load_ODCL_Embedded_Project' (DistSample1.lsp) so no point posting the code. Perhaps I can do some tests / create some flags, to see exactly where it fails and get back to you.
2009-06-15 23:46:28 UTC in OpenDCL
-
Owen, sorry about my tardiness in replying, have not been able to access sourceforge. I had assumed there was a bug when I was unable to load the .odcl.lsp file into version 4.1.2.1editor but I note now there are no complaints from the version 5.xxxx editor.
I am loading the odcl.lsp file (defined in the project as a text resource) essentially using the routine '...
2009-06-15 12:39:02 UTC in OpenDCL
-
When I save my project file as .lsp from the editor I notice some odd characters prefixed to the quoted code. These are ÿþ just before the quote character. When I leave these characters in the file to be embedded in a compiled vlx, the resulting application won't run but when I strip them out everything works as it should.
2009-06-13 05:22:52 UTC in OpenDCL