[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Class keyword
[Thread Prev] | [Thread Next]
- Subject: Re: Class keyword
- From: Brian G <brian@xxxxxxxxxxxxxxxx>
- Date: Fri, 3 May 2024 16:13:33 -0700
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 5/3/24 04:25, Benoît Minisini wrote:
Maybe we can change it to ' extern class TableView ' this being easier to understand, and read??Le 03/05/2024 à 13:16, Mayost Sharon a écrit :Hello I am trying to learn the source code of GRIDVIEW At the beginning of the GridView.Class file In the third line it says: Class TableView Export Inherits UserControl Class TableView Is it possible to get an explanation of what this line means? According to the documentation TableView is an inheritance of GridView And so I had trouble understanding what it was about Thank you"Class TableView" just tells the compiler that it must not raise an error if it encounters the TableView class name.This is used at line 375 to draw the grid differently if the GridView ia is actually a TableView. It's a bad trick. :-)Regards,
-- ~~~~ Brian
Attachment:
OpenPGP_0x78BFB26402F48419.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
Class keyword | "Mayost Sharon" <sharon@xxxxxxxxx> |
Re: Class keyword | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |