[Gambas-user] how to compare object type?

PICCORO McKAY Lenz mckaygerhard at gmail.com
Thu Jun 28 14:59:31 CEST 2018


the Object.Class(hMyObject) got a warning but seems does not works at "if"
instruction.. i'll try later others based on..

noted that the wiki need more (many more) examples...

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2018-06-27 17:06 GMT-04:00 Jussi Lahtinen <jussi.lahtinen at gmail.com>:

> Object.Class(hMyObject) ?
>
> Or maybe?
>
> If hMyObject Is MyClass Then ...
>
> Not sure what you mean.
>
>
> Jussi
>
> On Wed, Jun 27, 2018 at 5:12 PM, PICCORO McKAY Lenz <
> mckaygerhard at gmail.com> wrote:
>
>> i have a collection with one object! how could i compared and determine
>> the type of if are a class object?
>>
>>
>> Lenz McKAY Gerardo (PICCORO)
>> http://qgqlochekone.blogspot.com
>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>>
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180628/1c63d1af/attachment.html>


More information about the User mailing list