This thread is intended to be a placeholder for Documentation Notes.
I anticipate we can post CHANGES and CONFIRMATIONS of existing doc's as we proceed with the testing.
Please don't post questions in this thread, but rather only post notes that can be used as reminders when we come to revise or complete the documentation.
Please feel free to participate in this important thread !!
Thanks
Kerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is a little ditty that I was having a problem with and I ended up finding this helpful little ditty by Luis Esquivel on the Autodesk forum:
James LeVieux
----------------------------------------------------------------------
Posted by: Luis Esquivel
Date: Aug/20/05 - 20:38 (GMT)
Hi All,
I am designing a new interface as alternative for my new application, but I noticed that still the "OPTION control"coming with ObjectDCL still does not work or behave properly... I know I can use the option list, but want it to apply this one... anyway, have someone using objectDCL have been able to make it work?
The problem is:
If you only have a single optional choice like in my case two option buttons, there is no problem, user select one and the other is turn on-off accordingly....
But, once you add a new optional choice with another two option buttons like in this case, please view the image attached... if the user select one option button, the next row optional buttons, become off, and vice-versa you select any button of any row, all become a mess..... does not work at all
In case someone has some idea, let me know please.... if no solution, then I have to use some other control... [hope my description makes some sense]
DO NOT use an underscore as part of a project-key-name or form_key_name or control-key-name
Comment :
Unserscores are added by the Editor to identify the Control VarName.
ie :
<project-key-name>_<form_key_name>_<control-key-name>
If YOU include underscores in the Name Property the ARX won't be able to parse the VarName and will get confused.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Kerry, I think this is good advice about not using underscores in a name, but at this point the C++ code is *not* parsing those names in any way (only generating them), so an underscore in the name will not affect any of the C++ code. At this time it is only an issue with preventing the possibility of name clashes with the globally defined lisp symbols, and readability (i.e. for parsing by people). :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For info :
[QUOTE] Friday, 6 July 2001 04:21
this email is an update notification of ObjectDCL to Version 1.08.
<... >
Version 1.08 has two new plotter ComboBox styles and two new properties for the most controls. The ReturnAsTab property has been added to allow the TextBox or ComboBox to automatically shift the focus to the next control when the user presses the [Enter] key, just as if they had pressed the [Tab] key.
The EventInvoke property that has been added to all controls allows you to define which ObjectARX method is used to call the Event defuns.
A setting on "0 - Keep Focus" will ensure the control keeps its focus but the AutoLisp (Command ...) cannot be called from it.
A setting of "1 - Allow (Command...)" will allow any Event defun to call the (Command...) function, but it shifts the focus from the control to the Command Line.
This setting is the default for all controls except the TextBox and ComboBox in the Dockable and Modeless forms. This is AutoDesk's design intent, this was provided so that for example if a user clicks something in a dockable form the focus is automatically shifted to the Command Line so the user will not have to move the cursor down to the command line to type there.
I HAVEN'T CHECKED IF THIS IS STILL 100% VALID
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My thoughts are to rely on the MTH Browser files to document them all David. I started to to a cross index of which methods and properties applied to which control. Tedious and fairly useless except as an exercise !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Control "SlideView", Method "EndImage"
The text starts by: "This method is used to store what has been drawn or painted to the SlideView’s paint able area to memory. What this does is make all lines, arcs, text, etc. become part of the stored picture that the SlideView uses to paint from ..."
This assumes that one can paint "arcs" and "text", when there only seems to be methods for painting "lines".
I assume this is just a documentation mistake.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The grid argument is the variable pointing to the grid control.
The colorProperty argument is the color to get or set, such as "ForeColor" or "BackColor." It will work with any color property defined in the the FlexGrid. See the FlexGrid documentation for more examples.
The newColor argument is the color to set the grid to. The format for this argument is the same as the format returned by getcolor.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When testing the GETCURPOS and GETRECTANG properties of Forms and Controls I was getting results I couldn't understand .. negative values for the form X position.
Turned out I have my primary monitor on the right and was testing on the left ..
that explains the -1280 x ordinate
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[ 1684007 ] Blank ToolTip formatting issue https://sourceforge.net/tracker/?func=detail&atid=923363&aid=1684007&group_id=187950
[quote]
This was a pain in the behind. The body text edit box was a rich edit
control, and apparently at one time the tooltip was changed from a rich
text format to a simplified HTML format, but the tooltips dialog was not
updated to reflect the change. Ideally, the rich edit control could display
a WYSIWYG version of the tooltip text, but that would require a lot of
work. Too much to suit my tastes. So, I cheated and converted it into a
plain textbox that contains raw HTML text.
I did change the ToolTipText property to ToolTipTitle. This will break
existing lisp code (including the Tooltip.lsp sample file, which I fixed),
so it should be documented. I don't really like to make a breaking change
like this, but the original name is really confusing, and I decided it's
probably better to do the breaking now rather than later given my
expectation that not many people are setting tooltip text at runtime. If
this becomes too much of a problem, I can add alias functions that use the
original function names and just pass the calls to the new functions.
[/quote]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[quote]
Event names do not change once the event is activated. This is by design
to ensure that existing lisp code doesn't break when the project name
changes. Unchecking and reactivating the event will update the name to
reflect the current project name.
[/quote]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[quote]
I'm perplexed as to why, but a function to retrieve integer arguments was
explicitly accepting T as 1 and NIL as zero, so the NIL argument to
(odcl_listbox_gettext) was being interpreted as zero, and the text returned
was the text for the first item in the listbox. This is fixed in beta 4.
If anybody was relying on this bizarre interpretation of T and NIL, they
will need to update their code.
[/quote]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[quote]
When a dialog is resized, ODCL recalculates the new position of all its
controls based on the values of their positional properties. Setting the
position of the control actually works in your case, but changing the
dialog size then causes the control's position to be recalculated based on
the design-time position parameters, and your new position setting is
lost.
This behavior is by design. The original code used to modify the
design-time position properties when a control was manually moved, thus
preventing this problem from occurring. This causes future invocations of
the form to reflect the modified position, at least until the project is
reloaded -- and there is no way to revert back to the default position
settings because they have been overwritten. Modifying the design-time
properties to reflect runtime property changes also makes it impossible to
have multiple simultaneous dialogs based on the same form (you can't do
that anyway right now, but there's no reason the framework should prevent
it).
Therefore, to get the effect you want, the control should be moved *after*
the dialog is resized. If it's a resizable dialog, the control should be
moved in the OnSize handler for the form, which also fires immediately
after OnInitialize to give you a chance to set the initial position before
the dialog is displayed.
[/quote]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[quote]
Why does the dwgPreview sometimes show the thumbnails correctly & some
times they don't? Does it have to do with the aspect ration of the
dwgPreview?
[/quote]
[quote]
It looks like it is the aspect ration. I changed the width from 150 to 155
& left the height the same (120) and it shows up fine now. See attached
pic. (note the 150 width is missing lines the 155 is ok). Maybe we should
have a design-time property to lock the aspect ration then when you resize
the control it will resize both the height & width correctly..
File Added: dwgPreview2.png
[/quote]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This thread is intended to be a placeholder for Documentation Notes.
I anticipate we can post CHANGES and CONFIRMATIONS of existing doc's as we proceed with the testing.
Please don't post questions in this thread, but rather only post notes that can be used as reminders when we come to revise or complete the documentation.
Please feel free to participate in this important thread !!
Thanks
Kerry
Here is a little ditty that I was having a problem with and I ended up finding this helpful little ditty by Luis Esquivel on the Autodesk forum:
James LeVieux
----------------------------------------------------------------------
Posted by: Luis Esquivel
Date: Aug/20/05 - 20:38 (GMT)
Hi All,
I am designing a new interface as alternative for my new application, but I noticed that still the "OPTION control"coming with ObjectDCL still does not work or behave properly... I know I can use the option list, but want it to apply this one... anyway, have someone using objectDCL have been able to make it work?
The problem is:
If you only have a single optional choice like in my case two option buttons, there is no problem, user select one and the other is turn on-off accordingly....
But, once you add a new optional choice with another two option buttons like in this case, please view the image attached... if the user select one option button, the next row optional buttons, become off, and vice-versa you select any button of any row, all become a mess..... does not work at all
In case someone has some idea, let me know please.... if no solution, then I have to use some other control... [hope my description makes some sense]
Thanks
----------------------------------------------------------------------
Reply From: Luis Esquivel
Date: Aug/22/05 - 15:28 (GMT)
Re: ObjectDCL Option Control - BAD!
James,
It works if I set the first option to:
BeginGroup = true
isTabStop = true
And the second option to:
BeginGroup = false
isTabStop = false
On each row, and now is working!, thank you so much.
Luis.
OR if you put the single Option buttons inside a frame you don't have to worry about those settings. But I'd rather use the OptionList either way.
Odcl_Form_Resize has changed.
https://sourceforge.net/tracker/index.php?func=detail&aid=1650142&group_id=187950&atid=923363
DO NOT use an underscore as part of a project-key-name or form_key_name or control-key-name
Comment :
Unserscores are added by the Editor to identify the Control VarName.
ie :
<project-key-name>_<form_key_name>_<control-key-name>
If YOU include underscores in the Name Property the ARX won't be able to parse the VarName and will get confused.
Kerry, I think this is good advice about not using underscores in a name, but at this point the C++ code is *not* parsing those names in any way (only generating them), so an underscore in the name will not affect any of the C++ code. At this time it is only an issue with preventing the possibility of name clashes with the globally defined lisp symbols, and readability (i.e. for parsing by people). :)
Form Size and resizing has Changed. /// needs to be documented.
https://sourceforge.net/tracker/index.php?func=detail&aid=1650142&group_id=187950&atid=923363
(Odcl_SetCmdBarFocus)
Reg Keys changed...
https://sourceforge.net/forum/message.php?msg_id=4181657
FYI, (Odcl_SetCmdBarFocus) is under Help --> Add'l Useful Functions...
For info :
[QUOTE] Friday, 6 July 2001 04:21
this email is an update notification of ObjectDCL to Version 1.08.
<... >
Version 1.08 has two new plotter ComboBox styles and two new properties for the most controls. The ReturnAsTab property has been added to allow the TextBox or ComboBox to automatically shift the focus to the next control when the user presses the [Enter] key, just as if they had pressed the [Tab] key.
The EventInvoke property that has been added to all controls allows you to define which ObjectARX method is used to call the Event defuns.
A setting on "0 - Keep Focus" will ensure the control keeps its focus but the AutoLisp (Command ...) cannot be called from it.
A setting of "1 - Allow (Command...)" will allow any Event defun to call the (Command...) function, but it shifts the focus from the control to the Command Line.
This setting is the default for all controls except the TextBox and ComboBox in the Dockable and Modeless forms. This is AutoDesk's design intent, this was provided so that for example if a user clicks something in a dockable form the focus is automatically shifted to the Command Line so the user will not have to move the cursor down to the command line to type there.
I HAVEN'T CHECKED IF THIS IS STILL 100% VALID
Someone asked me for a Function list, so here goes ... just the ODCL_xxx ones that are exposed to AutoCAD/AutoLisp.
If there are any here that you don't know about I wouldn't be very surprised ... there are sure more than a couple that I didn't know.
If in doubt, just ask ;-)
odcl_action_tile
odcl_activateemail
odcl_add_list
odcl_animate_close
odcl_animate_load
odcl_animate_seek
odcl_animate_stop
odcl_axcontrol_domethod
odcl_axcontrol_getoleobject
odcl_axcontrol_getproperty
odcl_axcontrol_setcolor
odcl_axcontrol_setpicture
odcl_axcontrol_setproperty
odcl_axobject_close
odcl_axobject_domethod
odcl_axobject_getproperty
odcl_axobject_setcolor
odcl_axobject_setpicture
odcl_axobject_setproperty
odcl_blocklist_getfilename
odcl_blocklist_loaddwg
odcl_blocklist_reset
odcl_blockview_clear
odcl_blockview_displayblock
odcl_blockview_displayblocktoscale
odcl_blockview_displaypaperspace
odcl_blockview_getblocklist
odcl_blockview_getblocksize
odcl_blockview_getdwgsize
odcl_blockview_getviewinfo
odcl_blockview_loaddwg
odcl_blockview_loaddwgtoscale
odcl_blockview_preloaddwg
odcl_blockview_refreshblock
odcl_blockview_removehighlight
odcl_blockview_sethighlight
odcl_blockview_setview
odcl_blockview_zoom
odcl_browsefolder
odcl_closebin
odcl_combobox_addcolor
odcl_combobox_addlist
odcl_combobox_addpath
odcl_combobox_addstring
odcl_combobox_clear
odcl_combobox_clearedit
odcl_combobox_deletestring
odcl_combobox_dir
odcl_combobox_findcolor
odcl_combobox_findlineweight
odcl_combobox_findstring
odcl_combobox_findstringexact
odcl_combobox_getcount
odcl_combobox_getcursel
odcl_combobox_getdir
odcl_combobox_getdroppedwidth
odcl_combobox_geteditsel
odcl_combobox_getitemdata
odcl_combobox_getlbtext
odcl_combobox_gettbtext
odcl_combobox_gettopindex
odcl_combobox_insertstring
odcl_combobox_selectstring
odcl_combobox_setcursel
odcl_combobox_setdroppedwidth
odcl_combobox_seteditsel
odcl_combobox_setitemdata
odcl_combobox_settopindex
odcl_configtab_isapplyenabled
odcl_configtab_setapplyenabled
odcl_control_dump
odcl_control_forceupdatenow
odcl_control_getallowresizing
odcl_control_getallowscrolling
odcl_control_getalternatecolor
odcl_control_getaltorientation
odcl_control_getapply
odcl_control_getasreadonly
odcl_control_getautohscroll
odcl_control_getautosize
odcl_control_getautovscroll
odcl_control_getautowrap
odcl_control_getbackcolor
odcl_control_getbegingroup
odcl_control_getbeginlabeledit
odcl_control_getblockname
odcl_control_getborderstyle
odcl_control_getbottomfrombottom
odcl_control_getbuttonclicked
odcl_control_getbuttonlist
odcl_control_getbuttontooltiptextlist
odcl_control_getcancel
odcl_control_getcancelclose
odcl_control_getcaption
odcl_control_getcaption-minute
odcl_control_getcaption-minutes
odcl_control_getcaption-second
odcl_control_getcaption-seconds
odcl_control_getcfgtabtext
odcl_control_getchanged
odcl_control_getclicked
odcl_control_getclose
odcl_control_getclosestinside
odcl_control_getclosestoutside
odcl_control_getcolumnalignmentlist
odcl_control_getcolumnalternateimagelist
odcl_control_getcolumncaptionlist
odcl_control_getcolumnclick
odcl_control_getcolumndefaultimagelist
odcl_control_getcolumnheader
odcl_control_getcolumnimagelist
odcl_control_getcolumnlistimages
odcl_control_getcolumnlistitems
odcl_control_getcolumnstylelist
odcl_control_getcolumnwidth
odcl_control_getcolumnwidthlist
odcl_control_getcreationprompt
odcl_control_getcurpos
odcl_control_getdblclicked
odcl_control_getdefault
odcl_control_getdefaultextension
odcl_control_getdefaultselection
odcl_control_getdeleteitem
odcl_control_getdisablenoscroll
odcl_control_getdisplaypercentage
odcl_control_getdisplayseconds
odcl_control_getdocactivated
odcl_control_getdockablesides
odcl_control_getdockingdefault
odcl_control_getdragndropallowbegin
odcl_control_getdragndropallowdrop
odcl_control_getdragndropbegin
odcl_control_getdragndropfromcontrol
odcl_control_getdragndropfromother
odcl_control_getdragndroptoautocad
odcl_control_getdropdown
odcl_control_getdropdownheight
odcl_control_getedgestyle
odcl_control_geteditchanged
odcl_control_geteditlabel
odcl_control_geteditlabelitem
odcl_control_getenabled
odcl_control_geteventinvoke
odcl_control_getextcanbediff
odcl_control_getfilemustexist
odcl_control_getfilename
odcl_control_getfilter
odcl_control_getfilterstyle
odcl_control_getfolderchange
odcl_control_getfont
odcl_control_getfontbold
odcl_control_getfontcolor
odcl_control_getfontitalic
odcl_control_getfontsize
odcl_control_getfontsizestyle
odcl_control_getfontstrikeout
odcl_control_getfontunderline
odcl_control_getforecolor
odcl_control_getfullrowselect
odcl_control_getgetdaystate
odcl_control_getgridlines
odcl_control_gethasbuttons
odcl_control_gethascheckboxes
odcl_control_gethaslines
odcl_control_gethatchscale
odcl_control_getheight
odcl_control_gethelp
odcl_control_gethscrollbar
odcl_control_gethwnd
odcl_control_geticonalignment
odcl_control_geticonautoarrange
odcl_control_geticonxspacing
odcl_control_geticonyspacing
odcl_control_getimagelist
odcl_control_getindent
odcl_control_getinitialize
odcl_control_getinputfilter
odcl_control_getinsertorxref
odcl_control_getinterfacemode
odcl_control_getistabstop
odcl_control_getitemdata
odcl_control_getitemexpanded
odcl_control_getitemexpanding
odcl_control_getjustification
odcl_control_getkeydown
odcl_control_getkeyup
odcl_control_getkillfocus
odcl_control_getlabelalignment
odcl_control_getlabelwrap
odcl_control_getlargechange
odcl_control_getleft
odcl_control_getleftfromright
odcl_control_getlimittext
odcl_control_getlinesatroot
odcl_control_getlinktype
odcl_control_getlist
odcl_control_getlmouse
odcl_control_getmarginleft
odcl_control_getmarginright
odcl_control_getmaxdialogheight
odcl_control_getmaxdialogwidth
odcl_control_getmaxselectcount
odcl_control_getmaxtext
odcl_control_getmaxvalue
odcl_control_getmindialogheight
odcl_control_getmindialogwidth
odcl_control_getmintabwidth
odcl_control_getminvalue
odcl_control_getmmouse
odcl_control_getmousedblclick
odcl_control_getmousedown
odcl_control_getmouseentered
odcl_control_getmousemove
odcl_control_getmousemovedoff
odcl_control_getmouseup
odcl_control_getmousewheel
odcl_control_getmulticolumn
odcl_control_getmultipleselection
odcl_control_getmultirow
odcl_control_getnavigationcomplete
odcl_control_getnodeclicked
odcl_control_getnointegralheight
odcl_control_getok
odcl_control_getonevent
odcl_control_getorientation
odcl_control_getoutofmemory
odcl_control_getoverwriteprompt
odcl_control_getpaint
odcl_control_getpathmustexist
odcl_control_getpicture
odcl_control_getpressedpicture
odcl_control_getproperty
odcl_control_getreadonly
odcl_control_getreleasedcapture
odcl_control_getrendermode
odcl_control_getreturn
odcl_control_getreturnastab
odcl_control_getreturnpressed
odcl_control_getrightclick
odcl_control_getrightdblclick
odcl_control_getrightfromright
odcl_control_getrmouse
odcl_control_getrowheader
odcl_control_getrowheight
odcl_control_getscroll
odcl_control_getscrolled
odcl_control_getselchanged
odcl_control_getselchanging
odcl_control_getselect
odcl_control_getselectionstyle
odcl_control_getsetfocus
odcl_control_getshow
odcl_control_getshowcancel
odcl_control_getshoweditbox
odcl_control_getshowhelp
odcl_control_getshownamelabel
odcl_control_getshownametextbox
odcl_control_getshowok
odcl_control_getshoworbitcircles
odcl_control_getshowreadonlycheckbox
odcl_control_getshowselectalways
odcl_control_getshowticks
odcl_control_getshowtypecombobox
odcl_control_getshowtypelabel
odcl_control_getsingleexpanded
odcl_control_getsize
odcl_control_getsmallchange
odcl_control_getsmoothprogress
odcl_control_getsorted
odcl_control_getsorting
odcl_control_getsplittermoved
odcl_control_getstyle
odcl_control_gettabfixedwidth
odcl_control_gettabjustification
odcl_control_gettaborder
odcl_control_gettabselected
odcl_control_gettabstyle
odcl_control_gettext
odcl_control_gettickfrequency
odcl_control_gettitlebar
odcl_control_gettitlebaricon
odcl_control_gettitlebartext
odcl_control_gettooltipavifilename
odcl_control_gettooltipline
odcl_control_gettooltipmaintext
odcl_control_gettooltippicture
odcl_control_gettooltiptext
odcl_control_gettooltiptitlecolor
odcl_control_gettop
odcl_control_gettopfrombottom
odcl_control_gettransparent
odcl_control_gettypechange
odcl_control_getupdate
odcl_control_geturladdress
odcl_control_getusebottomfrombottom
odcl_control_getuseleftfromright
odcl_control_getusemask
odcl_control_getuserightfromright
odcl_control_getusetabstops
odcl_control_getusetopfrombottom
odcl_control_getvalue
odcl_control_getvisible
odcl_control_getvscrollbar
odcl_control_getwidth
odcl_control_setallowresizing
odcl_control_setallowscrolling
odcl_control_setalternatecolor
odcl_control_setaltorientation
odcl_control_setapply
odcl_control_setasreadonly
odcl_control_setautohscroll
odcl_control_setautosize
odcl_control_setautovscroll
odcl_control_setautowrap
odcl_control_setbackcolor
odcl_control_setbegingroup
odcl_control_setbeginlabeledit
odcl_control_setblockname
odcl_control_setborderstyle
odcl_control_setbottomfrombottom
odcl_control_setbuttonclicked
odcl_control_setbuttonlist
odcl_control_setbuttontooltiptextlist
odcl_control_setcancel
odcl_control_setcancelclose
odcl_control_setcaption
odcl_control_setcaption-minute
odcl_control_setcaption-minutes
odcl_control_setcaption-second
odcl_control_setcaption-seconds
odcl_control_setcfgtabtext
odcl_control_setchanged
odcl_control_setclicked
odcl_control_setclose
odcl_control_setclosestinside
odcl_control_setclosestoutside
odcl_control_setcolumnalignmentlist
odcl_control_setcolumnalternateimagelist
odcl_control_setcolumncaptionlist
odcl_control_setcolumnclick
odcl_control_setcolumndefaultimagelist
odcl_control_setcolumnheader
odcl_control_setcolumnimagelist
odcl_control_setcolumnlistimages
odcl_control_setcolumnlistitems
odcl_control_setcolumnstylelist
odcl_control_setcolumnwidth
odcl_control_setcolumnwidthlist
odcl_control_setcreationprompt
odcl_control_setdblclicked
odcl_control_setdefault
odcl_control_setdefaultextension
odcl_control_setdefaultselection
odcl_control_setdeleteitem
odcl_control_setdisablenoscroll
odcl_control_setdisplaypercentage
odcl_control_setdisplayseconds
odcl_control_setdocactivated
odcl_control_setdockablesides
odcl_control_setdockingdefault
odcl_control_setdragndropallowbegin
odcl_control_setdragndropallowdrop
odcl_control_setdragndropbegin
odcl_control_setdragndropfromcontrol
odcl_control_setdragndropfromother
odcl_control_setdragndroptoautocad
odcl_control_setdropdown
odcl_control_setdropdownheight
odcl_control_setedgestyle
odcl_control_seteditchanged
odcl_control_seteditlabel
odcl_control_seteditlabelitem
odcl_control_setenabled
odcl_control_seteventinvoke
odcl_control_setextcanbediff
odcl_control_setfilemustexist
odcl_control_setfilename
odcl_control_setfilter
odcl_control_setfilterstyle
odcl_control_setfocus
odcl_control_setfolderchange
odcl_control_setfont
odcl_control_setfontbold
odcl_control_setfontcolor
odcl_control_setfontitalic
odcl_control_setfontsize
odcl_control_setfontsizestyle
odcl_control_setfontstrikeout
odcl_control_setfontunderline
odcl_control_setforecolor
odcl_control_setfullrowselect
odcl_control_setgetdaystate
odcl_control_setgridlines
odcl_control_sethasbuttons
odcl_control_sethascheckboxes
odcl_control_sethaslines
odcl_control_sethatchscale
odcl_control_setheight
odcl_control_sethelp
odcl_control_sethscrollbar
odcl_control_seticonalignment
odcl_control_seticonautoarrange
odcl_control_seticonxspacing
odcl_control_seticonyspacing
odcl_control_setimagelist
odcl_control_setindent
odcl_control_setinitialize
odcl_control_setinputfilter
odcl_control_setinsertorxref
odcl_control_setinterfacemode
odcl_control_setistabstop
odcl_control_setitemdata
odcl_control_setitemexpanded
odcl_control_setitemexpanding
odcl_control_setjustification
odcl_control_setkeydown
odcl_control_setkeyup
odcl_control_setkillfocus
odcl_control_setlabelalignment
odcl_control_setlabelwrap
odcl_control_setlargechange
odcl_control_setleft
odcl_control_setleftfromright
odcl_control_setlimittext
odcl_control_setlinesatroot
odcl_control_setlinktype
odcl_control_setlist
odcl_control_setlmouse
odcl_control_setmarginleft
odcl_control_setmarginright
odcl_control_setmaxdialogheight
odcl_control_setmaxdialogwidth
odcl_control_setmaxselectcount
odcl_control_setmaxtext
odcl_control_setmaxvalue
odcl_control_setmindialogheight
odcl_control_setmindialogwidth
odcl_control_setmintabwidth
odcl_control_setminvalue
odcl_control_setmmouse
odcl_control_setmousedblclick
odcl_control_setmousedown
odcl_control_setmouseentered
odcl_control_setmousemove
odcl_control_setmousemovedoff
odcl_control_setmouseup
odcl_control_setmousewheel
odcl_control_setmulticolumn
odcl_control_setmultipleselection
odcl_control_setmultirow
odcl_control_setnavigationcomplete
odcl_control_setnodeclicked
odcl_control_setnointegralheight
odcl_control_setok
odcl_control_setonevent
odcl_control_setorientation
odcl_control_setoutofmemory
odcl_control_setoverwriteprompt
odcl_control_setpaint
odcl_control_setpathmustexist
odcl_control_setpicture
odcl_control_setpos
odcl_control_setpressedpicture
odcl_control_setproperty
odcl_control_setreadonly
odcl_control_setreleasedcapture
odcl_control_setrendermode
odcl_control_setreturn
odcl_control_setreturnastab
odcl_control_setreturnpressed
odcl_control_setrightclick
odcl_control_setrightdblclick
odcl_control_setrightfromright
odcl_control_setrmouse
odcl_control_setrowheader
odcl_control_setrowheight
odcl_control_setscroll
odcl_control_setscrolled
odcl_control_setselchanged
odcl_control_setselchanging
odcl_control_setselect
odcl_control_setselectionstyle
odcl_control_setsetfocus
odcl_control_setshow
odcl_control_setshowcancel
odcl_control_setshoweditbox
odcl_control_setshowhelp
odcl_control_setshownamelabel
odcl_control_setshownametextbox
odcl_control_setshowok
odcl_control_setshoworbitcircles
odcl_control_setshowreadonlycheckbox
odcl_control_setshowselectalways
odcl_control_setshowticks
odcl_control_setshowtypecombobox
odcl_control_setshowtypelabel
odcl_control_setsingleexpanded
odcl_control_setsize
odcl_control_setsmallchange
odcl_control_setsmoothprogress
odcl_control_setsorted
odcl_control_setsorting
odcl_control_setsplittermoved
odcl_control_setstyle
odcl_control_settabfixedwidth
odcl_control_settabjustification
odcl_control_settaborder
odcl_control_settabselected
odcl_control_settabstyle
odcl_control_settext
odcl_control_settickfrequency
odcl_control_settitlebar
odcl_control_settitlebaricon
odcl_control_settitlebartext
odcl_control_settooltipavifilename
odcl_control_settooltipline
odcl_control_settooltipmaintext
odcl_control_settooltippicture
odcl_control_settooltiptext
odcl_control_settooltiptitlecolor
odcl_control_settop
odcl_control_settopfrombottom
odcl_control_settransparent
odcl_control_settypechange
odcl_control_setupdate
odcl_control_seturladdress
odcl_control_setusebottomfrombottom
odcl_control_setuseleftfromright
odcl_control_setusemask
odcl_control_setuserightfromright
odcl_control_setusetabstops
odcl_control_setusetopfrombottom
odcl_control_setvalue
odcl_control_setvisible
odcl_control_setvscrollbar
odcl_control_setwidth
odcl_control_showtooltip
odcl_control_zorder
odcl_dimx_tile
odcl_dimy_tile
odcl_done_dialog
odcl_dwglist_dir
odcl_dwglist_getdir
odcl_dwglist_getfilename
odcl_dwglist_gettype
odcl_dwglist_setrowheight
odcl_dwgpreview_clear
odcl_dwgpreview_getdwgname
odcl_dwgpreview_loaddwg
odcl_dwgpreview_removehighlight
odcl_dwgpreview_sethighlight
odcl_end_image
odcl_end_list
odcl_filedlg_getfileext
odcl_filedlg_getfilename
odcl_filedlg_getfilenamelist
odcl_filedlg_getfiletitle
odcl_filedlg_getfoldername
odcl_filedlg_getfolderpath
odcl_filedlg_getpathname
odcl_filedlg_getselectioncount
odcl_filedlg_setokbuttontext
odcl_files_dir
odcl_fill_image
odcl_flexgrid_getcolor
odcl_flexgrid_setcolor
odcl_flushgraphicbuttons
odcl_forcedwgredraw
odcl_form_center
odcl_form_close
odcl_form_closeall
odcl_form_dump
odcl_form_enable
odcl_form_getcontrolarea
odcl_form_gethwnd
odcl_form_getrectangle
odcl_form_gettitlebartext
odcl_form_hide
odcl_form_isactive
odcl_form_isenabled
odcl_form_isfloating
odcl_form_isvisible
odcl_form_resize
odcl_form_setdialogminmaxsizes
odcl_form_setfocus
odcl_form_settitlebartext
odcl_form_show
odcl_get_attr
odcl_get_tile
odcl_getblocksize
odcl_getcolorvalue
odcl_getdwgmousecoords
odcl_getfocus
odcl_getharddrivesize
odcl_getlinetype
odcl_getlineweight
odcl_getmousecoords
odcl_getpicturesize
odcl_getscreensize
odcl_getversion
odcl_getversionex
odcl_grid_addcolumns
odcl_grid_addrow
odcl_grid_addstring
odcl_grid_calccolwidth
odcl_grid_cancelitemedit
odcl_grid_clear
odcl_grid_deletecolumn
odcl_grid_deletecolumns
odcl_grid_deleterow
odcl_grid_filllist
odcl_grid_getcolumncount
odcl_grid_getcolumnimage
odcl_grid_getcolumnitems
odcl_grid_getcolwidth
odcl_grid_getcursel
odcl_grid_getitemcheck
odcl_grid_getitemdata
odcl_grid_getitemimage
odcl_grid_getitemtext
odcl_grid_getrowcount
odcl_grid_getrowitems
odcl_grid_hitpointtest
odcl_grid_insertrow
odcl_grid_insertstring
odcl_grid_selcurcell
odcl_grid_selcurrow
odcl_grid_setcolumnimage
odcl_grid_setcolwidth
odcl_grid_setcurrow
odcl_grid_setitemcheck
odcl_grid_setitemdata
odcl_grid_setitemdroplist
odcl_grid_setitemimage
odcl_grid_setitemstyle
odcl_grid_setitemtext
odcl_grid_showcombobox
odcl_grid_showellipsesbutton
odcl_grid_showimagecombobox
odcl_grid_showitemdlg
odcl_grid_showpickbutton
odcl_grid_showtextbox
odcl_grid_sortnumericitems
odcl_grid_sorttextitems
odcl_grid_toggleitemimages
odcl_hatch_clear
odcl_hatch_setpattern
odcl_hideerrormsgbox
odcl_html_getbusy
odcl_html_getfullname
odcl_html_gethtmldocument
odcl_html_getlocationname
odcl_html_getlocationurl
odcl_html_getoffline
odcl_html_goback
odcl_html_goforward
odcl_html_gohome
odcl_html_gosearch
odcl_html_navigate
odcl_html_refresh
odcl_html_setoffline
odcl_html_stop
odcl_html_updatehtmlcode
odcl_imagecombobox_addstring
odcl_imagecombobox_clear
odcl_imagecombobox_clearedit
odcl_imagecombobox_deletestring
odcl_imagecombobox_findstring
odcl_imagecombobox_findstringexact
odcl_imagecombobox_getcount
odcl_imagecombobox_getcursel
odcl_imagecombobox_getdroppedwidth
odcl_imagecombobox_geteditsel
odcl_imagecombobox_getitem
odcl_imagecombobox_getitemdata
odcl_imagecombobox_getlbtext
odcl_imagecombobox_gettbtext
odcl_imagecombobox_gettopindex
odcl_imagecombobox_selectstring
odcl_imagecombobox_setcursel
odcl_imagecombobox_setdroppedwidth
odcl_imagecombobox_seteditsel
odcl_imagecombobox_setitem
odcl_imagecombobox_setitemdata
odcl_imagecombobox_settopindex
odcl_insert
odcl_invokefunc
odcl_listbox_addlist
odcl_listbox_addstring
odcl_listbox_clear
odcl_listbox_deletestring
odcl_listbox_dir
odcl_listbox_findstring
odcl_listbox_findstringexact
odcl_listbox_getanchorindex
odcl_listbox_getcount
odcl_listbox_getcursel
odcl_listbox_getfocusindex
odcl_listbox_getitemdata
odcl_listbox_getsel
odcl_listbox_getselcount
odcl_listbox_getselecteditems
odcl_listbox_getselectednths
odcl_listbox_gettext
odcl_listbox_gettopindex
odcl_listbox_insertstring
odcl_listbox_selectstring
odcl_listbox_selitemrange
odcl_listbox_setanchorindex
odcl_listbox_setcursel
odcl_listbox_setfocusindex
odcl_listbox_setitemdata
odcl_listbox_setsel
odcl_listbox_settopindex
odcl_listview_addcolumns
odcl_listview_additem
odcl_listview_addstring
odcl_listview_arrange
odcl_listview_calccolwidth
odcl_listview_cancellabeledit
odcl_listview_clear
odcl_listview_countitems
odcl_listview_deletecolumn
odcl_listview_deletecolumns
odcl_listview_deleteitem
odcl_listview_deleteitems
odcl_listview_filllist
odcl_listview_getcolumncount
odcl_listview_getcolumnimage
odcl_listview_getcolumnitems
odcl_listview_getcolwidth
odcl_listview_getcount
odcl_listview_getitemdata
odcl_listview_getitemimage
odcl_listview_getitemtext
odcl_listview_getrowitems
odcl_listview_getselcount
odcl_listview_getselecteditems
odcl_listview_getselectednths
odcl_listview_hitpointtest
odcl_listview_insertitem
odcl_listview_setcolumnimage
odcl_listview_setcolwidth
odcl_listview_setcursel
odcl_listview_setitemdata
odcl_listview_setitemimage
odcl_listview_setitemtext
odcl_listview_sortnumericitems
odcl_listview_sorttextitems
odcl_listview_startlabeledit
odcl_load_dialog
odcl_loadproject
odcl_loadxref
odcl_messagebox
odcl_mode_tile
odcl_month_getcursel
odcl_month_getmonthrangeend
odcl_month_getmonthrangestart
odcl_month_getrangeend
odcl_month_getrangestart
odcl_month_getselrangeend
odcl_month_getselrangestart
odcl_month_gettoday
odcl_month_setcursel
odcl_month_setrange
odcl_month_setselrange
odcl_multifiledialog
odcl_navigatetourl
odcl_new_dialog
odcl_openbin
odcl_optionlist_addlist
odcl_optionlist_addstring
odcl_optionlist_clear
odcl_optionlist_deletestring
odcl_optionlist_getcount
odcl_optionlist_getcursel
odcl_optionlist_gettext
odcl_optionlist_gettopindex
odcl_optionlist_insertstring
odcl_optionlist_setcursel
odcl_optionlist_setenabled
odcl_optionlist_settopindex
odcl_optionlist_settttavi
odcl_optionlist_settttmain
odcl_optionlist_settttpicture
odcl_optionlist_setttttitle
odcl_optionlist_setttttitlecolor
odcl_optionlist_setttttitleline
odcl_picturebox_clear
odcl_picturebox_drawarc
odcl_picturebox_drawcircle
odcl_picturebox_drawedge
odcl_picturebox_drawfillrect
odcl_picturebox_drawfocusrect
odcl_picturebox_drawhatchrect
odcl_picturebox_drawline
odcl_picturebox_drawpoint
odcl_picturebox_drawrect
odcl_picturebox_drawtext
odcl_picturebox_drawwrappedtext
odcl_picturebox_gettextextent
odcl_picturebox_loadpicturefile
odcl_picturebox_paintpicture
odcl_picturebox_refresh
odcl_picturebox_storeimage
odcl_progressbar_setpos
odcl_project_dump
odcl_project_load
odcl_project_saveas
odcl_project_unload
odcl_readbin
odcl_registeractivexcontrol
odcl_sendstring
odcl_set_tile
odcl_setcmdbarfocus
odcl_showerrormsgbox
odcl_shtml_replacetext
odcl_slide_image
odcl_slideview_clear
odcl_slideview_endimage
odcl_slideview_fillimage
odcl_slideview_load
odcl_slideview_removehighlight
odcl_slideview_sethighlight
odcl_slideview_slideimage
odcl_slideview_vectorimage
odcl_start_dialog
odcl_start_image
odcl_start_list
odcl_tab_getcursel
odcl_tab_getrowcount
odcl_tab_hidetab
odcl_tab_setcursel
odcl_tab_settabtext
odcl_tab_showtab
odcl_textbox_getfilter
odcl_textbox_getfirstvisibleline
odcl_textbox_getline
odcl_textbox_getlinecount
odcl_textbox_getlinelength
odcl_textbox_getmodify
odcl_textbox_getsel
odcl_textbox_linescroll
odcl_textbox_replacesel
odcl_textbox_setfilter
odcl_textbox_setsel
odcl_textbox_settabstops
odcl_textbox_undo
odcl_tree_addchild
odcl_tree_addparent
odcl_tree_canceleditlabel
odcl_tree_clear
odcl_tree_countitems
odcl_tree_deleteitem
odcl_tree_editlabel
odcl_tree_ensurevisible
odcl_tree_expanditem
odcl_tree_getexpandedimage
odcl_tree_getfirstchilditem
odcl_tree_getfirstvisibleitem
odcl_tree_getitem
odcl_tree_getitemdata
odcl_tree_getitemimages
odcl_tree_getitemtext
odcl_tree_getnextsiblingitem
odcl_tree_getnextvisibleitem
odcl_tree_getparent
odcl_tree_getprevsiblingitem
odcl_tree_getprevvisibleitem
odcl_tree_getrootitem
odcl_tree_getselecteditem
odcl_tree_getvisiblecount
odcl_tree_insertafter
odcl_tree_isitemexpanded
odcl_tree_itemhaschildren
odcl_tree_selectitem
odcl_tree_selectsetfirstvisible
odcl_tree_setexpandedimage
odcl_tree_setitemdata
odcl_tree_setitemimages
odcl_tree_setitemtext
odcl_tree_sortchildren
odcl_unload_dialog
odcl_updatevarnames
odcl_vector_image
odcl_writebin
odcl_xpixelstotwips
odcl_xtwipstopixels
odcl_ypixelstotwips
odcl_ytwipstopixels
Thanks Kerry, I was going to put them into the help docs but after seeing the list I wished I hadn't asked :)
My thoughts are to rely on the MTH Browser files to document them all David. I started to to a cross index of which methods and properties applied to which control. Tedious and fairly useless except as an exercise !
Control "SlideView", Method "EndImage"
The text starts by: "This method is used to store what has been drawn or painted to the SlideView’s paint able area to memory. What this does is make all lines, arcs, text, etc. become part of the stored picture that the SlideView uses to paint from ..."
This assumes that one can paint "arcs" and "text", when there only seems to be methods for painting "lines".
I assume this is just a documentation mistake.
I created two functions specifically for working with the ComponentOne FlexGrid ActiveX control. They don't show up in the intelligent help. They are:
(odcl_flexgrid_getcolor grid colorProperty)
(odcl_flexgrid_setcolor grid colorProperty newColor)
The grid argument is the variable pointing to the grid control.
The colorProperty argument is the color to get or set, such as "ForeColor" or "BackColor." It will work with any color property defined in the the FlexGrid. See the FlexGrid documentation for more examples.
The newColor argument is the color to set the grid to. The format for this argument is the same as the format returned by getcolor.
I wish we could display piccys here !
but anyway, ...
Something interesting :
I have dual monitors ..
When testing the GETCURPOS and GETRECTANG properties of Forms and Controls I was getting results I couldn't understand .. negative values for the form X position.
Turned out I have my primary monitor on the right and was testing on the left ..
that explains the -1280 x ordinate
[ 1684007 ] Blank ToolTip formatting issue
https://sourceforge.net/tracker/?func=detail&atid=923363&aid=1684007&group_id=187950
[quote]
This was a pain in the behind. The body text edit box was a rich edit
control, and apparently at one time the tooltip was changed from a rich
text format to a simplified HTML format, but the tooltips dialog was not
updated to reflect the change. Ideally, the rich edit control could display
a WYSIWYG version of the tooltip text, but that would require a lot of
work. Too much to suit my tastes. So, I cheated and converted it into a
plain textbox that contains raw HTML text.
I did change the ToolTipText property to ToolTipTitle. This will break
existing lisp code (including the Tooltip.lsp sample file, which I fixed),
so it should be documented. I don't really like to make a breaking change
like this, but the original name is really confusing, and I decided it's
probably better to do the breaking now rather than later given my
expectation that not many people are setting tooltip text at runtime. If
this becomes too much of a problem, I can add alias functions that use the
original function names and just pass the calls to the new functions.
[/quote]
[ 1680197 ] SaveAs & Event names
https://sourceforge.net/tracker/index.php?func=detail&aid=1680197&group_id=187950&atid=923363
[quote]
Event names do not change once the event is activated. This is by design
to ensure that existing lisp code doesn't break when the project name
changes. Unchecking and reactivating the event will update the name to
reflect the current project name.
[/quote]
[ 1677461 ] Listbox selection
https://sourceforge.net/tracker/index.php?func=detail&aid=1677461&group_id=187950&atid=923363
[quote]
I'm perplexed as to why, but a function to retrieve integer arguments was
explicitly accepting T as 1 and NIL as zero, so the NIL argument to
(odcl_listbox_gettext) was being interpreted as zero, and the text returned
was the text for the first item in the listbox. This is fixed in beta 4.
If anybody was relying on this bizarre interpretation of T and NIL, they
will need to update their code.
[/quote]
[ 1676215 ] DwgList DblClick to run command
https://sourceforge.net/tracker/index.php?func=detail&aid=1676215&group_id=187950&atid=923363
Various issues and commands to be documented are discussed.
[ 1674643 ] OnInitialize doesn\\\'t process all commands
https://sourceforge.net/tracker/index.php?func=detail&aid=1674643&group_id=187950&atid=923363
[quote]
When a dialog is resized, ODCL recalculates the new position of all its
controls based on the values of their positional properties. Setting the
position of the control actually works in your case, but changing the
dialog size then causes the control's position to be recalculated based on
the design-time position parameters, and your new position setting is
lost.
This behavior is by design. The original code used to modify the
design-time position properties when a control was manually moved, thus
preventing this problem from occurring. This causes future invocations of
the form to reflect the modified position, at least until the project is
reloaded -- and there is no way to revert back to the default position
settings because they have been overwritten. Modifying the design-time
properties to reflect runtime property changes also makes it impossible to
have multiple simultaneous dialogs based on the same form (you can't do
that anyway right now, but there's no reason the framework should prevent
it).
Therefore, to get the effect you want, the control should be moved *after*
the dialog is resized. If it's a resizable dialog, the control should be
moved in the OnSize handler for the form, which also fires immediately
after OnInitialize to give you a chance to set the initial position before
the dialog is displayed.
[/quote]
[ 1683994 ] DwgPreview shows funny
https://sourceforge.net/tracker/index.php?func=detail&aid=1683994&group_id=187950&atid=923363
[quote]
Why does the dwgPreview sometimes show the thumbnails correctly & some
times they don't? Does it have to do with the aspect ration of the
dwgPreview?
[/quote]
[quote]
It looks like it is the aspect ration. I changed the width from 150 to 155
& left the height the same (120) and it shows up fine now. See attached
pic. (note the 150 width is missing lines the 155 is ok). Maybe we should
have a design-time property to lock the aspect ration then when you resize
the control it will resize both the height & width correctly..
File Added: dwgPreview2.png
[/quote]
Date: 2007-04-15 09:33
Sender: owenwengerd
Logged In: YES
user_id=1693773
Originator: NO
I've added RightClick and RightDblClick events to the listview control.
............. This should be fixed in Beta 9.
https://sourceforge.net/tracker/index.php?func=detail&aid=1697419&group_id=187950&atid=923363