2018-07-26 20:25 UTC+01:00, Martin Schreiber <[email protected]>:
> On 07/26/2018 07:15 PM, code dz wrote:
>> Hi Martin
>> i tried to create a slider at runtime with this code , but nothing
>> appears
>>
>> procedure tmainfo.onbuttonclick(const sender: TObject);
>> var sd : tslider;
>> begin
>>      sd := tslider.create(tscrollbox1);//<<<---tscollbox1 is the owner not 
>> the
>> parentwidget
>
> "
>  sd:= tslider.create(self,tscrollbox1,true);
>  //or
>  // sd:= tslider.createandinit(self,tscrollbox1,true);
>  //if the effect should be the same as placing a component from
>  //componentpalette in MSEide
> "
>
> Martin
>

aha , thanks

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to