1250778233 232 14:23:53 -!- LoRez [i=lorez@freenode/staff/lorez] has joined ##delphi 1250778234 232 14:23:54 -!- Irssi: ##delphi: Total of 12 nicks [0 ops, 0 halfops, 0 voices, 12 normal] 1250778243 232 14:24:03 < trx> you add them to type section 1250778243 232 14:24:03 < trx> but you have to create them manualy 1250778244 232 14:24:04 < trx> :) 1250778264 232 14:24:24 < trx> and buttons and stuff on them on runtime.. 1250778300 232 14:25:00 < trx> you can't use delphi's designer to design them 1250778308 232 14:25:08 < trx> there is no .dfm 1250778308 232 14:25:08 < ~AYU_> lol ok 1250778310 232 14:25:10 < trx> :)) 1250778315 232 14:25:15 < trx> but you dont need that.. 1250778316 232 14:25:16 < trx> :) 1250778318 232 14:25:18 < trx> and now 1250778320 232 14:25:20 < ~AYU_> yeah 1250778323 232 14:25:23 < trx> we come to 1250778327 232 14:25:27 < trx> the last section 1250778329 232 14:25:29 -!- Irssi: Join to ##delphi was synced in 119 secs 1250778335 232 14:25:35 < trx> published declarations 1250778351 232 14:25:51 < ~AYU_> i dont even see it in my unit pas 1250778352 232 14:25:52 < ~AYU_> :D 1250778358 232 14:25:58 < trx> thats because 1250778361 232 14:26:01 < trx> you use it 1250778372 232 14:26:12 < trx> when for example you 1250778381 232 14:26:21 < trx> are making a new component 1250778386 232 14:26:26 < trx> then you use it 1250778396 232 14:26:36 < trx> for variables and events 1250778406 232 14:26:46 < trx> wich are shown in designer 1250778416 232 14:26:56 < ~AYU_> ahh 1250778419 232 14:26:59 < trx> in object inspector 1250778421 232 14:27:01 < ~AYU_> new components like buttons ? 1250778424 232 14:27:04 < trx> like captin and stuff 1250778429 232 14:27:09 < trx> Caption* 1250778432 232 14:27:12 < ~AYU_> ah 1250778434 232 14:27:14 < ~AYU_> wow 1250778441 232 14:27:21 < ~AYU_> its too expert for me :D 1250778446 232 14:27:26 < trx> yes :) 1250778450 232 14:27:30 < trx> there 1250778455 232 14:27:35 < ~AYU_> i see good atleast i have an idea about what it is 1250778458 232 14:27:38 < trx> you dont do x : integer; 1250778461 232 14:27:41 < trx> you do : 1250778505 232 14:28:25 < trx> property X : integer read SomeVar write SomeVar default someValue 1250778512 232 14:28:32 < trx> thats just an example.. 1250778532 232 14:28:52 < trx> but you dont need that for now.. 1250778540 232 14:29:00 < ~AYU_> ok 1250778541 232 14:29:01 < ~AYU_> ty 1250778548 232 14:29:08 < trx> you dont need protected either for now :) 1250778550 232 14:29:10 < ~AYU_> may i get your msn adress if you allow ? 1250778553 232 14:29:13 < trx> no problem 1250778559 232 14:29:19 < trx> i dont have msn 1250778569 232 14:29:29 < trx> im here only... 1250778571 232 14:29:31 < ~AYU_> i see 1250778574 232 14:29:34 < ~AYU_> this was 1250778577 232 14:29:37 < ~AYU_> irc.freenode.org ? 1250778596 232 14:29:56 < trx> irc.freenode.net 1250778614 232 14:30:14 < ~AYU_> . /server irc.freenode.net;/join ##delphi 1250778624 232 14:30:24 < ~AYU_> ok :) 1250778631 232 14:30:31 < trx> ;) 1250778640 232 14:30:40 < trx> gtg now 1250778642 232 14:30:42 < ~AYU_> well i won't be at home i am moving etc.. but i will see you later 1250778650 232 14:30:50 < ~AYU_> umm 1250778654 232 14:30:54 < ~AYU_> hang on a second 1250778658 232 14:30:58 < trx> yes? 1250778674 232 14:31:14 < ~AYU_> ok just gathered my mind lol 1250778677 232 14:31:17 < ~AYU_> after learning many things 1250778682 232 14:31:22 < trx> how old are you anyways? 1250778686 232 14:31:26 < ~AYU_> 1 question its small if you have a second 1250778688 232 14:31:28 < ~AYU_> im 19 1250778691 232 14:31:31 < trx> :) 1250778693 232 14:31:33 < trx> me too 1250778697 232 14:31:37 < ~AYU_> will move first my home to another place 1250778704 232 14:31:44 < ~AYU_> then i will go to another city 1250778706 232 14:31:46 < ~AYU_> for university 1250778710 232 14:31:50 < ~AYU_> 2 moves in a row 1250778713 232 14:31:53 < ~AYU_> 1st ) parents 1250778718 232 14:31:58 < ~AYU_> 2nd ) myself 1250778721 232 14:32:01 < ~AYU_> lol 1250778724 232 14:32:04 < trx> :) 1250778732 232 14:32:12 < ~AYU_> hang on a lil line 20 :D 1250778737 232 14:32:17 < trx> oh yes 1250778739 232 14:32:19 < ~AYU_> http://delphi.pastebin.com/m2091f7fb 1250778741 232 14:32:21 < ~AYU_> line 20 1250778744 232 14:32:24 < trx> yes yes 1250778745 232 14:32:25 < trx> well 1250778747 232 14:32:27 < ~AYU_> now this proc 1250778749 232 14:32:29 < trx> its like this 1250778751 232 14:32:31 < ~AYU_> isn't know by 1250778753 232 14:32:33 < ~AYU_> TForm1 1250778760 232 14:32:40 < ~AYU_> isn't known 1250778767 232 14:32:47 < trx> it is known but form1 1250778767 232 14:32:47 < ~AYU_> if this proc at line 20 1250778774 232 14:32:54 < trx> and form1 can use it 1250778784 232 14:33:04 < ~AYU_> umm ok 1250778788 232 14:33:08 < ~AYU_> i have 2 forms 1250778791 232 14:33:11 < ~AYU_> public means 1250778792 232 14:33:12 < trx> but that procedure can not use form1's private members 1250778799 232 14:33:19 < ~AYU_> yeah yeah i meant that 1250778803 232 14:33:23 < trx> yes 1250778804 232 14:33:24 < trx> now 1250778809 232 14:33:29 < ~AYU_> also 1250778812 232 14:33:32 < ~AYU_> 2 forms 1250778817 232 14:33:37 < ~AYU_> and TForm1's public 1250778821 232 14:33:41 < ~AYU_> can be seend by form2 1250778822 232 14:33:42 < ~AYU_> so... 1250778824 232 14:33:44 < ~AYU_> if i gotta use it 1250778826 232 14:33:46 < ~AYU_> what i write ? 1250778834 232 14:33:54 < trx> from form2? 1250778835 232 14:33:55 < ~AYU_> Unit1.TForm1.Variable := 1250778838 232 14:33:58 < ~AYU_> ? 1250778841 232 14:34:01 < ~AYU_> yeah from form2 1250778842 232 14:34:02 < trx> yes 1250778847 232 14:34:07 < ~AYU_> or like 1250778856 232 14:34:16 < ~AYU_> Unit1.TForm1.Form1.Variable :P 1250778859 232 14:34:19 < trx> but you dont use class 1250778872 232 14:34:32 < trx> just Unit1.Form1.Variable := 0; 1250778877 232 14:34:37 < ~AYU_> oh 1250778878 232 14:34:38 < ~AYU_> good 1250778882 232 14:34:42 < trx> you dont use TForm1 1250778883 232 14:34:43 < ~AYU_> learned it too 1250778885 232 14:34:45 < trx> thats a class 1250778887 232 14:34:47 < ~AYU_> i see i see 1250778889 232 14:34:49 < ~AYU_> form1 is object 1250778891 232 14:34:51 < ~AYU_> no 1250778892 232 14:34:52 < ~AYU_> variable 1250778894 232 14:34:54 < trx> yes 1250778895 232 14:34:55 < trx> :) 1250778895 232 14:34:55 < ~AYU_> variable of class 1250778898 232 14:34:58 < ~AYU_> yea 1250778899 232 14:34:59 < ~AYU_> http://delphi.pastebin.com/m2091f7fb 1250778900 232 14:35:00 < ~AYU_> line 20 1250778901 232 14:35:01 < trx> now 1250778902 232 14:35:02 < ~AYU_> if i put this 1250778904 232 14:35:04 < ~AYU_> to the 1250778911 232 14:35:11 < ~AYU_> line 8 1250778917 232 14:35:17 < ~AYU_> then ? 1250778927 232 14:35:27 < trx> its the same 1250778936 232 14:35:36 < ~AYU_> aha i see 1250778939 232 14:35:39 < trx> listen about that line 20 1250778949 232 14:35:49 < ~AYU_> and this proc can't touch at TForm1 private things 1250778958 232 14:35:58 < ~AYU_> can this proc still run edit1 1250778959 232 14:35:59 < ~AYU_> like 1250778963 232 14:36:03 < ~AYU_> edit1.onclick 1250778966 232 14:36:06 < ~AYU_> buton1.onclick 1250778968 232 14:36:08 < trx> yes 1250778976 232 14:36:16 < trx> Form1.Edit1.OnClick; 1250778986 232 14:36:26 < ~AYU_> good 1250778987 232 14:36:27 < ~AYU_> ty 1250778988 232 14:36:28 < ~AYU_> see you :9 1250778991 232 14:36:31 < trx> that procedure because its defined before implementation 1250779002 232 14:36:42 < trx> can be seen from other units also 1250779003 232 14:36:43 < trx> but 1250779010 232 14:36:50 < trx> if u delete line 20 1250779014 232 14:36:54 < trx> that procedure then 1250779020 232 14:37:00 < trx> is only seen in unit1 1250779026 232 14:37:06 < ~AYU_> yeah i know 1250779031 232 14:37:11 < trx> ok then 1250779031 232 14:37:11 < ~AYU_> and if i add at name 1250779034 232 14:37:14 < ~AYU_> Proc SomeProc 1250779036 232 14:37:16 < ~AYU_> if i change it to 1250779041 232 14:37:21 < ~AYU_> Proc TForm1.SomeProc 1250779046 232 14:37:26 < ~AYU_> then it can use private of Tform ? 1250779053 232 14:37:33 < trx> yes 1250779055 232 14:37:35 < trx> but 1250779066 232 14:37:46 < trx> then line 20 1250779071 232 14:37:51 < trx> would have to be 1250779087 232 14:38:07 < trx> inside TForm1 class 1250779088 232 14:38:08 < trx> also 1250779090 232 14:38:10 < trx> ... 1250779105 232 14:38:25 < trx> really gtg now 1250779108 232 14:38:28 < ~AYU_> c ya 1250779109 232 14:38:29 < ~AYU_> ty 1250779113 232 14:38:33 < trx> no problem 1250779113 232 14:38:33 < ~AYU_> very much 1250779116 232 14:38:36 < trx> bye 1250779119 232 14:38:39 < ~AYU_> bye