05-17-2007 07:57 AM
05-18-2007 09:01 AM
05-19-2007 12:26 PM
05-21-2007 02:10 AM
05-21-2007 04:11 PM
05-21-2007 04:49 PM
@rorOttawa wrote:
They do not need to be hot but when you select "indicator" instead of 'hot" property they go grey instead of white.
05-22-2007 01:44 AM
@rorOttawa wrote:
Based on what you say, maybe you can select text in any "hot" text control and halt the program.all the "white" boxes are "hot"
Tested right now. Yes, you're right:every text selection in whichever text box freezes the program.
I may suppose that this depend on the fast update of your GUI: the user is not able to terminate text selection before the focus is moved by the program to another control, so that text selection event remains somewhat "pending" (infact, you may notice that moving the mouse over the control you are selecting text on actually changes the selection even if no mouse button is pressed).
As far as I can experiment from here, changing control modes to indicator (and applying the desired make up before starting the actual test) should solve your problem.
05-23-2007 07:28 PM
I made a mistake. The text box is already an "indicator". It is NOT "hot"
So now the question is know to prevent text from being selected in a text box ?
05-23-2007 11:39 PM - edited 05-23-2007 11:39 PM
@rorOttawa wrote:
So now the question is know to prevent text from being selected in a text box ?
Message Edited by Roberto Bozzolo on 05-24-2007 06:39 AM
05-25-2007 05:57 AM
Thanks for pointing me in the right area. I think I have the fix or one fix. I think your fix would have worked also.
I removed the callback for the mainpanel. I did not really need it anyway.The result is that you can not kill the window with the X at top right.The shut down should be via the buttons on the GUI anyway.
Here is new demo with the fix.
See if you can lock it up.
Again thanks for your input.