<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<div>Why do not you try them ?  :-)</div>
<p>Il 27.06.2018 21:24 PICCORO McKAY Lenz ha scritto:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">2018-06-27 14:51 GMT-04:00 <span><<a href="mailto:vuott@tiscali.it">vuott@tiscali.it</a>></span>:<br />
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;"><span style="text-decoration: underline;"></span>
<div>  cl = Class.Load("Button")</div>
</blockquote>
<div>umm i assumed that cl it's equal to my already passed object a argument right?</div>
<br />
<div> </div>
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div>
<div>  <br />  For Each s In cl.Symbols<br />    Print s<br />  Next</div>
</div>
</blockquote>
<div>so then one of thos will print "Text" i guess?</div>
<div><br /> </div>
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div>
<div>+ + + + + + + + +</div>
<div>vuott</div>
<p>Il 27.06.2018 19:25 PICCORO McKAY Lenz ha scritto:</p>
<blockquote style="padding-left: 5px; border-left: #1010ff  2px  solid; margin-left: 5px; width: 100%;">
<div dir="ltr">
<div>
<div>in the following code i want to detect independent of the type if the ref obj has a input text field and are empty.. <br /><br /></div>
<span>how can i do that?<br /><br />Public Function required(objinput As Variant) As Variant<br /><br />    If TypeOf(objinput) = gb.String Then<br />        If Comp(objinput, "", gb.IgnoreCase) = 0 Then<br />            Return "is empty"<br />        Endif<br />    Endif<br />    <br />    If TypeOf(objinput) = gb.Class Then<br /></span>        If Comp(objinput.Text, "", gb.IgnoreCase) = 0 Then '             Return "is empty"<br />        Endif<br />    Endif<br />   </div>
<div>    Return "is not empty? could not detect any input text"</div>
<span><span>end<br /></span></span>
<div>
<div>
<div><br /><br clear="all" />
<div>
<div class="m_-210076479477456661gmail_signature"><span style="color: #888888;">Lenz McKAY Gerardo (PICCORO)</span>
<div><span style="color: #888888;"><a href="http://qgqlochekone.blogspot.com">http://qgqlochekone.blogspot.com</a></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br /><br /><br />Con MyOpen hai Giga, SMS e i minuti che vuoi da 3€ al mese, per sempre. Cambi gratis quando e come vuoi e in più hai 10€ di credito omaggio!<br /> SCOPRI DI PIU’ <a href="http://tisca.li/MailHPMobile">http://tisca.li/MailHPMobile</a><br /><br /><br /><br /> ----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net">https://www.hostsharing.net</a> ]----<br /><br /></blockquote>
</div>
</div>
</div>
</blockquote>
</body></html>
<br><br/><br/>Con MyOpen hai Giga, SMS e i minuti che vuoi da 3€ al mese, per sempre. Cambi gratis quando e come vuoi e in più hai 10€ di credito omaggio!<br />
SCOPRI DI PIU’ <a href='http://tisca.li/MailHPMobile' target='_blank'>http://tisca.li/MailHPMobile</a><br/><br/>