cancel
Showing results for 
Search instead for 
Did you mean: 

Why is my left click not working in an edit mask field?

Former Member
0 Kudos

PB 12.5.1 (build 4015).

I have a window edit mask which is a date as a drop down calendar.  When I left click in the field the cursor does not go in the field.

For example mm/dd/yyyy and I can't click in the day/dd spot.  Calendar and everything else works and if I use the arrow keys

I can move the cursor inside the field.

I took edit masks objects from another application and put  them on the window and they had the same behavior.

Other data window data clicking in the application does word highlighting in text fields and also does not allow

for the cursor to be placed inside of a word in a sentence.

Any clues?  I figure it is some attribute I am not use to using but just can't find anything.

Note: When I exported the whole window from the working application into the broke application then clicking worked.

The broke application has almost, if no, inheritance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I changed the window from type child to main and now the clicking works as expected ;<0)  Not sure if this makes that much sense but then again these are not my standards in this application.

Former Member
0 Kudos

No .. that should not affect the DW's behaviour. I suspect something else is going on.  😞

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Da;

  If you select to edit the DWO source ... does the source reflect release 12.5;?

If not, can you change the Release value in the source editor, save & retest to see what happens.

Regards ... Chris

Former Member
0 Kudos

Thanks Chris,

This is an edit mask calendar drop down on a window not a datawindow.  I edit the window source code but it does not contain the word "release".  Now the window is allowed to be dragged outside the "main frame" window that is just another window.  The developer(s) did not want to use a menu and I am not sure I want or will be allowed to rewrite the whole app/data now.  I don't see why having multiple main windows would matter, but it's not the way I would prefer.  Still seems odd that the clicking functionality is so different just because of the window type.

Former Member
0 Kudos

So the other window of type child had these same type of clicking issues and on the datawindow.  The data window source code says release 12.5.  I changed the window type to main and walla ... clicking behaves like I am used to.  Any more ideas or an easy way to make these windows stay within the boundaries of the "frame window" that is a window of type main.