Re: A little problem defining a variable

Jean-Luc Arnaud <jean-luc-E/[email protected]>
Newsgroups gmane.comp.lang.realbasic.user
Organization Centre Direct du Multimédia
Message-ID <[email protected]>
> 3.) You don’t get a copy of the emails you send yourself (NOT GOOD).
You should have written : VERY BAD !

Jean-Luc Arnaud

Le 20/06/2017 à 14:43, Jon Ogden a écrit :
>
> 1.) Xojo moved to a new list server software.
>
> 2.) It appears that the digest mode does not exist any longer or maybe 
> needs to be reset.
>
> 3.) You don’t get a copy of the emails you send yourself (NOT GOOD).
>
> 4.) I see your point about unsubscribing - this is NOT good as well.
>
> Xojo really wants to get rid of the mailing lists and get everyone on 
> the forums…
>
>
>> On Jun 20, 2017, at 7:40 AM, Rucker, Michael <mcr-yQF00zQ/[email protected] 
>> <mailto:mcr-yQF00zQ/[email protected]>> wrote:
>>
>> Something is wrong with these emails. I have one here where it looks 
>> like I can unsubscribe myself and the person who the email was sent 
>> to. Also, not sure why they started coming out individually when they 
>> used to be a daily digest.
>>
>> Weird.
>>
>>
>>
>> 	
>>
>> *Michael Rucker*
>> *IT Manager*
>> Secure Care Products, LLC
>> 39 Chenell Drive
>> Concord, NH 03301
>> Phone: 800-451-7917 x 3005
>> Cell: 603-568-4972
>>
>> *_INTERNET E-MAIL CONFIDENTIALITY CLAUSE_*
>> The information contained in this transmission (including any 
>> attached files) is CONFIDENTIAL and is intended only for the 
>> person(s) named above. No WARRANTIES or assurances are made to the 
>> safety and content of this e-mail and any attachments. No LIABILITY 
>> is accepted for any consequences arising from it. If you received 
>> this transmission in error, please delete it from your system and 
>> notify us immediately. If you are not an intended recipient, please 
>> note that any use or dissemination of the information contained in 
>> this transmission (including any attached files) and the copying, 
>> printing, or retransmission of that information is strictly 
>> prohibited. You can notify us by return email, by phone at 
>> 800-451-7917 or by fax at 603-227-0200. Thank you.
>>
>> On Tue, Jun 20, 2017 at 7:51 AM, Jon Ogden <[email protected] 
>> <mailto:[email protected]>> wrote:
>>
>>     I had a situation where I had to do this myself and what I did
>>     was I created a master subclass for my two objects that had all
>>     the “common” items.  I then created two subclasses of that custom
>>     subclass and put what was different in those.
>>
>>     Now you can treat them as a common subclass of type
>>     MySubclassObject for example.  But then in your code you can
>>     check which you are dealing with using IsA. So your property is
>>     of type MySubclassObject but each on is say MySubclassObject1 and
>>     MySubclassObject2.
>>
>>     Then you do:
>>
>>     If MyProperty IsA MySubclassObject1 Then
>>
>>         // Do this
>>
>>     Else
>>
>>        // Do something else
>>
>>     End If
>>
>>     Now you can also use class methods and events to help define the
>>     master property/variable as well.
>>
>>
>>     Hope this helps.
>>
>>     Jon
>>
>>     > On Jun 20, 2017, at 4:44 AM, Jean-Luc Arnaud
>>     <jean-luc-E/[email protected] <mailto:jean-luc-E/[email protected]>> wrote:
>>     >
>>     > Hi all,
>>     >
>>     > I'm facing a little problem when defining a variable.
>>     >
>>     > My project has two ContainerControls, each of them representing
>>     graphically two objects very equivalent but not totally identical.
>>     >
>>     > In my code, I have to define a variable representing only one
>>     of these objects, but I don't know, when defining it, what object.
>>     >
>>     > Here is my problem: How to define a variable I don't know the
>>     type (Object1 or Object2), based on class ContainerControl?
>>     >
>>     > I tried to define it as ContainerControl, but can't assign it
>>     later the type Object1 or Object2.
>>     >
>>     > I tried to define it as Object1, but can't redefine it as
>>     Object2 is needed.
>>     >
>>     > I'm sure the solution is obvious, but can't figure it out.
>>     >
>>     > TIA for your help.
>>     >
>>     > --
>>     > Jean-Luc Arnaud
>>     >
>>     >
>>     >
>>     >
>>     > To unsubscribe click:
>>     <http://email.lists.xojo.com/u/eJwNyzsOwyAMANDThI3I_M3A0KMYG7dUpZGi5P7t2580j-LQzIY5J6pcLYMTq4XAApZkUSvVUF0ejFsElnV_rrmGTNr1NK8WRXVw0MDYY_ddYVQfsXAK5AN4c7b38ZTx_e9FvPOxzNU2__gBkrEkHw
>>     <http://email.lists.xojo.com/u/eJwNyzsOwyAMANDThI3I_M3A0KMYG7dUpZGi5P7t2580j-LQzIY5J6pcLYMTq4XAApZkUSvVUF0ejFsElnV_rrmGTNr1NK8WRXVw0MDYY_ddYVQfsXAK5AN4c7b38ZTx_e9FvPOxzNU2__gBkrEkHw>>
>>     >
>>
>>
>>
>>     To unsubscribe click:
>>     <http://email.lists.xojo.com/u/eJwdyzEOwyAMAMDXhI3KEINh8BBC-g9iiNoBVSLt_xN1Pekq21BNUG-OkCgnn3QKtGnMkHXKSNo_cd5WcBYXmBB6kYd8unpx3UGMmw8h58mUw_qGt1HdJUawQQ3uMu5yNvmNJmW0__zyZJcLVNohMg
>>     <http://email.lists.xojo.com/u/eJwdyzEOwyAMAMDXhI3KEINh8BBC-g9iiNoBVSLt_xN1Pekq21BNUG-OkCgnn3QKtGnMkHXKSNo_cd5WcBYXmBB6kYd8unpx3UGMmw8h58mUw_qGt1HdJUawQQ3uMu5yNvmNJmW0__zyZJcLVNohMg>>
>>
>>
>>
>> unsubscribe 
>> <http://email.lists.xojo.com/u/eJwdyzEOwiAUANDTwGgoVKQDA2Ki0UFxcOhi8IO01oopjdae3oTlbc9JKlwhcCu1UnOx_15T2JpU0_F3mRHbpO40vPk5RaKPa17Vu0lX5nOgnZkaxg0qSW_b5yJkIfa4kf7OvaAAhFkuiKWC-dvSAhMrD9byEg_yEYPzr5whr1Eiqv4xhCvm>
>>
>
>
> unsubscribe 
> <http://email.lists.xojo.com/u/eJwNyzEOwyAMAMDXhI0I24DpwACJ-g9kQKUKrRQl_29vvxoxVAhqRAJIvNFTE2fUFveks0Wng2XOtLtty2axZhZZ5TvVK0pHZPCeHt5j6Ui9BTTAgZ1pAUSd8d3KRx-3_J_UeR_XmK2OsvZTXXHB9APjKCJX>
>




To unsubscribe click: <http://email.lists.xojo.com/u/eJwNzMsNwyAQBcBqwg0Llk_wgUNKWd4CQTKOROz-kylgJFMSm9TIrTo8nUTtizMaIYiWKKQ9QrMW4gLh4Q1k3sc1ZpXBW1vqnQUQ3pHYp7JTsdGxaWQIsToLy2rljmPdelU-Cn8H9Hn3fzW3Pvms22d1deUHvX6R1ytE>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.