Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
So we're going to be continuing periodic table example.
It's not what happens.
We can make.
There is the first thing I want to do is replace the string grid with a draw grid.
Now if I press if one on the string grid it will bring help and we'll see that string grid actually
descends from Piedro grid.
Now string grid introduces the cells property which if we look at the on create create event we can
see that basically we are storing the structure of the pivot table in the cells property which is less
than ideal it would be nice to have this in a separate class which would make it far more usable so
that we could have you know the monkey version or a web based version or we might have
a different version which uses a different control altogether.
So basically the first thing going to do is create a new class and we get to do that in the elements.
So let's let's do that.
So let's create a new periodic table class
chicken and
t elements
of public and private sections and selects So we're going to need to create here
and we're going to need to create apps
on the table.
And in the form create
you need to create a periodic table whatever that entails.
And
to create.
So basically we want to store the structure of the table.
So
I make it as an array of
number of columns.
Times the number of rows and we make it of element
and of course we need some way of getting that out.
So we have a
function called element which takes a
a column in a row with integers
into Juda
and returns and the element
to be lazy or doing any range checking.
So that's fairly simple.
Now we also want to load elements and build it from the CSC for
farming strength and when you see the elements from somewhere so
OK so Bankia
and
I just copy and paste all that
OK.
And basically I'm going to copy this for now rather than rather than shifting it
to show that there aren't any directory.
But we need everything else
this becomes
a file name
call the grove
and installed element
and the top number.
So it shouldn't theory be a periodic table constructed.
So we were just doing the same as before except we're getting from a specified filename and we're filling
in a an array.
Now the array is initialized will be NULL to begin with.
When the class is created.
So anything to the complete code will be full array.
OK.
So the next step will be to start using our pivot table rather than the
than having had coded.
This is run and confirm
Privett is just true.
Strike appalling that again and compiles doesn't run.
It runs
OK.
So if we scroll down the easiest thing to replace will be the silica cell which fills when it runs fills
a little what is it called Peenemunde details.
So rather than getting the element from the string grid.
So period table dot elements and
to go plus one because the strict grid is zero based and here table class is the array start at one
Ravinder.
That's the top number to all.
So it is not.
And that line.
So that should be select cell code so let's run that and see if that still works.
Yes it does.
So we're now getting details from the perfect table glass
and next thing we want to update is this string grid draw a cell so what I'm going to do is I'm going
to get rid of simple and Tullock number
have an e.
And I love it.
So elements
like OK.
So now it's going to use the details from E rather than.
So got know
in fact we don't even
at all surfie.
But he will tell.
There
is no
and take that and extend it down to the bottom
so if it isn't all that is to say in the given Zelle there is no element or we're going to be doing
is drawing a white background.
Very exciting.
But if it contains an element we're either going to highlight it or have so many green cell Kellow
and dot number you know simple simple simple.
Okey dokey.
So basically it was pretty much the same as before except when they're now getting stuff from the elements
and making sure it's not nil.
And if we run that it looks exactly the same as pretty impressive.
But anyway now what we can do is we can get rid of all that code
for the directory that needs nothing else.
And if we run this it still works.
And the next thing we want to do is change our strength grid to a T Droguet.
So what I'm going to do is I'm going to personally have 12 or Ashokan and reichlich and go viewas takes
only 12 and I'm going to change our street grid to a draw grid.
OK.
So we need to fix a declaration and
and it looks like symbols not quite wide enough let's make it at what.
OK.
So that's pretty much every working of the periodic table and using the grid and eliminating the cells
properly.
So using the cells property any way any more which allows us to use the strenger sorry the drill grid
and the last thing we might want to do is
rename our last string grid to
a court to agree to a periodic table grid.
And that compiles indeed.
OK.
So that's a little bit tidy.
So let's say all that.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.