Yesid Hernandez wrote: > > That worked, but not complete for example the user can move the plot and > selected, the idea is to disable this features and just alow the user to > changed the points for the graph. Any idea to get that working?.
This evening i will check in a change/bug fix that will make the next work. See FillDocument5() in curtuto2.cpp to test it. a2dPlot* plot = new a2dPlot(100, 150); plot->SetDraggable(false); > a2dVertexCurve* curve = new a2dVertexCurve(); > curve->SetEditMode(4); > I tried this in e.g. in FillDocument5() in curtuto2.cpp, and it works fine. curve1->SetEditMode( a2dCurve::a2dCURVES_EDIT_FIXED_Y ); > And then set the points and all that, but it didn't work. Please try it first with an existing sample. Regards, Klaas -- Unclassified ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev