RE: EuGrid: Grid Control for Win32lib
- Posted by Jonas Temple <jktemple at yhti.net> Aug 14, 2002
- 512 views
Phil, Please, help yourself to whatever suits your needs in my grid. I liked that your grid was closer to the API as changes in win32lib would probably not break the grid. Hopefully mine will translate as I used win32lib calls for the windows stuff. I wound up simulating a drop down by creating an edit control and then placing a button with a '?' as the caption to the right of the edit. Then when the button was pressed I would show a list box right below the edit control. Probably not the best way but all I could figure out using win32lib. I did notice a couple of things (minor) with your grid. Using the simple.exw example, tab over to an email address and press Enter in the edit control. The text disappears and when you move off the control a | is displayed in the first position of the cell. Move back to the cell and the text disappears. I assume this is because of the enter key inserting a new line into the control. Also, when you tab to the right to a cell that is partially displayed it would be nice if the grid automatically adjusts to display the entire cell. Again, just minor things. I can't tell you how relieved I was today when I realized I didn't have to keep banging my head to get mine to work!. Jonas Phil Russell wrote: > Hi Jonas, > > Thanks very much for your comments. I would be particularly interested > in any feedback you have as you belong to the (very small) club of > people who know both the joy and pain of grid control construction > > > Jonas Temple wrote: > > > > I noticed that you have on future enhancements check boxes, combo box, > > button, picture, etc. Could I suggest a date control that brings up a > > date selector? Also a control that allows selection of a file that > > brings up an "Open File" dialog box. > > Can't see why not. If memory serves this was implemented in the first > version of your grid control - do you mind if I nab the code? > > BTW I am currently trying to figure out how to implement a combo box > cell type. Using a native combo box is a problem as it seems to be > difficult/impossible to size them correctly. Did you get any further > with the combo box cell type in the latest version of your grid control? > > Regards, > > Phil > >