... you try to point your mouse to click on the paper calendar hanging on the wall beside your monitor. (I've done this three times in as many months.)
ThomasBates
Posts
-
You know you need a break when... -
How do I get a grid control to see MyDataView's column definitions?I have implemented my own MyDataView so that I can process the raw data before it appears in a data grid. MyDataView implements IBindingList. MyDataView has a collection of MyDataRow objects. MyDataRow implements ICustomTypeDescriptor. MyDataView also has a collection of MyDataColumn objects, which it shares with the MyDataRow objects. MyDataRow exposes the collection of MyDataColumn through the ICustomTypeDescriptor interface. When assigning the DataSource property of the grid to an instance of MyDataView, it displays all the columns and rows correctly, as long as there is at least one row of data to display. However, when the MyDataView has no rows, the grid shows a single column called "Column" instead of the actual columns in the collection. This makes sense to me since the columns are exposed through the row, and there are no rows. Somehow, I need the grid to see MyDataView's column definitions even if there are no rows in the view. I tried modifying MyDataView to also implement ICustomTypeDescriptor, but it did not seem to have any effect. How do I get a grid to see MyDataView's column definitions even if there are no rows in the view? (I'm using the DevExpress.XtraGrid.GridControl from Developer Express.)
-
assign number to variable name> .... and this question is for Pascal but i havent found pascal forum ... Sorry, but it's not valid in Pascal, either. (unless you use the font-edit method below) Thomas Bates I want to live in Theory. Everything works in Theory.
-
RAM (or possibly something else) noise?I've had a couple of big shiny new CRT monitors from different companies. My current one is a Dell, I don't remember what the other one was. I don't know a lot about CRT technology, but on both of them I've found the following: When I turn the resolution up to max, sometimes applications with a mostly white background produce a buzzing sound. When I minimize the apps or move another app in front of them the buzzing stops. Sometimes resizing the apps to make them smaller stops the buzzing. When I set the screen resolution to something in the middle of the monitor's range, I don't get any buzzing at all. I have my current monitor because the previous one stopped working. The local monitor repair guy said that running a monitor at its max settings will burn it out a lot faster and that's probably what happened to mine. What can I say? I like resolution. Thomas Bates I want to live in Theory. Everything works in Theory. (uncredited)