Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / Qstringgrid search

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Qstringgrid search
#603
Posted by: 2002-10-24 20:52:13
how can i search within a Qstringgrid?

specially within a specific column of the grind and jump to the searched expression?

is this possible?
Message2. Re: Qstringgrid search
#607
Posted by: OvalX 2002-10-25 14:39:17
Try this one:
Dim i as Integer
    FOR i = 1 TO grid.rowCount-1
        IF INSTR(LCASE$(grid.Cell(SpecificCol,i)),LCASE$(SearchString))
            Then
            grid.TopRow = i
            Exit Sub
        End If
    NEXT i

Best regards. OvalX
Message3. Re: Qstringgrid search
#611
Posted by: 2002-10-25 16:06:00
thanx OvalX

marvellous, it works like a charm!

pls stand on for further consultation

bye
Message4. Re: Qstringgrid search
#618
Posted by: OvalX 2002-10-28 16:04:15
OK, I am still here, but I am only beginner in RapidQ (a little better I am in Visual Basic), mayby I will need further consultation ...) :-)
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sun 2022-9-25  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0