In which format? Hex code as string? For example âFFFFFFâ as white? or â000000â as black?
The color code of Kodular. To calculate that, you can do it manually:
Or use Kodular colour unities
the block hex to int, and use Do it
to get the code.
Thanks for information.
But read my question carefully. I have asked⊠how can implement it in template of .Schema block of Dynamic Component Extension?
As I said, get the result. It should be a integer.
Example:
OK⊠Let me try it.
Thanks again.
Maybe you should create a seperate block for last created id
YesâŠdone. As you said I followed same procedure.
Many many thanks for help.
Its already there
No i mean the last created id like seperate id for last created component and a separate ID for last used id
Can you explain more? I didnât understand what you mean
I am having another problem while generating spinner dynamically. It got fired the event âAfter Selectionâ while dynamically creating that.
But while I am creating spinner statically it is not.
Is there any solution?
The extension doesnât execute any event of the components. So the issue is about Spinner component probably, however, you can add an âifâ block to check if the selection is invalid.
I also thinking same way, but what will be the âIfâ condition? so that I can identify between the event fired at initiation and actual event?
Maybe something like this:
This will never work for me⊠because all spinner have text in first element. In natural âafter selectingâ and âinitiationâ event it return first value.
Maybe you can add another first item named âSelect one from listâŠâ to the all spinners.
Yes⊠that might work. But as per my app business logic the first element should be selected at initiation. So, I have to find out different logic.
Anyhow I have to identify that the event is fired at the time of initiation. Then I can ignore that event.
Maybe you can add a variable and set its value to âtrueâ in the SchemaCreated event, and in the AfterSelection you can use the variable if the event is fired before SchemaCreated event.
Yes⊠this may help me⊠Let me try this.
NoâŠnot worked for me. All the Spinner âafter seletionâ event fired after âSchemaCreatedâ event.