problem with combo box 
Author Message
 problem with combo box

hi all,
i am working on VFP6.0 and have a problem with Combo
Box ,the problem is when i am running the program and i
click the combo box to show the drop down options it does
drop down but its blank with a scroll Bar to scroll
through the options and select. If i scroll down and just
click anywere in the blank it still selects that
particular option, this is specially when i run the main
exe. But if i just run that specific prg. which calls that
form which has those combo boxes i can see all the options.
The combo box is connected to an array which is created in
the prg. and the code is as follows......
I hope i have been able to explain myself , if any
confusion pls ask me.......
Thanks a lot in advance..

******code building the array*********

m.gcDrice = "C:"

IF m.llProbType
        SELECT (m.gcDrive+"\dmsdata\probtype")
        m.lcProbOrd     =ORDER()
        m.lnProbRec     =RECNO()
        SET ORDER TO (m.gcDrive+"\dmsdata\probtype")
ELSE
        SELECT 0
        USE (m.gcDrive+"\dmsdata\probtype")

        IF !FILE("probtype.idx")
                INDEX ON probtype1 TO
(m.gcDrive+"\dmsdata\probtype") COMPACT
        ENDIF

        SET INDEX TO (m.gcDrive+"\dmsdata\probtype")
ENDIF

COUNT FOR !DELETED() TO m.lnProbCount
GO TOP
m.lcProbType    ="<<  ALL  >>"

IF m.lnProbCount >0
        DIMENSION laProbTypes[m.lnProbCount +1]
        m.i =1
        laProbTypes[m.i]        ="<<  ALL  >>"
        m.i     =(m.i +1)

        SCAN FOR !DELETED()
                laProbTypes[m.i]        =probtype.probtype1
                m.i     =(m.i +1)
        ENDSCAN

ENDIF



Fri, 10 Dec 2004 22:52:07 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Problem with Combo Box

2. Problem with combo box

3. problem with combo box validation

4. Problem with combo box in grid

5. Problem with combo box

6. Combo Box with style property set to dropdown combo

7. Combo Box Problems!!!

8. combo box problem

9. Help! Combo Box Problem

10. combo box problem

11. More combo box in grid problems

12. VFP 3.0 ListBox / Combo box problem

 

 
Powered by phpBB® Forum Software