Slider question
Re: Slider question
i can confirm Error Msg with DCSLIDE.PRG
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
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
greetings by OHR
Jimmy
Jimmy
Re: Slider question
may be, but the error comes from the new _dcgetbx.prg !
with the original (or last version off dclipx.dll) it's all ok
need to be fixed by Roger - i think
with the original (or last version off dclipx.dll) it's all ok
need to be fixed by Roger - i think
best regards
Hans
Hans
Re: Slider question
Sorry, I forgot the latest DCDIALOG.CH.lGETOPT_NO_UNDO undefined !
in _dxgetbx.prg line 615
Here it is.
- Attachments
-
- dcdialog.zip
- (45.2 KiB) Downloaded 676 times
The eXpress train is coming - and it has more cars.
Re: Slider question
thank you - fixed
in _dcgetbx.prg line 6216 (FUNCTION DC_GetOptDefault( aGetOptions, lExpress ))
should not be here the array element 96 also?
in _dcgetbx.prg line 6216 (FUNCTION DC_GetOptDefault( aGetOptions, lExpress ))
should not be here the array element 96 also?
best regards
Hans
Hans
Re: Slider question
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?
It isn't something you would want to propagate thru the entire application.
I added this for an eXpress++ programmer who had a specific problem on a specific dialog.
The eXpress train is coming - and it has more cars.
Re: Slider question
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
my Question is different : why ( how ) does my old DCSLIDE.PRG work now with resize after only add
Code: Select all
CLASS DC_Slider FROM Dxe_Slider, DC_XbaseParts
i understand Rogers Code ( green ), which need new DclipX Version, but my Code ( red ) now work with resize without change ? Roger do call CLASS DC_Slider but i do not ... ... how can my Syntax , which work with old / new DclipX, work without calling CLASS DC_Slider
p.s. did someone have Problem under Win 10 to recompile DclipX ?
it does create DEF and LIB without Error but no DLL ...
when run Aimplib.EXE manual it say some files are missing ...
greetings by OHR
Jimmy
Jimmy
Re: Slider question
That's interesting.i understand Rogers Code ( green ), which need new DclipX Version, but my Code ( red ) now work with resize without change ?
I will have to look at my code again to see why.
The eXpress train is coming - and it has more cars.
Re: Slider question
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 ?
The eXpress train is coming - and it has more cars.
Re: Slider question
Jimmy -
I told you that I would work on simplifying the process of creating your own command sets.
Here is a replacement for your DCSLIDE.CH.
It inherits all the command parameters of @ .. DCCUSTOM, therefore you only need to add the parameters that are unique to your class.
I told you that I would work on simplifying the process of creating your own command sets.
Here is a replacement for your DCSLIDE.CH.
It inherits all the command parameters of @ .. DCCUSTOM, therefore you only need to add the parameters that are unique to your class.
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>)]
The eXpress train is coming - and it has more cars.
Re: Slider question
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.
greetings by OHR
Jimmy
Jimmy