Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What Is A Good Method For Displaying Results?
Message
 
To
12/03/2002 17:03:30
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00631726
Message ID:
00631795
Views:
26
>I would like to have my "headers" (that is my first fixed column) always remain on the screen at all times. I only want to clear the added rows.


Jason;

See if this will meet your requirements.
Private Sub cmdReset_Click()
'Use one of these to clear the data...    

 '   MSHFlexGrid1.Clear
    MSHFlexGrid1.ClearStructure
 ' Reasign the column headers...
MSHFlexGrid1.ColHeaderCaption(0, 0) = "Publication"
MSHFlexGrid1.ColHeaderCaption(0, 1) = "City"
MSHFlexGrid1.ColHeaderCaption(0, 2) = "Country"


' Clear the other data entry objects to allow a new user selection...
    cboPublisher.Text = ""
    cboCity.Text = ""
    cboCountry.Text = ""
End Sub
Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform