|
-
Sep 27th, 2001, 03:53 PM
#1
Searhing MSHFlexGrid
Does anyone have an idea about searching the MSHFlexGrid. Well I want to search all rows in column 0.
Please Help
-
Sep 27th, 2001, 04:03 PM
#2
Hyperactive Member
VB Code:
Dim i As Integer
For i = 0 To fg.Rows - 1
If InStr(fg.TextMatrix(i, 0), sSearchString) > 0 Then
' Found a match
' Do stuff
End If
Next i
The 0 in fg.TextMatrix(i, 0) is column 0 by the way.
-
Sep 27th, 2001, 04:11 PM
#3
Thank you very much!!!
One more quick question, Can we change fonts of MsgBox?
-
Sep 27th, 2001, 05:05 PM
#4
Hyperactive Member
The font properties of a MsgBox are derived from whatever the user has set them to on the Display properties Appearance tab (then choose Message Box as the item). So I dare say that if the location of these are found in the registry, then you could modify the registry to suit. Of course this would then affect all message boxes throughout Windows. If you did want a custom message box, then why not add a form to your VB project and customise that to suit?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|