19.12.2014 12:29, Martin Schreiber пишет:
> On Friday 19 December 2014 10:57:40 amateur wrote:
>
>> procedure tmainfo.on_ins_widget(const sender: TObject);
>> var
>>      my_btn : tcalendardatetimeedit;
>>      a_pos : pointty;
>> begin
>>     my_btn := tcalendardatetimeedit.create(self);
>
>      a_pos := addpoint(grid.paintpos,grid.cellrect(mgc(2,-1)).pos);
>      insertwidget(my_btn, a_pos);

thanks...

>
> I'll make twidgetcol.setfixrowwidget() public.
>


if I understood correctly this function add widget in row...

sample:
setfixrowwidget(my_widget, a_row);

but if you need column....
possible need a new function?

sample:
set_widget_grid(my_widget, a_row, a_col)....

p.s
maybe i'm wrong...





------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to