如何在运行时替换文本框以标记 [英] how to replace the textbox to label at runtime

查看:58
本文介绍了如何在运行时替换文本框以标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

on button click event我想在运行时将文本框替换为标签

on button click event i want to replace the textbox to label at runtime

推荐答案

只需切换可见性并将标签文本设置为文本框和按钮单击事件
Just toggle the visibility and set label text as textbox and button click event


On按钮单击Just Make Label Visible,Button as visible false。
On Button Click Just Make Label Visible and Button as visible False.


这篇关于如何在运行时替换文本框以标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆