Maybe it is impossible but now i have a functional chat simulation screen that sends text to a box (not needing internet connection beacuse is to simulate that user is writing to somebody) like if somebody is talking alone in a chat, but it is very simple and i would like to know how to put the text inside the classical speech buuble like in every chat app. I know may be imposible, but thankss :))
Well, basically what he is doing in that example is to build (dynamically) a balloon for each message. He starts by a VerticalArrangement (red one) and then he is creating inside the other components (VAs, HAs, labels...).
This components have the same properties than the normal ones but you have to Create them (with Create block) indicating where must be created, the type of the element and an identifier. And then you can set their properties with the SetProperty block (Width, height, align..).
A good trick to understand each part can be to color each component (SetProperty BackgroundColor) and also play removing and adding the different components.
So you can see something like this...and distinguish each part:
Hi! iv been trying to make it work but still i cant, which is the block order to make it appear and wich block is the one to set every element position? thankss
"in" indicates where are you creating this component...in this case inside other component (a VA called vsaMessageDisplay).
"componentName" is the component you are creating. In this case you are creating a VerticalArrangement
"id" in the unique identifier of the component.
Once it is created, you can see in the example how it sets the different properties it needs..Height, Width and AlignHorizontal.
"in" indicates where it will be created. In this case it will be created inside the before one (it is using a block to call the component with the id used in the before component)
"componentName" is a label in this case
"id" is topSpacer+id used in the before one (this is a trick to a good implementation and understanding...the first component is for example "1" and the child components are "topSpacer1", "innerVA1"...)
Then it sets the Properties...and so on with the rest of components...maybe you don't need all of them...but this is a good example to understand how it works and to adapt it to your needs.