MailTo:添加Html标签(MailTo: Add Html Tag)
是否可以添加html标签 在mailto身体部分?
如果没有,给出一些其他解决方法来实现这一目标?
我需要任何其他协议来打开邮件客户端并填写html标记中的html格式文本。
Is it possible to add html tag like in mailto body part?
If not, Give some other workaround to achieve this?
I need any other protocol to open the mail client and fill the html formatted text in the html tag.
原文:https://stackoverflow.com/questions/14337986
更新时间:2023-07-19 19:07
最满意答案
我想我宁愿删除并添加回来。
parent.remove(dataPanel); parent.validate(); parent.repaint(); parent.add(dataPanel); parent.validate(); parent.repaint();
The issue was because after setting the component back to
visible
it was required toGUIClass.splitPane.setDividerLocation(157);
相关问答
更多-
我想我宁愿删除并添加回来。 parent.remove(dataPanel); parent.validate(); parent.repaint(); parent.add(dataPanel); parent.validate(); parent.repaint(); The issue was because after setting the component back to visible it was required to GUIClass.splitPane.setDividerLoc ...
-
好的,所以你在面板中有一个按钮和一个标签。 当您单击面板的按钮时,您想对同一面板中的标签执行某些操作,对吧? 所以 private void BtnClick(object sender, EventArgs e) { var button = (Button)sender;//you've got the button clicked var panel = button.Parent;//you've got the panel. //var label = panel.Controls.O ...
-
由于无法访问按钮,我猜你的意思是你没有针对它们的Click事件? 你只需要添加它,就像你为Timer做的那样: if (c.GetType() == typeof(Button)) { c2 = new Button(); c2.Click += cloneButtonsClick; } 这会为所有Buttons创建一个常见的Click事件。 因此,如果您需要检查pressed哪个按钮,假设有多个按钮。 您可以通过其Name (如果已设置)或其Text 。 (或者您设置的任何其他属性,例如 ...
-
你应该试试这个: myPanel.Controls.Add(newLabel); 而不是将父设置为?名称? 您应该将标签添加到面板(子控件)。 与将面板添加到窗体this.Controls.Add(myPanel); 它们都来自Control和支持子控件。 You should try this: myPanel.Controls.Add(newLabel); Instead of setting a parent to a ?name?. You should add the label to the ...
-
无法在运行时正确对齐的情况下在面板上实例化对象(Can't instantiate object on panel with proper alignment at runtime)[2021-11-10]
我通过使用getWorldCorners()函数来确定面板的正确位置和宽度/长度来解决此问题。 仍然不确定为什么以前的方法不起作用,但getWorldCorners应该解决这个问题。 I solved this by using the getWorldCorners() function to determine the proper position and width/length of the panel. Still not sure why the previous approach didn' ... -
看看这个 Have a look at this
-
我认为这样做可能会有一些继承问题,因为两次存在的相同控件可能是个问题。 但是,如果你“移动”,你想确保控件在Page_Init()上的相同位置而不是加载。 I think you might have some inherit issues with doing this, as the same control existing twice could be a problem. However, if you are "moving things around", you want to be sure ...
-
对于你的概念(删除或添加JPanel到JFrame )必须调用validate() & repaint()到JFrame 更好的方法是使用CardLayout for your concept (after remove or add JPanel to JFrame) have to call validate() & repaint() to JFrame better could be to use CardLayout
-
我想你正在寻找属性SplitContainer.SplitterDistance 。 从文档 : 从SplitContainer的左边缘或上边缘获取或设置拆分器的位置(以像素为单位)。 I think you're looking for the property SplitContainer.SplitterDistance. From the documentation: Gets or sets the location of the splitter, in pixels, from the lef ...
-
可能您可以使用CSS来显示和隐藏portlet。 为此,您可以在portlet B中找到该类,并从portlet A中设置display none。 希望这有助于PS-:您还可以从portlet的action方法中以编程方式删除和添加portles。 Probably you can use CSS to show and hide the portlets. To do that you can find out the class in the portlet B, and from the portl ...