Yoko

All sides of Injection
It is currently 2024-04-18 11:29:42

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Delphi
PostPosted: 2004-07-09 22:35:06 
Offline
Junior Expert
User avatar

Joined: 2004-04-12 20:26:41
Posts: 150
Народ, если кто в теме. В проге используется 2 формы, как сделать, что бы данные передавались из одной формы в другую?


Top
   
 Post subject:
PostPosted: 2004-07-20 21:45:07 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
Alt+F11, подключить описание второй формы в первой. после чего Form2.Edit1.Text:='qqq';


Top
   
 Post subject:
PostPosted: 2004-07-21 22:24:51 
Offline
Junior Expert
User avatar

Joined: 2004-04-12 20:26:41
Posts: 150
У меня это получилось так. Во втором юните пишу uses unit1, а в первом после implementations uses unit2


Top
   
 Post subject:
PostPosted: 2004-07-22 15:28:39 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
Да. Потому что если в обеих писать в верхнем юзесе, то будет циклическое включение и компилятор ругается.

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


Top
   
 Post subject:
PostPosted: 2004-07-22 16:20:18 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
Alt+F11 и делает это включение, просто я не помню как оно на делфи называется, я на билдере программлю, там это подключение хеадеров.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited