Results 1 to 8 of 8

Thread: Strange editing behavior in selected field values

  1. #1
    Join Date
    Oct 2014
    Location
    Heerlen, NL
    Posts
    222

    Default Strange editing behavior in selected field values

    Hello,

    One of my users complains that they cannot edit a selected record with the mouse. If I try the same thing all works as I expect for the field where my user has this problem, strangely enough this same behavior is seen at a field where this user does not have this problem. On my machine I can replicate the problem in the order entry example. I open the order entry view and select a order, tab to the next field, grab my mouse and go back to the order number form to try and put the cursor somewhere in between the digits of the order number (between the 1 and 0 of order number 101). The expected behavior is for me that the cursor is situated in between these 2 digits, but what happens is that the complete order number is selected and I cannot position the cursor anywhere in this field, it keeps completely selected no matter what I do. For me this also happens with the order date and salesperson Id, the terms and ship via work like I would like to.

    Is it possible to change this? This is in Dataflex 19.1

    Regards,

    Leon Raafs

  2. #2
    Join Date
    Feb 2009
    Location
    Somewhere in Vermont, USA - unless I'm not
    Posts
    11,085

    Default Re: Strange editing behavior in selected field values

    When I do that, it works as expected, clicking on the zero of 101 it just puts a cursor in the form. I have to double-click to highlight the "101"

    Is there maybe something in a subclass causing this?
    Garret

    Time for an oldie but goodie:

    "If it ain't broke, you're not trying." - Red Green

  3. #3
    Join Date
    Feb 2009
    Location
    Brazil
    Posts
    5,446

    Default Re: Strange editing behavior in selected field values

    He said he was testing on Order entry.. so I guess no subclass was playing a role there.
    Samuel Pizarro

  4. #4
    Join Date
    Feb 2009
    Location
    Somewhere in Vermont, USA - unless I'm not
    Posts
    11,085

    Default Re: Strange editing behavior in selected field values

    Good point!

    My little brain is remembering something about the ability (whether it's in DF or Windows) to toggle the behavior (select on entry or not) - but said little brain has played tricks on me before.
    Garret

    Time for an oldie but goodie:

    "If it ain't broke, you're not trying." - Red Green

  5. #5
    Join Date
    Feb 2009
    Location
    Brazil
    Posts
    5,446

    Default Re: Strange editing behavior in selected field values

    yeah, I remember some discussions about this in the forum as well.. but details ??? no way.
    Samuel Pizarro

  6. #6
    Join Date
    Mar 2009
    Location
    Brasil
    Posts
    47

    Default Re: Strange editing behavior in selected field values

    Quote Originally Posted by Samuel Pizarro View Post
    yeah, I remember some discussions about this in the forum as well.. but details ??? no way.
    Hi,
    Procedure OnSetFocus
    Handle hWnd
    Get Form_Window_Handle 0 To hWnd
    Move (SendMessage(hWnd,WM_KEYDOWN,VK_END,EXTKEY)) To WindowIndex
    End_Procedure

    ?????

  7. #7
    Join Date
    Oct 2014
    Location
    Heerlen, NL
    Posts
    222

    Default Re: Strange editing behavior in selected field values

    Garret, Samual,

    No, there is no subclassing involved in these controls. To make it more interesting, the user that reported this problem in one of the main applications used in out organization does not have this problem in one of the other applications. If I test it on my own system then I dont have this problem in the first, but do have this problem in the second application, so exactly the opposite of the user. After changing focus with the mouse selects the value of the field and highlights is blue and there is no way to reposition the cursor using the mouse. Double click does nothing in this case. It almost looks like visual voodoflex.

    Regards,

    Leon Raafs

  8. #8
    Join Date
    Mar 2009
    Location
    Beech Hill - a village near Reading in the UK
    Posts
    2,812

    Default Re: Strange editing behavior in selected field values

    Quote Originally Posted by LeonRaafs View Post
    visual voodoflex


    Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •