Jump to content

Double click Unidbgrid.


Guest

Recommended Posts

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?

 

 

.

 

Link to comment
Share on other sites

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?

>

>

 

.

 

Link to comment
Share on other sites

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?

 

 

.

 

Link to comment
Share on other sites

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?

 

.

 

Link to comment
Share on other sites

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?

 

 

.

 

Link to comment
Share on other sites

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?

 

.

 

Link to comment
Share on other sites

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?

>

 

.

 

Link to comment
Share on other sites

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?

>>

>

 

 

.

 

Link to comment
Share on other sites

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?

>>>

>>

>

>

 

.

 

Link to comment
Share on other sites

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.

 

 

.

 

Link to comment
Share on other sites

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?

>>>>

>>>

>>

>>

>

 

 

 

Link to comment
Share on other sites

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.

>

>

 

.

 

Link to comment
Share on other sites

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.

>>

>>

>

 

 

.

 

Link to comment
Share on other sites

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?

 

.

 

Link to comment
Share on other sites

  • 2 months later...

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?

>>>>

>>>

>>

>>

>

Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...