Hello,Guys I hope you are Okay ...I just want to know how to add a property to Screen 1
1 Like
which type of property do you want to add?
- designer property
- block property
1 Like
You will do this in the Form.java file.
appinventor/components/src/com/google/appinventor/components/runtime/Form.java
2 Likes
Designer property
1 Like
@DesignerProperty(editorType = PropertyTypeConstants.PROPERTY_TYPE_BOOLEAN,
defaultValue = "default value")
@SimpleProperty
public void PropertyName(/*Params goes here*/) {
// your code
}
here is the example of the simple designer property if you don't understand anything then please ask.
2 Likes
Thank you My friend
2 Likes
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.