[Extension] DynamicComponent extension

extension

#159

Hi, is it possible to add a block to control the checkbox after the creation? For example to generate a CheckBox already checked, or to change the color of the checkbox (when I generate a checkbox, it is black and I can’t change that color)


#160

You can change the color with these blocks:

To my knowledge Checking/Unchecking isn’t currently an option.


#161

Already done, but the checkbox remain black.

Checking / Unchecking would be useful though, maybe the extension could be upgraded?


#162

Hi @Hossein, Great Work!
One question, does it suport slider creation?
Thanks for sharing!


#163

How to Use it with Images? The images that are generated are too small


#164

Again as in the other topic. What are you trying to do.


#165

I am trying to Generate a List of Images From a Database


#166

Very useful. After different trials, I noticed that setting size in call DynamicComponet1.SetSize, refers to font size, which in turn affects the component dimensions. Now, we have the possibility to directly affect dimensions.

If it could be possible, I would like in the future, to modify an image on the component.


#167

maybe you can try DynamicCompanion Extension v2 created by @Ken


#168

My Extension DynamicCompanion doesn’t work with images at this time and I currently don’t have plans to add any features to it.


#169

I have noticed the update. Thank you


#170

Hey @Hossein is there a way to remove all the components I’ve dynamically added in the past without having to loop over them with the RemoveComp block? I’d like something a bit more simple to simply ‘clear all’ if that’s possible. Thanks!


#171

I believe you’ll need to Re-Open the screen, so something like this will work:

I added the Open/Close ScreenAnimation Blocks to minimize the screen opening and closing effects.

Note: If you aren’t loading them on Screen.Initialize you can skip that block.


#172

Hey @Ken thanks for the update there, that was helpful!

Do you have any suggestions on how best to update existing components? My project involves creating components based on user input, and they will need to update from time to time, but if possible I would prefer to update in place rather than remove the component entirely, but I’m not seeing too many ways around this with the given blocks.

Either way - this extension is a much needed part of being able to make sensible apps, and I’m really happy that it exists at all!


#173

What do you mean by “update existing components”?


#174

i have a silly question
the block “set size” accept numeric values like 50, 100 etc

what is this number? and then, if it is an absolute number, can cause problem in different devices?


#175

how to set sizes of images?


#176

Congratulations for this extension. I’m using it in my new application to build interfaces dynamically. I have created some textboxes and I would like to assign texts manually, but not during the creation of the textbox, but I would like to be able to insert a text when an event is activated. A setText property is needed. Is it currently possible to do this?
If this is not possible, could you implement this function? I am willing to make a donation to have this possibility.
Thank you.


#177

This component is one of the most important for AppyBuilder, I find it fundamental.
I hope as soon as possible to write what I’m doing.

I ask to implement a very important function that is the “GetComponent” in order to return the component indicating its id. If I have the component I can use it with the anycomponent method and set some properties that are not now manageable.
What do you think ?


#178

Hello everyone and sorry if I write my question again, but I have not received an answer. Is it possible to insert the getComponent function in this extension? This would be useful to use it with the AnyComponent function that allows me to set up multiple properties currently not present in DinamicComponent.
I imagine that in the getComponent function, I pass a list of IdComponents and gives me a list of components.
I am aware that if in this list I have different components and I use anyComponent for a given type I can have problems, but this is manageable by code.