Am 31.05.2012 14:50, schrieb Paul McNett: > On 5/30/12 10:27 PM, Anton Hofer wrote: >> Am 30.05.2012 23:45, schrieb Paul McNett: >>> On 5/30/12 2:36 PM, John Fabiani wrote: >>>> On Wednesday, May 30, 2012 10:13:13 PM Anton Hofer wrote: >>>>> Dear Community, >>>>> >>>>> a few month ago i have searched for a alternative programming >>>>> environment for Visual FoxPro and found dabo. In my little FoxPro-app i >>>>> have a grid where some cells overlap two or more columns. In the Visual >>>>> FoxPro Grid i have solved this Problem. I use several Containers in one >>>>> Column an can now simulate this. Now i want to write this app with dabo. >>>>> In the wyPython-framework there is a grid-command "SetCellSize". This >>>>> should be a solution for my problem. >>>>> In the dabo-framework there is no command "SetCellSize". >>>>> Therefor i have tried to use "SetCellValue" from wxPython in the >>>>> demogrid of dabodemo. But when i select the "DemoGrid" in the >>>>> objectinspector and give in e. g. a "obj.SetCellSize(2,2,2,2)" nothing >>>>> happens in the Grid. There is no errormessage and it seems the command >>>>> is right. >>>>> Do you have any idea what i can do? >>>>> >>>>> Thank you very much for your help! >>>> The standard "Width" property works. That said, I normally do NOT set the >>>> width on columns. In Dabo the user can manually set the width of column >>>> and >>>> the framework will save the setting when the user closes the form. >>> I think Anton wants to set not the column width but the cell width, so that >>> when >>> editing in the cell the contents overlap adjacent column(s), but when just >>> looking at >>> it the contents cut off in favor of the contents from the other columns. >>> Anton, do I >>> have it right? >> Yes, it is right. >>> Paul >> I tried tis in the wxPython-Demo an there it works. I need a view like >> this (1, 2, 3, 4 means column1, column2 ...): >> >> 111 22 333333333 4444444444444 >> 111 2222222222222222222222222 >> 111 2222222222222222222222222 >> 111 22 333333333 4444444444444 >> 111 22 333333333 4444444444444 >> 111 22 333333333 4444444444444 > Do you want to see those long column 2's all the time, whether or not the > grid is in > read-only or edit mode? > > If so, when if ever does the user get to see the data in column 3 and 4 for > those rows? > > Paul > If it is possibel, i want to see this long column 2's in edit-mode too. But i will edit my data in a form so it is important for me to see the long columns. The user has not to see the data in column 3 and 4 because in case of a long column 2 both columns 3 and 4 have no data.
Anton _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
