[Gambas-user] New in Gambas Farm: A gridview with automatic row height
Rolf-Werner Eilert
rwe-sse at ...3629...
Fri Mar 17 08:19:27 CET 2017
Ah, I understand! It's like with Gambas: It's not a bug, it's a feature :)
Thanks for the hint. When I apply it next time, I will try both versions.
Rolf
Am 16.03.2017 19:05, schrieb Jorge Carrión:
> It isn't a bug is the expected behaviour for the example. I set the .expand
> property of columns to true, so they change it's width at Form's resize
> If you doesn' like that behaviour, comment this lines in Test.Class
>
> For n = 0 To wordWrapGrid1.Columns.Max
> wordWrapGrid1.Columns[n].Expand = True
> Next
>
> Then the width of columns is "static" and remains under the mouse pointer.
>
> Best Regards.
>
>
> 2017-03-16 13:01 GMT+01:00 Rolf-Werner Eilert <rwe-sse at ...3629...>:
>
>> Am 16.03.2017 08:55, schrieb Jorge Carrión:
>>> Hi
>>> I've upload to Gambas Farm a new control that I called hGrid (the "h" of
>>> "Height" and yes, I know that h usually means "handle" but I'm lack of
>>> imagination, I'm afraid)
>>>
>>> Its a control that inherits of GridView with a new boolean property
>>> "wordWrap". If it is setted to True, the wordWrap property of cells its
>> set
>>> to true too and the height of the rows is fitted to show all the cell
>>> contents.
>>>
>>> I hope it'll be usefull for someone.
>>>
>>
>>
>> Ok, tested it :) Runs very well, BUT:
>>
>> When dragging one of the Columns to the left, the column doesn't stay
>> under the mouse pointer. Somehow, the position is counted wrong, and
>> after dragging forth and back a bit, the cursor is here and the column
>> is there...
>>
>> Hope you can reproduce and fix this ;)
>>
>> Regards
>> Rolf
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
More information about the User
mailing list