EIP drop down list box 
Author Message
 EIP drop down list box

Hello
I've used edit in place drop down list boxes in some cases. It's a nice
function, but there are one big problem. When a user use tab to pass over
the field, the value in the field disappear.  Have anyone out there found a
way around this problem?

Arne

Internett: http://www.*-*-*.com/



Fri, 11 Apr 2003 03:00:00 GMT  
 EIP drop down list box

Hi Arne,

I had that problem with SuperInvoice.
I hope this serves you. (finding the corresponding source at Eip template)

I fixed it adding this source at stabeip.tpw

#!*****************************************************************************
#GROUP(%EIPMethodCreateControl7500)
  #IF(~%EditInPlaceUseExistingControl)
    #FIND(%Field, %EditInPlaceField, %File)
    #CASE(%FieldValidation)
    #OF('BOOLEAN')
      #FOR(%FieldScreenControl),WHERE(EXTRACT(%FieldScreenControl, 'USE'))
        #IF(EXTRACT(%FieldScreenControl, 'VALUE'))
SELF.Feq{PROP:Value,1} = %(EXTRACT(%FieldScreenControl, 'VALUE', 1))
SELF.Feq{PROP:Value,2} = %(EXTRACT(%FieldScreenControl, 'VALUE', 2))
        #ENDIF
      #ENDFOR
    #OF('INLIST')
      #CLEAR(%ValueConstruct)
      #FOR(%FieldChoices)
        #SET(%ValueConstruct, %ValueConstruct & CHOOSE(~%ValueConstruct,'','|') & %FieldChoices)
      #ENDFOR
SELF.Feq{PROP:From} = '%ValueConstruct'
SELF.Feq{PROP:Drop} = 10
SELF.Feq{PROP:VScroll} = True
#!
#!----from here -------------------------------------------------------------------------------------
%BrowseManager.UpdateBuffer()
if not %Field
   select(SELF.Feq,1)
end!if
#!--- until here--------------------------------------------------------------------------------------
#!
    #ELSE
      #FOR(%FieldScreenControl),WHERE(EXTRACT(%FieldScreenControl, 'USE'))
        #IF(EXTRACT(%FieldScreenControl, 'UPR'))
SELF.Feq{PROP:Upr} = True

Best Regards,
--

Marcelo Salduendo
Arroyo Seco - Santa Fe - Argentina

icq# 86942419

PD: Gracias Matas  :)


  Hello
  I've used edit in place drop down list boxes in some cases. It's a nice
  function, but there are one big problem. When a user use tab to pass over
  the field, the value in the field disappear.  Have anyone out there found a
  way around this problem?

  Arne

  Internett: http://www.schei.no



Fri, 11 Apr 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. LIST BOX AND DROP DOWN LIST BOX

2. Drop down list box refresh problem

3. Drop Down List Box - don't show an initial value

4. Incremental search in drop down list box?

5. drop down list box bug?????????????????

6. Drop down list box on browse window -- to filter

7. Multi. select drop down list box

8. Creating DROP DOWN in LIST BOX.

9. App Wizard and drop down list boxes in C4b

10. Drop Down List boxes don't work-CW2.003

11. Drop down list box

12. Drop Down List Boxes

 

 
Powered by phpBB® Forum Software