Guest Posted April 6, 2011 Share Posted April 6, 2011 Message from: "news.fmsoft.net" Would have any way to simulate a double click with the mouse in Unidgbrid? . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "Farshad Mohajeri" We already have OnDblClick event implemented. "news.fmsoft.net" wrote in message news:uP05E7G9LHA.1980@anaxagvs227... > Would have any way to simulate a double click with the mouse in Unidgbrid? . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "news.fmsoft.net" But I'm finding it a problem because every time I do a double click, it runs only once. Em 06/04/2011 15:26, Farshad Mohajeri escreveu: > We already have OnDblClick event implemented. > > "news.fmsoft.net" wrote in message > news:uP05E7G9LHA.1980@anaxagvs227... >> Would have any way to simulate a double click with the mouse in Unidgbrid? > > . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "Farshad Mohajeri" "news.fmsoft.net" wrote in message news:RA3nyHJ9LHA.3152@anaxagvs227... > But I'm finding it a problem because every time I do a double click, it > runs only once. > A DoubleClick is a single event. What else did you expect? . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "news.fmsoft.net" After you run it once, until we close the form I can not run it again. Em 06/04/2011 16:46, Farshad Mohajeri escreveu: > A DoubleClick is a single event. What else did you expect? . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "Farshad Mohajeri" "news.fmsoft.net" wrote in message news:TTPpwOJ9LHA.3152@anaxagvs227... > After you run it once, until we close the form I can not run it again. > I see. It is not the expected behavior. Can you paste your code inside the event handler? . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "news.fmsoft.net" They are only 3 lines of codes. dbgProcesso.DataSource.DataSet.Edit; dbgProcesso.Columns[v_idx].Field.Value := Now; dbgProcesso.DataSource.DataSet.Post; Em 06/04/2011 16:51, Farshad Mohajeri escreveu: > I see. It is not the expected behavior. Can you paste your code inside the > event handler? . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "news.fmsoft.net" I'm trying to update a field in Unidgbrid with a double click. Em 06/04/2011 16:55, news.fmsoft.net escreveu: > They are only 3 lines of codes. > > dbgProcesso.DataSource.DataSet.Edit; > dbgProcesso.Columns[v_idx].Field.Value := Now; > dbgProcesso.DataSource.DataSet.Post; > > > Em 06/04/2011 16:51, Farshad Mohajeri escreveu: >> I see. It is not the expected behavior. Can you paste your code inside >> the >> event handler? > . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "Farshad Mohajeri" Can you try with a simple showmessage in event? "news.fmsoft.net" wrote in message news:W$hoOUJ9LHA.3152@anaxagvs227... > I'm trying to update a field in Unidgbrid with a double click. > > Em 06/04/2011 16:55, news.fmsoft.net escreveu: >> They are only 3 lines of codes. >> >> dbgProcesso.DataSource.DataSet.Edit; >> dbgProcesso.Columns[v_idx].Field.Value := Now; >> dbgProcesso.DataSource.DataSet.Post; >> >> >> Em 06/04/2011 16:51, Farshad Mohajeri escreveu: >>> I see. It is not the expected behavior. Can you paste your code inside >>> the >>> event handler? >> > . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "news.fmsoft.net" Strange because even now is passing over the double click event in web mode but the way this normal desktop. Em 06/04/2011 17:11, Farshad Mohajeri escreveu: > Can you try with a simple showmessage in event? > > "news.fmsoft.net" wrote in message > news:W$hoOUJ9LHA.3152@anaxagvs227... >> I'm trying to update a field in Unidgbrid with a double click. >> >> Em 06/04/2011 16:55, news.fmsoft.net escreveu: >>> They are only 3 lines of codes. >>> >>> dbgProcesso.DataSource.DataSet.Edit; >>> dbgProcesso.Columns[v_idx].Field.Value := Now; >>> dbgProcesso.DataSource.DataSet.Post; >>> >>> >>> Em 06/04/2011 16:51, Farshad Mohajeri escreveu: >>>> I see. It is not the expected behavior. Can you paste your code inside >>>> the >>>> event handler? >>> >> > > . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2011 Author Share Posted April 6, 2011 Message from: "Farshad Mohajeri" Can you send a simple test case? "news.fmsoft.net" wrote in message news:oXp37xJ9LHA.3152@anaxagvs227... > Strange because even now is passing over the double click event in web > mode > but the way this normal desktop. . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 7, 2011 Author Share Posted April 7, 2011 Message from: "news.fmsoft.net" I'm sending the sample test that I did. Em 06/04/2011 17:51, news.fmsoft.net escreveu: > Strange because even now is passing over the double click event in web mode > but the way this normal desktop. > > Em 06/04/2011 17:11, Farshad Mohajeri escreveu: >> Can you try with a simple showmessage in event? >> >> "news.fmsoft.net" wrote in message >> news:W$hoOUJ9LHA.3152@anaxagvs227... >>> I'm trying to update a field in Unidgbrid with a double click. >>> >>> Em 06/04/2011 16:55, news.fmsoft.net escreveu: >>>> They are only 3 lines of codes. >>>> >>>> dbgProcesso.DataSource.DataSet.Edit; >>>> dbgProcesso.Columns[v_idx].Field.Value := Now; >>>> dbgProcesso.DataSource.DataSet.Post; >>>> >>>> >>>> Em 06/04/2011 16:51, Farshad Mohajeri escreveu: >>>>> I see. It is not the expected behavior. Can you paste your code inside >>>>> the >>>>> event handler? >>>> >>> >> >> > Quote Link to comment Share on other sites More sharing options...
Guest Posted April 7, 2011 Author Share Posted April 7, 2011 Message from: "Farshad Mohajeri" "news.fmsoft.net" wrote in message news:KAhf35J9LHA.3152@anaxagvs227... > I'm sending the sample test that I did. > I'll test it. . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 8, 2011 Author Share Posted April 8, 2011 Message from: "news.fmsoft.net" HI Farshad you came to do the test? Em 07/04/2011 13:47, Farshad Mohajeri escreveu: > "news.fmsoft.net" wrote in message > news:KAhf35J9LHA.3152@anaxagvs227... >> I'm sending the sample test that I did. >> > > I'll test it. > > . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 8, 2011 Author Share Posted April 8, 2011 Message from: "Farshad Mohajeri" Not yet. Some parts of framework is being ported to new core and I have a semi-working lib right now. Give me a few days until it is done. BTW, can you please change your newsgroup nickname? "news.fmsoft.net" wrote in message news:uBCxTCi9LHA.3976@anaxagvs227... > HI Farshad you came to do the test? > > Em 07/04/2011 13:47, Farshad Mohajeri escreveu: >> "news.fmsoft.net" wrote in message >> news:KAhf35J9LHA.3152@anaxagvs227... >>> I'm sending the sample test that I did. >>> >> >> I'll test it. >> >> > . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 8, 2011 Author Share Posted April 8, 2011 Message from: "Anderson Fabiano" Sure sorry, and good luck with the changes Em 08/04/2011 16:21, Farshad Mohajeri escreveu: > Not yet. Some parts of framework is being ported to new core and I have a > semi-working lib right now. Give me a few days until it is done. > > BTW, can you please change your newsgroup nickname? . Quote Link to comment Share on other sites More sharing options...
Guest Posted April 8, 2011 Author Share Posted April 8, 2011 Message from: "Farshad Mohajeri" "Anderson Fabiano" . >good luck with the changes Thanks . Quote Link to comment Share on other sites More sharing options...
anderson Posted June 9, 2011 Share Posted June 9, 2011 I'm having this problem too, anyone have a solution? Message from: "news.fmsoft.net" I'm sending the sample test that I did. Em 06/04/2011 17:51, news.fmsoft.net escreveu: > Strange because even now is passing over the double click event in web mode > but the way this normal desktop. > > Em 06/04/2011 17:11, Farshad Mohajeri escreveu: >> Can you try with a simple showmessage in event? >> >> "news.fmsoft.net"<afatabe.anderson@gmail.com> wrote in message >> news:W$hoOUJ9LHA.3152@anaxagvs227... >>> I'm trying to update a field in Unidgbrid with a double click. >>> >>> Em 06/04/2011 16:55, news.fmsoft.net escreveu: >>>> They are only 3 lines of codes. >>>> >>>> dbgProcesso.DataSource.DataSet.Edit; >>>> dbgProcesso.Columns[v_idx].Field.Value := Now; >>>> dbgProcesso.DataSource.DataSet.Post; >>>> >>>> >>>> Em 06/04/2011 16:51, Farshad Mohajeri escreveu: >>>>> I see. It is not the expected behavior. Can you paste your code inside >>>>> the >>>>> event handler? >>>> >>> >> >> > Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 9, 2011 Administrators Share Posted June 9, 2011 Message from: "news.fmsoft.net" I'm sending the sample test that I did. Hmm I have forgotten this issue!! I just tested your case. Problem is that you must disable editing for DblClick to work because on web mouse double click is used to activate the Grid editor. Uncheck dgEditing from Options or check dgRowSelect. Quote Link to comment Share on other sites More sharing options...
anderson Posted June 9, 2011 Share Posted June 9, 2011 Tanks Hmm I have forgotten this issue!! I just tested your case. Problem is that you must disable editing for DblClick to work because on web mouse double click is used to activate the Grid editor. Uncheck dgEditing from Options or check dgRowSelect. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.