Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - tutorial using Pt_ARG_POS and ptcreatewidget: (2 Items)
   
tutorial using Pt_ARG_POS and ptcreatewidget  
excuse me I want to make widget move using pt_arg_pos from 1 point to other point using arg_pos and createwidget.. do 
you know how to make the script?? thanks
Re: tutorial using Pt_ARG_POS and ptcreatewidget  
Hi Afif,
You can create a widget once and then move it with PtSetResource(widget, Pt_ARG_POS, &pos, 0);

E.g.

PhPoint_t pos;	
pos.x = x;
pos.y = y;
PtSetResource(widget, Pt_ARG_POS, &pos, 0);

Best regards,
Fedor