Page 1 of 1

Problem with DCGET and move right

Posted: Thu Jun 14, 2018 3:19 pm
by digitsoft
hello Roger
I have a problem with DCGET
if I have 2 DCGET and I'm in the DCGET Priner and I enter with the second DCGET and that I move 2 times to the right and then I go to the first DCGET when I use enter to pass the second DCGET the cursor is positioned in 2 space as if I gave the cursor 2 times to the right.

Re: Problem with DCGET and move right

Posted: Thu Jun 14, 2018 10:05 pm
by Wolfgang Ciriack
Hi, i think i had the same problem when i changed from version 264 to 265.
Put this at the begin of your program:

Code: Select all

   DC_XbpGetSetInputFocusBlock( {|x,y,o|nil, ;
                IIF(!Empty(o:get:buffer),o:get:pos := o:savePos,nil), ;
                o:DateFlag := .T., ;
                o:Home(), ;
                DC_HiliteGets(o,1,o:getList:getOptions[nGETOPT_HILITECOLOR]), ;
                DC_ColorGets(o,1,o:getList:getOptions[aGETOPT_COLORGETS]), ;
                nil} )

Re: Problem with DCGET and move right

Posted: Fri Jun 15, 2018 5:00 am
by digitsoft
thanks for your help
But the problem continues

Wolfgang Ciriack wrote:Hi, i think i had the same problem when i changed from version 264 to 265.
Put this at the begin of your program:

Code: Select all

   DC_XbpGetSetInputFocusBlock( {|x,y,o|nil, ;
                IIF(!Empty(o:get:buffer),o:get:pos := o:savePos,nil), ;
                o:DateFlag := .T., ;
                o:Home(), ;
                DC_HiliteGets(o,1,o:getList:getOptions[nGETOPT_HILITECOLOR]), ;
                DC_ColorGets(o,1,o:getList:getOptions[aGETOPT_COLORGETS]), ;
                nil} )

Re: Problem with DCGET and move right

Posted: Fri Jun 15, 2018 6:02 am
by digitsoft
thanks for your help
Problem solved
digitsoft wrote:thanks for your help
But the problem continues

Wolfgang Ciriack wrote:Hi, i think i had the same problem when i changed from version 264 to 265.
Put this at the begin of your program:

Code: Select all

   DC_XbpGetSetInputFocusBlock( {|x,y,o|nil, ;
                IIF(!Empty(o:get:buffer),o:get:pos := o:savePos,nil), ;
                o:DateFlag := .T., ;
                o:Home(), ;
                DC_HiliteGets(o,1,o:getList:getOptions[nGETOPT_HILITECOLOR]), ;
                DC_ColorGets(o,1,o:getList:getOptions[aGETOPT_COLORGETS]), ;
                nil} )