Re: [dabo-users] Need "SetCellSize" in dGrid

Author: Paul McNett

Posted: 2012-05-30 at 16:45:07

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?

Paul

_______________________________________________

Post Messages to: Dabo-users@leafe.com

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/4FC694E3.6090900@ulmcnett.com

©2012 Paul McNett