I do ve a handle whose type is "choose field" , no

Posted by prajapati.puru on 21-Jun-2012 00:46

I do ve a handle whose type is "choose field" , now i want to check whether it is selected or not? I had tried

     v-handle[v-count]:selected 

     v-handle[v-count]:text-selected

     v-handle[v-count]:selection-text

But not working , Any help................

Advance thank you

All Replies

Posted by rbf on 21-Jun-2012 01:57

There is no field type "choose field".  Field types that support the CHOOSE event are BUTTONs en MENU-ITEMS.

What do you mean by 'selected'? If the field has focus? In that case you can check if FOCUS contains the handle like so:

if FOCUS eq v-handle then...

If this is not what you are looking for, please explain more.

Posted by prajapati.puru on 21-Jun-2012 05:29

Its a CHUI application and it shows that its handle type is "choose field" . I also searched that types i didn't found in Progress Help file but it shows "choose field".

Posted by rbf on 21-Jun-2012 13:43

Well sorry CHUI has been too long ago for me so I hope someone else can step in and help you out.

-peter

Posted by egarcia on 21-Jun-2012 14:49

Hello,

Are you using the CHOOSE FIELD statement?

The example in the documentation shows that you can use FRAME-VALUE to determine the selected value?

http://documentation.progress.com/output/OpenEdge102b/oe102bhtml/wwhelp/wwhimpl/js/html/wwhelp.htm#href=dvref/09dvref-C.08.10.html

Is that similar to what you are doing?

I hope this helps.

Posted by prajapati.puru on 21-Jun-2012 23:36

focus handle done the work for me, thanks guys

This thread is closed