I can not remove visual components programmatically. (Development for android) program radstudio c ++ builder;

delete Button1; Button1->Free(); 

It works only if compiled under win32, it does not delete under the android platform.

  • I do not really know what you mean, but refer to the pointer after its removal? !! This is pure UB ... - Harry
  • These are the options that I tried. I did not write them together - Max

0