Text =  text .edit  (  Text ,  PosX ,  PosY ,  Width ,  Height  )  
                                               
Description :

This instruction lets the user edit a block of text in the current Alambik screen.

Parameters :

  • Text to edit.
  • X component of the text object's top left pixel position.
  • Y component of the text object's top left pixel position.
  • Width of the block, expressed in pixels.
  • Height of the block, expressed in pixels.

Return Value :

  • New text.

Notes :


Text.edit ("Hello World",0,0,100,100) is the concatenation of the following instructions:

     %ObjectID = Text.create ("Hello World",100,100)
     %ObjectID = Text.edit (%ObjectID,0,0)
     Keyboard.wait (KEY_ESCAPE)
     String = Text.edition.get (%ObjectID)

Examples :