<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,
</p>
<p>I have tested WebForms application and i know now that the static method WebControl.FromName() returns a child control object.
</p>
<p>Warning: the name of the object is not the classname!
</p>
<p>I used this function to get the reference of an embedded form :
</p>
<p>The code is here: <a class="moz-txt-link-freetext" href="https://gambas.one/gambasfarm/?id=663&action=search">https://gambas.one/gambasfarm/?id=663&action=search</a></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The classname is WebformSessionMgmt for example but, when i create this object, the name of the object when the program runs is "@2" on my computer. Later, i can find my object using WebContainer.FromName("@2"). </p>
<p><style type="text/css">
p, li { white-space: pre-wrap; }
</style></p>
<p>Hope it helps
</p>
<p>David
</p>
<p>
</p>
<div class="moz-cite-prefix">Le 19.11.19 à 19:36, Hans Lehmann a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:1fb4019a-352c-f96f-f262-c74ba45c436c@gambas-buch.de">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<font face="DejaVu Sans Mono">Hello,<br>
<br>
the component gb.web.form is unfortunately only very poorly
documented. Some properties, methods and events explain
themselves - but only the known ones. If it becomes special,
then one stands completely in the dark!<br>
<br>
To get ahead with our online book, I need help and support for
the following properties, methods and events, which are
available in many classes: <br>
<br>
(1) Events: Dialog and Render<br>
(2) Properties: FromID, FromName, Style, and Class<br>
<br>
The classes WebMenu, WebMenuBar and WebMenuItem are in total
darkness! The same applies to WebUploadArea and WebUploader.<br>
<br>
If someone can help, then I ask beside a short description also
for a small source code section, which shows, what is meant.<br>
<br>
Each answer is read gladly.<br>
<br>
With kind regards<br>
<br>
Hans</font> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">
----[ Gambas mailing-list is hosted by <a class="moz-txt-link-freetext" href="https://www.hostsharing.net">https://www.hostsharing.net</a> ]----
</pre>
</blockquote>
</body>
</html>