i found this Difference my Code is RED.
resize do work now after add new Class FROM Dxe_Slider, DC_XbaseParts

this Result is with "original" DclipX.DLL / LIB
Sorry, I forgot the latest DCDIALOG.CH.lGETOPT_NO_UNDO undefined !
in _dxgetbx.prg line 615
It really isn't needed there.in _dcgetbx.prg line 6216 (FUNCTION DC_GetOptDefault( aGetOptions, lExpress ))
should not be here the array element 96 also?
ok, got it.hz_scotty wrote:may be, but the error comes from the new _dcgetbx.prg !
with the original (or last version off dclipx.dll) it's all ok
Code: Select all
CLASS DC_Slider FROM Dxe_Slider, DC_XbaseParts
That's interesting.i understand Rogers Code ( green ), which need new DclipX Version, but my Code ( red ) now work with resize without change ?
After looking again at my code, I see that there is no reason to require inheriting from DC_XbaseParts() when doing simple resizing. That requirement is only there when needing advanced features such as drag and drop, when and hide code blocks, font scaling, noivar support, and designer features.i understand Rogers Code ( green ), which need new DclipX Version, but my Code ( red ) now work with resize without change ?
Code: Select all
#include "dcdialog.ch"
#xcommand @ <row>, <col> DCSLIDE [<clauses,...>] ;
[ORIENTATION <orient>] ;
[RANGE <r1>, <r2>] ;
[FREQUENCY <freq>] ;
[BUDDYSPACE <buds>] ;
[BUDDYLEFT <budl>] ;
[BUDDYRIGHT <budr>] ;
[COLORCHANNEL <colorc>] ;
[COLORTHUMB <colort>] ;
[COLORSCOPE <colors>] ;
[THUMBLENGTH <thumb>] ;
[TRACK <bTrack>] ;
[<tb:TICKBOTH>] ;
[PAINTSTYLE <style>] ;
[SCOPE <scope1>, <scope2>] ;
[RESTYPE <cResType>] ;
[RESFILE <cResFile>] ;
[ICOTHUMB <iThumb>] ;
[ICOMARKER <iMarker>] ;
[ICOIMAGE <iImage>] ;
=> ;
@ <row>, <col> DCCUSTOM {|a|DC_DxeSlide(a)} [<clauses>] ;
;DC_GetListSet(DCGUI_GETLIST,xGETLIST_OPTIONS, ;
{<orient>,<r1>,<r2>,<freq>,<buds>,<budl>,<budr>,<thumb>,<style>, ;
<.tb.>,<iThumb>,<iMarker>,<iImage> } ) ;
[;DC_GetListSet(DCGUI_GETLIST,xGETLIST_OPTIONS2,{<scope1>,<scope2>})] ;
[;DC_GetListSet(DCGUI_GETLIST,xGETLIST_OPTIONS3,{<cResType>,<cResFile>})] ;
[;DC_GetListSet(DCGUI_GETLIST,aGETLIST_COLOR,{<colorc>,<colort>,<colors>})] ;
[;DC_GetListSet(DCGUI_GETLIST,bGETLIST_ACTION,<bTrack>)]
THX, that looks more easy to learn Express++ Syntax.rdonnay wrote:... therefore you only need to add the parameters that are unique to your class.