Re: [Iup-users] DoubleClick and IupMatrix

2022-02-21 Thread Andrew Robinson
6 AM, Ranier Fonseca wrote: >>De: Andrew Robinson >>Enviado: domingo, 20 de fevereiro de 2022 17:33 >>Para: IUP discussion list. >>Assunto: Re: [Iup-users] DoubleClick and IupMatrix >> >>>I can change text here if I don't use IUP_IGNORE as suggested, but the te

Re: [Iup-users] DoubleClick and IupMatrix

2022-02-21 Thread Andrew Robinson
: Andrew Robinson >Enviado: domingo, 20 de fevereiro de 2022 17:33 >Para: IUP discussion list. >Assunto: Re: [Iup-users] DoubleClick and IupMatrix > >>I can change text here if I don't use IUP_IGNORE as suggested, but the text is IUP text instead of image, so the result is undef

Re: [Iup-users] DoubleClick and IupMatrix

2022-02-21 Thread Ranier Fonseca
De: Andrew Robinson Enviado: domingo, 20 de fevereiro de 2022 17:33 Para: IUP discussion list. Assunto: Re: [Iup-users] DoubleClick and IupMatrix >I can change text here if I don't use IUP_IGNORE as suggested, but the text is >IUP text instead of image, so the result is undefined tha

Re: [Iup-users] DoubleClick and IupMatrix

2022-02-20 Thread Andrew Robinson
Sorry again but I have a (temporary?) solution. If I set the entire matrix to READONLY=YES in CLICK_CB and then put READONLY=NO in VALUE_EDIT_CB afterwards, everything works as expected. On 2/20/2022 at 11:29 AM, Andrew Robinson wrote: Sorry, but I think I should also describe what I'm doing i

Re: [Iup-users] DoubleClick and IupMatrix

2022-02-20 Thread Andrew Robinson
Sorry, but I think I should also describe what I'm doing in code: I have two callbacks: CLICK_CB and VALUE_EDIT_CB. CLICK_DB allows me to select which lines can be selected or highlighted (blank lines cannot be highlighted) and VALUE_EDIT is for saving the textfields when they change. Everythin

Re: [Iup-users] DoubleClick and IupMatrix

2022-02-20 Thread Andrew Robinson
Ola, thank you for that idea Ranier. I tried your advice but all that does is ignore any edit actions. It does not prevent the edit mode from executing it's GUI actions. Let me try to explain this issue a little better: Before I do anything, I have this: I double-click and this happens: