Developer forum

Forum » Development » GUI.Editor

Reply

It's possible to have 2 gui.editor in the same aspx page, with different name?




 




Best regards




 




Nhi A Sy




aparte


Replies

 
Reply

Yes it's possible to have two editors by using two different names for the editors.



Editor 1:


Gui.Editor("TxtA", 0, 150, "My text a", "", Nothing, "", "", Gui.EditorEdition.ForceNew)



Editor 2:

Gui.Editor("TxtB", 0, 0, "My text b", "", Nothing, "", "", Gui.EditorEdition.ForceNew)



Then you can request the editors:

Base.ChkString(Replace(Base.Request("TxtA", False), "'", "''"))

Base.ChkString(Replace(Base.Request("TxtB", False), "'", "''"))


 

 

You must be logged in to post in the forum