VSFlexGrid¸´Ñ¡¶àÐУ¬ÈçºÎɾ³ý·Ç¸´Ñ¡µÄÐÐFor i = 0 to fg.SelectedRows – 1
Debug.Print "Row "; fg.SelectedRow(i); " is selected"
Next
ÎÒÏëÌáʾµ½Õâ¶ùÓ¦¸Ã¿ÉÒÔÁ˰ɡ£ ²¹³äÏ£¬Â¥ÉϵĴúÂëÖ»ÔÚSelectionMode = flexSelectionListBoxµÄÇé¿öϹ¤×÷¡£ ÆäËûµÄmode£¬²érow ºÍ rowsel VB code: With VSFlexGrid1 For i = .Rows - 1 To 0 Step -1 If .IsSelected(i) = False Then .RemoveItem (i) End If Next End With
»¹ÊÇлл¸÷λÁË ÎÊÌâ×òÌìÒѾ×Ô¼º½â¾ö
For i = 0 to fg.SelectedRows – 1
Debug.Print "Row "; fg.SelectedRow(i); " is selected"
VBÔõÑù»ñµÃÊó±ê´¦µÄ³¬¼¶Á¬½ÓÄØ£¿ ÔÚWebBrowser¿Ø¼þÖÐÓÐÕâÑùÒ»¸öʼþ:StatusTextChange(index As Integer, ByVal Text As String) ËüµÄText²ÎÊýÕýÊÇÊó±ê´¦µÄ³¬¼¶Á¬½Ó,µ«ÎÊÌâÊÇÈç¹ûÎÒµÄä¯ÀÀÆ÷Õýà ......