User Profile
Collapse
-
I am having a related problem that might shed some light on yours. I have some code that sets the background color of a row depending on the status of the data in the row. At first I put this code in the DataBindingComp lete event and it took a while for the form to load because each time I filtered the grid it ran through every row in the grid (visible or not) again to execute this code. So I moved the code to RowPrePaint. The form loaded quickly... -
A solution
I have found a workable solution. Maybe not the prettiest code, but it works so far.
I have created a custom array which holds the data for combobox and visible and enabled boolean.
I have created a custom combobox that inherits the MS combobox. I added a visablerows property. I added the following code to handle the measureitems code:
-------------------------------------------------------...Leave a comment:
-
I assume you have already found the answer, but in case you have not, I can recommend the following:
Use the ODP.Net provider from Oracle. It works better the MS one does and MS is getting rid of theirs anyway. (See Microsoft announced its deprecation of System.Data.Ora cleClient <http://www.oracle.com/goto/newsletters/netdev/0709/msdn_orclnt.htm l?msgid=8053849 >)
Create a view in Oracle and use that. It is...Leave a comment:
-
How to add properties to the Item object of a combobox?
I would like to add the properties "visible" and "enabled" to the Items object of a combobox in VB .Net so that I can hide or disable individual line items of the combobox. I have created the class "CustomListItem " that inherits the combobox.object collection. I have also created the class "CustomComboBox ". Now, I would like to override the custombox.Items object with my custom one. Is this possible to ...
No activity results to display
Show More
Leave a comment: